0s autopkgtest [15:31:15]: starting date and time: 2024-03-23 15:31:15+0000 0s autopkgtest [15:31:15]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [15:31:15]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.vomunto8/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 --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos02-s390x-5.secgroup --name adt-noble-s390x-glib2.0-20240323-153115-juju-7f2275-prod-proposed-migration-environment-3 --image adt/ubuntu-noble-s390x-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/ 134s autopkgtest [15:33:29]: testbed dpkg architecture: s390x 135s autopkgtest [15:33:30]: testbed apt version: 2.7.12 135s autopkgtest [15:33:30]: @@@@@@@@@@@@@@@@@@@@ test bed setup 135s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 136s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [493 kB] 136s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [56.9 kB] 136s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3969 kB] 136s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 136s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [652 kB] 136s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x c-n-f Metadata [3032 B] 136s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x Packages [1372 B] 136s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x c-n-f Metadata [116 B] 136s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [4143 kB] 137s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x c-n-f Metadata [7292 B] 137s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x Packages [46.8 kB] 137s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x c-n-f Metadata [116 B] 139s Fetched 9495 kB in 2s (3902 kB/s) 139s Reading package lists... 140s Reading package lists... 141s Building dependency tree... 141s Reading state information... 141s Calculating upgrade... 141s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 141s Reading package lists... 141s Building dependency tree... 141s Reading state information... 141s 0 upgraded, 0 newly installed, 0 to remove and 240 not upgraded. 142s Unknown architecture, assuming PC-style ttyS0 142s sh: Attempting to set up Debian/Ubuntu apt sources automatically 142s sh: Distribution appears to be Ubuntu 143s Reading package lists... 143s Building dependency tree... 143s Reading state information... 143s eatmydata is already the newest version (131-1). 143s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 143s Reading package lists... 143s Building dependency tree... 143s Reading state information... 143s dbus is already the newest version (1.14.10-4ubuntu1). 143s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 143s Reading package lists... 144s Building dependency tree... 144s Reading state information... 144s rng-tools-debian is already the newest version (2.4). 144s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 144s Reading package lists... 144s Building dependency tree... 144s Reading state information... 144s The following packages will be REMOVED: 144s cloud-init* python3-configobj* python3-debconf* 144s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 144s After this operation, 3256 kB disk space will be freed. 144s (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 ... 52170 files and directories currently installed.) 144s Removing cloud-init (24.1.2-0ubuntu1) ... 145s Removing python3-configobj (5.0.8-3) ... 145s Removing python3-debconf (1.5.86) ... 145s Processing triggers for man-db (2.12.0-3) ... 145s (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 ... 51781 files and directories currently installed.) 145s Purging configuration files for cloud-init (24.1.2-0ubuntu1) ... 146s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 146s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 146s invoke-rc.d: policy-rc.d denied execution of try-restart. 146s Reading package lists... 146s Building dependency tree... 146s Reading state information... 147s linux-generic is already the newest version (6.8.0-11.11+1). 147s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 147s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 147s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 147s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 149s Reading package lists... 149s Reading package lists... 149s Building dependency tree... 149s Reading state information... 149s Calculating upgrade... 149s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 149s Reading package lists... 150s Building dependency tree... 150s Reading state information... 150s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 150s autopkgtest [15:33:45]: rebooting testbed after setup commands that affected boot 165s autopkgtest [15:34:00]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Tue Feb 13 23:45:46 UTC 2024 167s autopkgtest [15:34:02]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 176s Get:1 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (dsc) [4332 B] 176s Get:2 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [263 kB] 176s Get:3 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [5488 kB] 176s Get:4 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (diff) [126 kB] 176s gpgv: Signature made Mon Feb 26 20:17:53 2024 UTC 176s gpgv: using RSA key 92FE4F8B40CADC4ECCD60C1F5961FDBE9C619809 176s gpgv: Can't check signature: No public key 176s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.79.2-1~ubuntu1.dsc: no acceptable signature found 177s autopkgtest [15:34:12]: testing package glib2.0 version 2.79.2-1~ubuntu1 178s autopkgtest [15:34:13]: build not needed 183s autopkgtest [15:34:18]: test build: preparing testbed 186s Reading package lists... 187s Building dependency tree... 187s Reading state information... 187s Starting pkgProblemResolver with broken count: 0 187s Starting 2 pkgProblemResolver with broken count: 0 187s Done 187s The following additional packages will be installed: 187s build-essential cpp cpp-13 cpp-13-s390x-linux-gnu cpp-s390x-linux-gnu g++ 187s g++-13 g++-13-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-13 187s gcc-13-s390x-linux-gnu gcc-s390x-linux-gnu libasan8 libatomic1 libblkid-dev 187s libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libffi-dev libgcc-13-dev 187s libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin 187s libgomp1 libisl23 libitm1 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 187s libpcre2-dev libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev 187s libstdc++-13-dev libubsan1 linux-libc-dev pkgconf pkgconf-bin 187s python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 187s Suggested packages: 187s cpp-doc gcc-13-locales cpp-13-doc g++-multilib g++-13-multilib gcc-13-doc 187s gcc-multilib manpages-dev autoconf automake libtool flex bison gdb gcc-doc 187s gcc-13-multilib gdb-s390x-linux-gnu glibc-doc libgirepository1.0-dev 187s libglib2.0-doc libgdk-pixbuf2.0-bin libxml2-utils libstdc++-13-doc 187s Recommended packages: 187s manpages manpages-dev libc-devtools 187s The following NEW packages will be installed: 187s autopkgtest-satdep build-essential cpp cpp-13 cpp-13-s390x-linux-gnu 187s cpp-s390x-linux-gnu g++ g++-13 g++-13-s390x-linux-gnu g++-s390x-linux-gnu 187s gcc gcc-13 gcc-13-s390x-linux-gnu gcc-s390x-linux-gnu libasan8 libatomic1 187s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libffi-dev 187s libgcc-13-dev libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 187s libglib2.0-dev-bin libgomp1 libisl23 libitm1 libmount-dev libmpc3 187s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 187s libselinux1-dev libsepol-dev libstdc++-13-dev libubsan1 linux-libc-dev 187s pkgconf pkgconf-bin python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 187s 0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded. 187s Need to get 58.3 MB/58.3 MB of archives. 187s After this operation, 201 MB of additional disk space will be used. 187s Get:1 /tmp/autopkgtest.eF7yjn/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [720 B] 187s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x libc-dev-bin s390x 2.39-0ubuntu6 [20.2 kB] 187s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x linux-libc-dev s390x 6.8.0-11.11 [1590 kB] 188s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x libcrypt-dev s390x 1:4.4.36-4 [135 kB] 188s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x rpcsvc-proto s390x 1.4.2-0ubuntu6 [64.7 kB] 188s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x libc6-dev s390x 2.39-0ubuntu6 [1629 kB] 188s Get:7 http://ftpmaster.internal/ubuntu noble/main s390x libisl23 s390x 0.26-3 [722 kB] 188s Get:8 http://ftpmaster.internal/ubuntu noble/main s390x libmpc3 s390x 1.3.1-1 [54.9 kB] 188s Get:9 http://ftpmaster.internal/ubuntu noble/main s390x cpp-13-s390x-linux-gnu s390x 13.2.0-17ubuntu2 [9929 kB] 188s Get:10 http://ftpmaster.internal/ubuntu noble/main s390x cpp-13 s390x 13.2.0-17ubuntu2 [1026 B] 188s Get:11 http://ftpmaster.internal/ubuntu noble/main s390x cpp-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [5308 B] 188s Get:12 http://ftpmaster.internal/ubuntu noble/main s390x cpp s390x 4:13.2.0-7ubuntu1 [22.4 kB] 188s Get:13 http://ftpmaster.internal/ubuntu noble/main s390x libcc1-0 s390x 14-20240303-1ubuntu1 [49.9 kB] 188s Get:14 http://ftpmaster.internal/ubuntu noble/main s390x libgomp1 s390x 14-20240303-1ubuntu1 [151 kB] 189s Get:15 http://ftpmaster.internal/ubuntu noble/main s390x libitm1 s390x 14-20240303-1ubuntu1 [31.1 kB] 189s Get:16 http://ftpmaster.internal/ubuntu noble/main s390x libatomic1 s390x 14-20240303-1ubuntu1 [9392 B] 189s Get:17 http://ftpmaster.internal/ubuntu noble/main s390x libasan8 s390x 14-20240303-1ubuntu1 [2998 kB] 189s Get:18 http://ftpmaster.internal/ubuntu noble/main s390x libubsan1 s390x 14-20240303-1ubuntu1 [1186 kB] 189s Get:19 http://ftpmaster.internal/ubuntu noble/main s390x libgcc-13-dev s390x 13.2.0-17ubuntu2 [1003 kB] 189s Get:20 http://ftpmaster.internal/ubuntu noble/main s390x gcc-13-s390x-linux-gnu s390x 13.2.0-17ubuntu2 [19.1 MB] 189s Get:21 http://ftpmaster.internal/ubuntu noble/main s390x gcc-13 s390x 13.2.0-17ubuntu2 [467 kB] 189s Get:22 http://ftpmaster.internal/ubuntu noble/main s390x gcc-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [1208 B] 189s Get:23 http://ftpmaster.internal/ubuntu noble/main s390x gcc s390x 4:13.2.0-7ubuntu1 [5014 B] 189s Get:24 http://ftpmaster.internal/ubuntu noble/main s390x libstdc++-13-dev s390x 13.2.0-17ubuntu2 [2430 kB] 189s Get:25 http://ftpmaster.internal/ubuntu noble/main s390x g++-13-s390x-linux-gnu s390x 13.2.0-17ubuntu2 [11.3 MB] 190s Get:26 http://ftpmaster.internal/ubuntu noble/main s390x g++-13 s390x 13.2.0-17ubuntu2 [14.4 kB] 190s Get:27 http://ftpmaster.internal/ubuntu noble/main s390x g++-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [956 B] 190s Get:28 http://ftpmaster.internal/ubuntu noble/main s390x g++ s390x 4:13.2.0-7ubuntu1 [1096 B] 190s Get:29 http://ftpmaster.internal/ubuntu noble/main s390x build-essential s390x 12.10ubuntu1 [4930 B] 190s Get:30 http://ftpmaster.internal/ubuntu noble/main s390x libgirepository-2.0-0 s390x 2.79.2-1~ubuntu1 [75.5 kB] 190s Get:31 http://ftpmaster.internal/ubuntu noble/main s390x libglib2.0-bin s390x 2.79.2-1~ubuntu1 [101 kB] 190s Get:32 http://ftpmaster.internal/ubuntu noble/main s390x libffi-dev s390x 3.4.6-1 [58.8 kB] 190s Get:33 http://ftpmaster.internal/ubuntu noble/main s390x python3-packaging all 23.2-1 [40.6 kB] 190s Get:34 http://ftpmaster.internal/ubuntu noble/main s390x libglib2.0-dev-bin s390x 2.79.2-1~ubuntu1 [221 kB] 190s Get:35 http://ftpmaster.internal/ubuntu noble/main s390x uuid-dev s390x 2.39.3-6ubuntu2 [34.2 kB] 190s Get:36 http://ftpmaster.internal/ubuntu noble/main s390x libblkid-dev s390x 2.39.3-6ubuntu2 [213 kB] 190s Get:37 http://ftpmaster.internal/ubuntu noble/main s390x libsepol-dev s390x 3.5-2 [395 kB] 190s Get:38 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-16-0 s390x 10.42-4ubuntu1 [229 kB] 190s Get:39 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-32-0 s390x 10.42-4ubuntu1 [217 kB] 190s Get:40 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-posix3 s390x 10.42-4ubuntu1 [6704 B] 190s Get:41 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-dev s390x 10.42-4ubuntu1 [805 kB] 190s Get:42 http://ftpmaster.internal/ubuntu noble/main s390x libselinux1-dev s390x 3.5-2build1 [168 kB] 190s Get:43 http://ftpmaster.internal/ubuntu noble/main s390x libmount-dev s390x 2.39.3-6ubuntu2 [14.9 kB] 190s Get:44 http://ftpmaster.internal/ubuntu noble/main s390x libpkgconf3 s390x 1.8.1-2 [30.4 kB] 190s Get:45 http://ftpmaster.internal/ubuntu noble/main s390x pkgconf-bin s390x 1.8.1-2 [20.8 kB] 190s Get:46 http://ftpmaster.internal/ubuntu noble/main s390x pkgconf s390x 1.8.1-2 [16.7 kB] 190s Get:47 http://ftpmaster.internal/ubuntu noble/main s390x zlib1g-dev s390x 1:1.3.dfsg-3ubuntu1 [905 kB] 190s Get:48 http://ftpmaster.internal/ubuntu noble/main s390x libglib2.0-dev s390x 2.79.2-1~ubuntu1 [1820 kB] 190s Fetched 58.3 MB in 3s (21.4 MB/s) 190s Selecting previously unselected package libc-dev-bin. 190s (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 ... 51726 files and directories currently installed.) 190s Preparing to unpack .../00-libc-dev-bin_2.39-0ubuntu6_s390x.deb ... 190s Unpacking libc-dev-bin (2.39-0ubuntu6) ... 190s Selecting previously unselected package linux-libc-dev:s390x. 190s Preparing to unpack .../01-linux-libc-dev_6.8.0-11.11_s390x.deb ... 190s Unpacking linux-libc-dev:s390x (6.8.0-11.11) ... 190s Selecting previously unselected package libcrypt-dev:s390x. 190s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-4_s390x.deb ... 190s Unpacking libcrypt-dev:s390x (1:4.4.36-4) ... 190s Selecting previously unselected package rpcsvc-proto. 190s Preparing to unpack .../03-rpcsvc-proto_1.4.2-0ubuntu6_s390x.deb ... 190s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 191s Selecting previously unselected package libc6-dev:s390x. 191s Preparing to unpack .../04-libc6-dev_2.39-0ubuntu6_s390x.deb ... 191s Unpacking libc6-dev:s390x (2.39-0ubuntu6) ... 191s Selecting previously unselected package libisl23:s390x. 191s Preparing to unpack .../05-libisl23_0.26-3_s390x.deb ... 191s Unpacking libisl23:s390x (0.26-3) ... 191s Selecting previously unselected package libmpc3:s390x. 191s Preparing to unpack .../06-libmpc3_1.3.1-1_s390x.deb ... 191s Unpacking libmpc3:s390x (1.3.1-1) ... 191s Selecting previously unselected package cpp-13-s390x-linux-gnu. 191s Preparing to unpack .../07-cpp-13-s390x-linux-gnu_13.2.0-17ubuntu2_s390x.deb ... 191s Unpacking cpp-13-s390x-linux-gnu (13.2.0-17ubuntu2) ... 191s Selecting previously unselected package cpp-13. 191s Preparing to unpack .../08-cpp-13_13.2.0-17ubuntu2_s390x.deb ... 191s Unpacking cpp-13 (13.2.0-17ubuntu2) ... 191s Selecting previously unselected package cpp-s390x-linux-gnu. 191s Preparing to unpack .../09-cpp-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 191s Unpacking cpp-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 191s Selecting previously unselected package cpp. 191s Preparing to unpack .../10-cpp_4%3a13.2.0-7ubuntu1_s390x.deb ... 192s Unpacking cpp (4:13.2.0-7ubuntu1) ... 192s Selecting previously unselected package libcc1-0:s390x. 192s Preparing to unpack .../11-libcc1-0_14-20240303-1ubuntu1_s390x.deb ... 192s Unpacking libcc1-0:s390x (14-20240303-1ubuntu1) ... 192s Selecting previously unselected package libgomp1:s390x. 192s Preparing to unpack .../12-libgomp1_14-20240303-1ubuntu1_s390x.deb ... 192s Unpacking libgomp1:s390x (14-20240303-1ubuntu1) ... 192s Selecting previously unselected package libitm1:s390x. 192s Preparing to unpack .../13-libitm1_14-20240303-1ubuntu1_s390x.deb ... 192s Unpacking libitm1:s390x (14-20240303-1ubuntu1) ... 192s Selecting previously unselected package libatomic1:s390x. 192s Preparing to unpack .../14-libatomic1_14-20240303-1ubuntu1_s390x.deb ... 192s Unpacking libatomic1:s390x (14-20240303-1ubuntu1) ... 192s Selecting previously unselected package libasan8:s390x. 192s Preparing to unpack .../15-libasan8_14-20240303-1ubuntu1_s390x.deb ... 192s Unpacking libasan8:s390x (14-20240303-1ubuntu1) ... 192s Selecting previously unselected package libubsan1:s390x. 192s Preparing to unpack .../16-libubsan1_14-20240303-1ubuntu1_s390x.deb ... 192s Unpacking libubsan1:s390x (14-20240303-1ubuntu1) ... 192s Selecting previously unselected package libgcc-13-dev:s390x. 192s Preparing to unpack .../17-libgcc-13-dev_13.2.0-17ubuntu2_s390x.deb ... 192s Unpacking libgcc-13-dev:s390x (13.2.0-17ubuntu2) ... 192s Selecting previously unselected package gcc-13-s390x-linux-gnu. 192s Preparing to unpack .../18-gcc-13-s390x-linux-gnu_13.2.0-17ubuntu2_s390x.deb ... 192s Unpacking gcc-13-s390x-linux-gnu (13.2.0-17ubuntu2) ... 192s Selecting previously unselected package gcc-13. 192s Preparing to unpack .../19-gcc-13_13.2.0-17ubuntu2_s390x.deb ... 192s Unpacking gcc-13 (13.2.0-17ubuntu2) ... 192s Selecting previously unselected package gcc-s390x-linux-gnu. 192s Preparing to unpack .../20-gcc-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 192s Unpacking gcc-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 192s Selecting previously unselected package gcc. 192s Preparing to unpack .../21-gcc_4%3a13.2.0-7ubuntu1_s390x.deb ... 192s Unpacking gcc (4:13.2.0-7ubuntu1) ... 192s Selecting previously unselected package libstdc++-13-dev:s390x. 192s Preparing to unpack .../22-libstdc++-13-dev_13.2.0-17ubuntu2_s390x.deb ... 192s Unpacking libstdc++-13-dev:s390x (13.2.0-17ubuntu2) ... 192s Selecting previously unselected package g++-13-s390x-linux-gnu. 192s Preparing to unpack .../23-g++-13-s390x-linux-gnu_13.2.0-17ubuntu2_s390x.deb ... 192s Unpacking g++-13-s390x-linux-gnu (13.2.0-17ubuntu2) ... 193s Selecting previously unselected package g++-13. 193s Preparing to unpack .../24-g++-13_13.2.0-17ubuntu2_s390x.deb ... 193s Unpacking g++-13 (13.2.0-17ubuntu2) ... 193s Selecting previously unselected package g++-s390x-linux-gnu. 193s Preparing to unpack .../25-g++-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 193s Unpacking g++-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 193s Selecting previously unselected package g++. 193s Preparing to unpack .../26-g++_4%3a13.2.0-7ubuntu1_s390x.deb ... 193s Unpacking g++ (4:13.2.0-7ubuntu1) ... 193s Selecting previously unselected package build-essential. 193s Preparing to unpack .../27-build-essential_12.10ubuntu1_s390x.deb ... 193s Unpacking build-essential (12.10ubuntu1) ... 193s Selecting previously unselected package libgirepository-2.0-0:s390x. 193s Preparing to unpack .../28-libgirepository-2.0-0_2.79.2-1~ubuntu1_s390x.deb ... 193s Unpacking libgirepository-2.0-0:s390x (2.79.2-1~ubuntu1) ... 193s Selecting previously unselected package libglib2.0-bin. 193s Preparing to unpack .../29-libglib2.0-bin_2.79.2-1~ubuntu1_s390x.deb ... 193s Unpacking libglib2.0-bin (2.79.2-1~ubuntu1) ... 193s Selecting previously unselected package libffi-dev:s390x. 193s Preparing to unpack .../30-libffi-dev_3.4.6-1_s390x.deb ... 193s Unpacking libffi-dev:s390x (3.4.6-1) ... 193s Selecting previously unselected package python3-packaging. 193s Preparing to unpack .../31-python3-packaging_23.2-1_all.deb ... 193s Unpacking python3-packaging (23.2-1) ... 193s Selecting previously unselected package libglib2.0-dev-bin. 193s Preparing to unpack .../32-libglib2.0-dev-bin_2.79.2-1~ubuntu1_s390x.deb ... 193s Unpacking libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 193s Selecting previously unselected package uuid-dev:s390x. 193s Preparing to unpack .../33-uuid-dev_2.39.3-6ubuntu2_s390x.deb ... 193s Unpacking uuid-dev:s390x (2.39.3-6ubuntu2) ... 193s Selecting previously unselected package libblkid-dev:s390x. 193s Preparing to unpack .../34-libblkid-dev_2.39.3-6ubuntu2_s390x.deb ... 193s Unpacking libblkid-dev:s390x (2.39.3-6ubuntu2) ... 193s Selecting previously unselected package libsepol-dev:s390x. 193s Preparing to unpack .../35-libsepol-dev_3.5-2_s390x.deb ... 193s Unpacking libsepol-dev:s390x (3.5-2) ... 193s Selecting previously unselected package libpcre2-16-0:s390x. 193s Preparing to unpack .../36-libpcre2-16-0_10.42-4ubuntu1_s390x.deb ... 193s Unpacking libpcre2-16-0:s390x (10.42-4ubuntu1) ... 193s Selecting previously unselected package libpcre2-32-0:s390x. 193s Preparing to unpack .../37-libpcre2-32-0_10.42-4ubuntu1_s390x.deb ... 193s Unpacking libpcre2-32-0:s390x (10.42-4ubuntu1) ... 193s Selecting previously unselected package libpcre2-posix3:s390x. 193s Preparing to unpack .../38-libpcre2-posix3_10.42-4ubuntu1_s390x.deb ... 193s Unpacking libpcre2-posix3:s390x (10.42-4ubuntu1) ... 193s Selecting previously unselected package libpcre2-dev:s390x. 193s Preparing to unpack .../39-libpcre2-dev_10.42-4ubuntu1_s390x.deb ... 193s Unpacking libpcre2-dev:s390x (10.42-4ubuntu1) ... 193s Selecting previously unselected package libselinux1-dev:s390x. 193s Preparing to unpack .../40-libselinux1-dev_3.5-2build1_s390x.deb ... 193s Unpacking libselinux1-dev:s390x (3.5-2build1) ... 193s Selecting previously unselected package libmount-dev:s390x. 193s Preparing to unpack .../41-libmount-dev_2.39.3-6ubuntu2_s390x.deb ... 193s Unpacking libmount-dev:s390x (2.39.3-6ubuntu2) ... 193s Selecting previously unselected package libpkgconf3:s390x. 193s Preparing to unpack .../42-libpkgconf3_1.8.1-2_s390x.deb ... 193s Unpacking libpkgconf3:s390x (1.8.1-2) ... 193s Selecting previously unselected package pkgconf-bin. 193s Preparing to unpack .../43-pkgconf-bin_1.8.1-2_s390x.deb ... 193s Unpacking pkgconf-bin (1.8.1-2) ... 193s Selecting previously unselected package pkgconf:s390x. 193s Preparing to unpack .../44-pkgconf_1.8.1-2_s390x.deb ... 193s Unpacking pkgconf:s390x (1.8.1-2) ... 193s Selecting previously unselected package zlib1g-dev:s390x. 193s Preparing to unpack .../45-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_s390x.deb ... 193s Unpacking zlib1g-dev:s390x (1:1.3.dfsg-3ubuntu1) ... 193s Selecting previously unselected package libglib2.0-dev:s390x. 193s Preparing to unpack .../46-libglib2.0-dev_2.79.2-1~ubuntu1_s390x.deb ... 193s Unpacking libglib2.0-dev:s390x (2.79.2-1~ubuntu1) ... 193s Selecting previously unselected package autopkgtest-satdep. 193s Preparing to unpack .../47-1-autopkgtest-satdep.deb ... 193s Unpacking autopkgtest-satdep (0) ... 193s Setting up libgirepository-2.0-0:s390x (2.79.2-1~ubuntu1) ... 193s Setting up linux-libc-dev:s390x (6.8.0-11.11) ... 193s Setting up libglib2.0-bin (2.79.2-1~ubuntu1) ... 193s Setting up libgomp1:s390x (14-20240303-1ubuntu1) ... 193s Setting up libffi-dev:s390x (3.4.6-1) ... 193s Setting up libpcre2-16-0:s390x (10.42-4ubuntu1) ... 193s Setting up libpcre2-32-0:s390x (10.42-4ubuntu1) ... 193s Setting up python3-packaging (23.2-1) ... 193s Setting up libpkgconf3:s390x (1.8.1-2) ... 193s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 193s Setting up libmpc3:s390x (1.3.1-1) ... 193s Setting up libatomic1:s390x (14-20240303-1ubuntu1) ... 193s Setting up libsepol-dev:s390x (3.5-2) ... 193s Setting up pkgconf-bin (1.8.1-2) ... 193s Setting up libubsan1:s390x (14-20240303-1ubuntu1) ... 193s Setting up libpcre2-posix3:s390x (10.42-4ubuntu1) ... 193s Setting up libcrypt-dev:s390x (1:4.4.36-4) ... 193s Setting up libasan8:s390x (14-20240303-1ubuntu1) ... 193s Setting up libisl23:s390x (0.26-3) ... 193s Setting up libc-dev-bin (2.39-0ubuntu6) ... 193s Setting up libcc1-0:s390x (14-20240303-1ubuntu1) ... 193s Setting up libitm1:s390x (14-20240303-1ubuntu1) ... 193s Setting up libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 193s Setting up pkgconf:s390x (1.8.1-2) ... 193s Setting up cpp-13-s390x-linux-gnu (13.2.0-17ubuntu2) ... 193s Setting up libgcc-13-dev:s390x (13.2.0-17ubuntu2) ... 193s Setting up libc6-dev:s390x (2.39-0ubuntu6) ... 193s Setting up libstdc++-13-dev:s390x (13.2.0-17ubuntu2) ... 193s Setting up libpcre2-dev:s390x (10.42-4ubuntu1) ... 193s Setting up cpp-13 (13.2.0-17ubuntu2) ... 193s Setting up cpp-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 193s Setting up libselinux1-dev:s390x (3.5-2build1) ... 193s Setting up gcc-13-s390x-linux-gnu (13.2.0-17ubuntu2) ... 193s Setting up gcc-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 193s Setting up uuid-dev:s390x (2.39.3-6ubuntu2) ... 193s Setting up g++-13-s390x-linux-gnu (13.2.0-17ubuntu2) ... 193s Setting up gcc-13 (13.2.0-17ubuntu2) ... 193s Setting up zlib1g-dev:s390x (1:1.3.dfsg-3ubuntu1) ... 193s Setting up cpp (4:13.2.0-7ubuntu1) ... 193s Setting up libblkid-dev:s390x (2.39.3-6ubuntu2) ... 193s Setting up g++-13 (13.2.0-17ubuntu2) ... 193s Setting up g++-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 193s Setting up gcc (4:13.2.0-7ubuntu1) ... 193s Setting up g++ (4:13.2.0-7ubuntu1) ... 193s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 193s Setting up build-essential (12.10ubuntu1) ... 193s Setting up libmount-dev:s390x (2.39.3-6ubuntu2) ... 193s Setting up libglib2.0-dev:s390x (2.79.2-1~ubuntu1) ... 193s Processing triggers for libc-bin (2.39-0ubuntu6) ... 193s Processing triggers for man-db (2.12.0-3) ... 194s Processing triggers for install-info (7.1-3) ... 194s Processing triggers for libglib2.0-0:s390x (2.79.2-1~ubuntu1) ... 194s No schema files found: doing nothing. 194s Setting up autopkgtest-satdep (0) ... 196s (Reading database ... 55409 files and directories currently installed.) 196s Removing autopkgtest-satdep (0) ... 196s autopkgtest [15:34:31]: test build: [----------------------- 197s + mode=dynamic 197s + getopt -o --long static -n debian/tests/build -- 197s + getopt_temp= -- 197s + eval set -- -- 197s + set -- -- 197s + true 197s + shift 197s + break 197s + mktemp -d 197s + WORKDIR=/tmp/tmp.WB2dIi9frU 197s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 197s + cd /tmp/tmp.WB2dIi9frU 197s + [ -n ] 197s + CROSS_COMPILE= 197s + cat 197s + cat 197s + cat 197s + cat 197s + cat 197s + cat 197s + cflags= 197s + pcflags= 197s + packages=glib-2.0 197s + pkg-config --cflags --libs glib-2.0 197s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -lglib-2.0 197s + echo build (glib, dynamic): OK 197s + [ -x glib-dynamic ] 197s + foo=bar ./glib-dynamic 197s + echo run (glib, dynamic): OK 197s + cflags= 197s + pcflags= 197s + packages=gobject-2.0 197s + pkg-config --cflags --libs gobject-2.0 197s build (glib, dynamic): OK 197s run (glib, dynamic): OK 197s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -lgobject-2.0 -lglib-2.0 197s + build (gobject, dynamic): OK 197s echo build (gobject, dynamic): OK 197s + [ -x gobject-dynamic ] 197s + foo=bar ./gobject-dynamic 197s + echo run (gobject, dynamic): OK 197s run (gobject, dynamic): OK 197s + cflags= 197s + pcflags= 197s + packages=gio-2.0 197s + pkg-config --cflags --libs gio-2.0 197s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 197s + echo build (gio, dynamic): OK 197s build (gio, dynamic): OK 197s + [ -x gio-dynamic ] 197s + foo=bar ./gio-dynamic 197s run (gio, dynamic): OK 197s + echo run (gio, dynamic): OK 197s + cflags= 197s + pcflags= 197s + packages=gio-unix-2.0 197s + pkg-config --cflags --libs gio-unix-2.0 197s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 197s + echo build (gio-unix, dynamic): OK 197s + [ -x gio-unix-dynamicbuild (gio-unix, dynamic): OK 197s ] 197s + foo=bar ./gio-unix-dynamic 197s run (gio-unix, dynamic): OK 197s + echo run (gio-unix, dynamic): OK 197s + cflags= 197s + pcflags= 197s + packages=gmodule-2.0 197s + pkg-config --cflags --libs gmodule-2.0 197s + gcc -o gmodule-dynamic gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 198s + build (gmodule, dynamic): OK 198s run (gmodule, dynamic): OK 198s build (gthread, dynamic): OK 198s echo build (gmodule, dynamic): OK 198s + [ -x gmodule-dynamic ] 198s + foo=bar ./gmodule-dynamic 198s + echo run (gmodule, dynamic): OK 198s + cflags= 198s + pcflags= 198s + packages=gthread-2.0 198s + pkg-config --cflags --libs gthread-2.0 198s + gcc -o gthread-dynamic gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 198s + echo build (gthread, dynamic): OK 198s + [ -x gthread-dynamic ] 198s + foo=bar ./gthread-dynamic 198s + echo run (gthread, dynamic): OK 198s + rm -rf /tmp/tmp.WB2dIi9frU 198s autopkgtest [15:34:33]: test build: -----------------------] 198s run (gthread, dynamic): OK 198s autopkgtest [15:34:33]: test build: - - - - - - - - - - results - - - - - - - - - - 198s build PASS (superficial) 198s autopkgtest [15:34:33]: test build-static: preparing testbed 201s Reading package lists... 201s Building dependency tree... 201s Reading state information... 201s Starting pkgProblemResolver with broken count: 0 201s Starting 2 pkgProblemResolver with broken count: 0 201s Done 201s The following NEW packages will be installed: 201s autopkgtest-satdep 201s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 201s Need to get 0 B/728 B of archives. 201s After this operation, 0 B of additional disk space will be used. 201s Get:1 /tmp/autopkgtest.eF7yjn/2-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [728 B] 201s Selecting previously unselected package autopkgtest-satdep. 202s (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 ... 55409 files and directories currently installed.) 202s Preparing to unpack .../2-autopkgtest-satdep.deb ... 202s Unpacking autopkgtest-satdep (0) ... 202s Setting up autopkgtest-satdep (0) ... 203s (Reading database ... 55409 files and directories currently installed.) 203s Removing autopkgtest-satdep (0) ... 204s autopkgtest [15:34:39]: test build-static: [----------------------- 204s + mode=dynamic 204s + getopt -o --long static -n debian/tests/build -- --static 204s + getopt_temp= --static -- 204s + eval set -- --static -- 204s + set -- --static -- 204s + true 204s + mode=static 204s + shift 204s + continue 204s + true 204s + shift 204s + break 204s + mktemp -d 204s + WORKDIR=/tmp/tmp.QB6n46Va0l 204s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 204s + cd /tmp/tmp.QB6n46Va0l 204s + [ -n ] 204s + CROSS_COMPILE= 204s + cat 204s + cat 204s + cat 204s + cat 204s + cat 204s + cat 204s + cflags= 204s + pcflags= 204s + packages=glib-2.0 204s + cflags=-static 204s + pcflags=--static 204s + pkg-config --static --cflags --libs glib-2.0 204s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -lglib-2.0 -lm -pthread -lpcre2-8 204s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/13/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 204s (.text+0xfc): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 204s /usr/bin/ld: (.text+0x2ba): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 204s /usr/bin/ld: (.text+0x13a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 204s + echo build (glib, static): OK 204s + [ -x glib-static ] 204s + foo=bar ./glib-static 204s build (glib, static): OK 204s + echo run (glib, static): OK 204s run (glib, static): OK 204s + cflags= 204s + pcflags= 204s + packages=gobject-2.0 204s + cflags=-static 204s + pcflags=--static 204s + pkg-config --static --cflags --libs gobject-2.0 204s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -lgobject-2.0 -lglib-2.0 -lm -pthread -lpcre2-8 -lffi 204s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/13/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 204s (.text+0xfc): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 204s /usr/bin/ld: (.text+0x2ba): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 204s /usr/bin/ld: (.text+0x13a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 204s + echo build (gobject, static): OKbuild (gobject, static): OK 204s 204s + [ -x gobject-static ] 204s + foo=bar ./gobject-static 204s + run (gobject, static): OK 204s echo run (gobject, static): OK 204s + cflags= 204s + pcflags= 204s + packages=gio-2.0 204s + cflags=-static 204s + pcflags=--static 204s + continue 204s + cflags= 204s + pcflags= 204s + packages=gio-unix-2.0 204s + cflags=-static 204s + pcflags=--static 204s + continue 204s + cflags= 204s + pcflags= 204s + packages=gmodule-2.0 204s + cflags=-static 204s + pcflags=--static 204s + pkg-config --static --cflags --libs gmodule-2.0 204s + gcc -static -o gmodule-static gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lm -pthread -lpcre2-8 -lglib-2.0 -lm -pthread -lpcre2-8 204s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/13/../../../s390x-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 204s (.text+0x6b4): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 204s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/13/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 204s (.text+0xfc): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 204s /usr/bin/ld: (.text+0x2ba): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 204s /usr/bin/ld: (.text+0x13a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 204s build (gmodule, static): OK 204s + echo build (gmodule, static): OK 204s + [ -x gmodule-static ] 204s + foo=bar ./gmodule-static 204s + echo run (gmodule, static): OKrun (gmodule, static): OK 204s 204s + cflags= 204s + pcflags= 204s + packages=gthread-2.0 204s + cflags=-static 204s + pcflags=--static 204s + pkg-config --static --cflags --libs gthread-2.0 204s + gcc -static -o gthread-static gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 -lm -pthread -lpcre2-8 204s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/13/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 204s (.text+0xfc): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 204s /usr/bin/ld: (.text+0x2ba): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 204s /usr/bin/ld: (.text+0x13a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 204s + echo build (gthread, static): OK 204s build (gthread, static): OK 204s + [ -x gthread-static ] 204s + foo=bar ./gthread-static 204s + echo run (gthread, static): OK 204s run (gthread, static): OK 204s + rm -rf /tmp/tmp.QB6n46Va0l 205s autopkgtest [15:34:40]: test build-static: -----------------------] 205s autopkgtest [15:34:40]: test build-static: - - - - - - - - - - results - - - - - - - - - - 205s build-static PASS (superficial) 206s autopkgtest [15:34:41]: test installed-tests: preparing testbed 331s autopkgtest [15:36:46]: testbed dpkg architecture: s390x 331s autopkgtest [15:36:46]: testbed apt version: 2.7.12 331s autopkgtest [15:36:46]: @@@@@@@@@@@@@@@@@@@@ test bed setup 332s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 332s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3969 kB] 333s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [493 kB] 333s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 333s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [56.9 kB] 333s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [652 kB] 333s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x c-n-f Metadata [3032 B] 333s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x Packages [1372 B] 333s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x c-n-f Metadata [116 B] 333s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [4143 kB] 333s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x c-n-f Metadata [7292 B] 333s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x Packages [46.8 kB] 333s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x c-n-f Metadata [116 B] 337s Fetched 9495 kB in 4s (2477 kB/s) 338s Reading package lists... 340s Reading package lists... 340s Building dependency tree... 340s Reading state information... 341s Calculating upgrade... 341s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 341s Reading package lists... 341s Building dependency tree... 341s Reading state information... 342s 0 upgraded, 0 newly installed, 0 to remove and 240 not upgraded. 342s Unknown architecture, assuming PC-style ttyS0 342s sh: Attempting to set up Debian/Ubuntu apt sources automatically 342s sh: Distribution appears to be Ubuntu 344s Reading package lists... 344s Building dependency tree... 344s Reading state information... 345s eatmydata is already the newest version (131-1). 345s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 345s Reading package lists... 345s Building dependency tree... 345s Reading state information... 346s dbus is already the newest version (1.14.10-4ubuntu1). 346s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 346s Reading package lists... 347s Building dependency tree... 347s Reading state information... 347s rng-tools-debian is already the newest version (2.4). 347s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 347s Reading package lists... 348s Building dependency tree... 348s Reading state information... 349s The following packages will be REMOVED: 349s cloud-init* python3-configobj* python3-debconf* 349s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 349s After this operation, 3256 kB disk space will be freed. 349s (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 ... 52170 files and directories currently installed.) 349s Removing cloud-init (24.1.2-0ubuntu1) ... 350s Removing python3-configobj (5.0.8-3) ... 350s Removing python3-debconf (1.5.86) ... 350s Processing triggers for man-db (2.12.0-3) ... 351s (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 ... 51781 files and directories currently installed.) 351s Purging configuration files for cloud-init (24.1.2-0ubuntu1) ... 352s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 352s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 352s invoke-rc.d: policy-rc.d denied execution of try-restart. 352s Reading package lists... 352s Building dependency tree... 352s Reading state information... 353s linux-generic is already the newest version (6.8.0-11.11+1). 353s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 353s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 353s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 354s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 357s Reading package lists... 357s Reading package lists... 357s Building dependency tree... 357s Reading state information... 357s Calculating upgrade... 357s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 358s Reading package lists... 358s Building dependency tree... 358s Reading state information... 358s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 358s autopkgtest [15:37:13]: rebooting testbed after setup commands that affected boot 379s Reading package lists... 379s Building dependency tree... 379s Reading state information... 379s Starting pkgProblemResolver with broken count: 0 379s Starting 2 pkgProblemResolver with broken count: 0 379s Done 380s The following additional packages will be installed: 380s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 380s libdrm-nouveau2 libdrm-radeon1 libfontenc1 libfreetype6 380s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 380s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 380s libllvm17 libpixman-1-0 libsm6 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri2-0 380s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 380s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 380s libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 python3-dbusmock 380s python3-packaging x11-common x11-xkb-utils xserver-common xvfb 380s Suggested packages: 380s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 380s Recommended packages: 380s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 380s xfonts-base 380s The following NEW packages will be installed: 380s autopkgtest-satdep dbus-x11 desktop-file-utils gnome-desktop-testing 380s libdrm-amdgpu1 libdrm-nouveau2 libdrm-radeon1 libfontenc1 libfreetype6 380s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 380s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 380s libllvm17 libpixman-1-0 libsm6 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri2-0 380s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 380s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 380s libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 python3-dbusmock 380s python3-packaging x11-common x11-xkb-utils xserver-common xvfb 380s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 380s Need to get 44.6 MB/44.6 MB of archives. 380s After this operation, 214 MB of additional disk space will be used. 380s Get:1 /tmp/autopkgtest.eF7yjn/3-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 380s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x dbus-x11 s390x 1.14.10-4ubuntu1 [24.0 kB] 380s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x desktop-file-utils s390x 0.26-1ubuntu5 [54.4 kB] 380s Get:4 http://ftpmaster.internal/ubuntu noble/universe s390x gnome-desktop-testing s390x 2021.1-3 [15.9 kB] 380s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x libdrm-amdgpu1 s390x 2.4.120-2 [21.1 kB] 380s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x libdrm-nouveau2 s390x 2.4.120-2 [18.5 kB] 380s Get:7 http://ftpmaster.internal/ubuntu noble/main s390x libdrm-radeon1 s390x 2.4.120-2 [22.7 kB] 380s Get:8 http://ftpmaster.internal/ubuntu noble/main s390x libfontenc1 s390x 1:1.1.8-1 [14.8 kB] 380s Get:9 http://ftpmaster.internal/ubuntu noble/main s390x libfreetype6 s390x 2.13.2+dfsg-1 [431 kB] 380s Get:10 http://ftpmaster.internal/ubuntu noble/main s390x libgirepository-2.0-0 s390x 2.79.2-1~ubuntu1 [75.5 kB] 380s Get:11 http://ftpmaster.internal/ubuntu noble/main s390x libvulkan1 s390x 1.3.275.0-1 [155 kB] 380s Get:12 http://ftpmaster.internal/ubuntu noble/main s390x libglapi-mesa s390x 24.0.1-1ubuntu1 [68.7 kB] 380s Get:13 http://ftpmaster.internal/ubuntu noble/main s390x libllvm17 s390x 1:17.0.6-5build1 [31.2 MB] 382s Get:14 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-dri3-0 s390x 1.15-1 [7270 B] 382s Get:15 http://ftpmaster.internal/ubuntu noble/main s390x libgl1-mesa-dri s390x 24.0.1-1ubuntu1 [7184 kB] 382s Get:16 http://ftpmaster.internal/ubuntu noble/main s390x libglib2.0-bin s390x 2.79.2-1~ubuntu1 [101 kB] 382s Get:17 http://ftpmaster.internal/ubuntu noble/main s390x python3-packaging all 23.2-1 [40.6 kB] 382s Get:18 http://ftpmaster.internal/ubuntu noble/main s390x libglib2.0-dev-bin s390x 2.79.2-1~ubuntu1 [221 kB] 382s Get:19 http://ftpmaster.internal/ubuntu noble/universe s390x python3-dbusmock all 0.31.1-1 [85.5 kB] 382s Get:20 http://ftpmaster.internal/ubuntu noble/universe s390x libglib2.0-tests s390x 2.79.2-1~ubuntu1 [2162 kB] 382s Get:21 http://ftpmaster.internal/ubuntu noble/main s390x libx11-xcb1 s390x 2:1.8.7-1 [7778 B] 382s Get:22 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-dri2-0 s390x 1.15-1 [7426 B] 382s Get:23 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-glx0 s390x 1.15-1 [25.8 kB] 382s Get:24 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-present0 s390x 1.15-1 [5752 B] 382s Get:25 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-randr0 s390x 1.15-1 [19.0 kB] 382s Get:26 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-shm0 s390x 1.15-1 [5782 B] 382s Get:27 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-sync1 s390x 1.15-1 [9392 B] 382s Get:28 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-xfixes0 s390x 1.15-1 [10.5 kB] 382s Get:29 http://ftpmaster.internal/ubuntu noble/main s390x libxfixes3 s390x 1:6.0.0-2 [10.6 kB] 382s Get:30 http://ftpmaster.internal/ubuntu noble/main s390x libxshmfence1 s390x 1.3-1build4 [5334 B] 382s Get:31 http://ftpmaster.internal/ubuntu noble/main s390x libxxf86vm1 s390x 1:1.1.4-1build3 [9900 B] 382s Get:32 http://ftpmaster.internal/ubuntu noble/main s390x libglx-mesa0 s390x 24.0.1-1ubuntu1 [182 kB] 382s Get:33 http://ftpmaster.internal/ubuntu noble/main s390x x11-common all 1:7.7+23ubuntu2 [23.4 kB] 382s Get:34 http://ftpmaster.internal/ubuntu noble/main s390x libice6 s390x 2:1.0.10-1build2 [40.8 kB] 382s Get:35 http://ftpmaster.internal/ubuntu noble/main s390x libpixman-1-0 s390x 0.42.2-1 [173 kB] 382s Get:36 http://ftpmaster.internal/ubuntu noble/main s390x libsm6 s390x 2:1.2.3-1build2 [16.9 kB] 382s Get:37 http://ftpmaster.internal/ubuntu noble/main s390x libxt6 s390x 1:1.2.1-1.1 [166 kB] 382s Get:38 http://ftpmaster.internal/ubuntu noble/main s390x libxmu6 s390x 2:1.1.3-3 [49.3 kB] 382s Get:39 http://ftpmaster.internal/ubuntu noble/main s390x libxpm4 s390x 1:3.5.17-1 [40.9 kB] 382s Get:40 http://ftpmaster.internal/ubuntu noble/main s390x libxaw7 s390x 2:1.0.14-1 [186 kB] 382s Get:41 http://ftpmaster.internal/ubuntu noble/main s390x libxfont2 s390x 1:2.0.6-1 [89.7 kB] 382s Get:42 http://ftpmaster.internal/ubuntu noble/main s390x libxkbfile1 s390x 1:1.1.0-1build3 [74.0 kB] 382s Get:43 http://ftpmaster.internal/ubuntu noble/main s390x libxrender1 s390x 1:0.9.10-1.1 [19.4 kB] 382s Get:44 http://ftpmaster.internal/ubuntu noble/main s390x libxrandr2 s390x 2:1.5.2-2 [19.5 kB] 382s Get:45 http://ftpmaster.internal/ubuntu noble/main s390x x11-xkb-utils s390x 7.7+8 [170 kB] 382s Get:46 http://ftpmaster.internal/ubuntu noble/main s390x xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 382s Get:47 http://ftpmaster.internal/ubuntu noble/main s390x libglvnd0 s390x 1.7.0-1 [106 kB] 382s Get:48 http://ftpmaster.internal/ubuntu noble/main s390x libglx0 s390x 1.7.0-1 [31.4 kB] 382s Get:49 http://ftpmaster.internal/ubuntu noble/main s390x libgl1 s390x 1.7.0-1 [137 kB] 382s Get:50 http://ftpmaster.internal/ubuntu noble/universe s390x xvfb s390x 2:21.1.11-2ubuntu1 [956 kB] 383s Fetched 44.6 MB in 2s (18.0 MB/s) 383s Selecting previously unselected package dbus-x11. 383s (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 ... 51726 files and directories currently installed.) 383s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu1_s390x.deb ... 383s Unpacking dbus-x11 (1.14.10-4ubuntu1) ... 383s Selecting previously unselected package desktop-file-utils. 383s Preparing to unpack .../01-desktop-file-utils_0.26-1ubuntu5_s390x.deb ... 383s Unpacking desktop-file-utils (0.26-1ubuntu5) ... 383s Selecting previously unselected package gnome-desktop-testing. 383s Preparing to unpack .../02-gnome-desktop-testing_2021.1-3_s390x.deb ... 383s Unpacking gnome-desktop-testing (2021.1-3) ... 383s Selecting previously unselected package libdrm-amdgpu1:s390x. 383s Preparing to unpack .../03-libdrm-amdgpu1_2.4.120-2_s390x.deb ... 383s Unpacking libdrm-amdgpu1:s390x (2.4.120-2) ... 383s Selecting previously unselected package libdrm-nouveau2:s390x. 383s Preparing to unpack .../04-libdrm-nouveau2_2.4.120-2_s390x.deb ... 383s Unpacking libdrm-nouveau2:s390x (2.4.120-2) ... 383s Selecting previously unselected package libdrm-radeon1:s390x. 383s Preparing to unpack .../05-libdrm-radeon1_2.4.120-2_s390x.deb ... 383s Unpacking libdrm-radeon1:s390x (2.4.120-2) ... 383s Selecting previously unselected package libfontenc1:s390x. 383s Preparing to unpack .../06-libfontenc1_1%3a1.1.8-1_s390x.deb ... 383s Unpacking libfontenc1:s390x (1:1.1.8-1) ... 383s Selecting previously unselected package libfreetype6:s390x. 383s Preparing to unpack .../07-libfreetype6_2.13.2+dfsg-1_s390x.deb ... 383s Unpacking libfreetype6:s390x (2.13.2+dfsg-1) ... 383s Selecting previously unselected package libgirepository-2.0-0:s390x. 383s Preparing to unpack .../08-libgirepository-2.0-0_2.79.2-1~ubuntu1_s390x.deb ... 383s Unpacking libgirepository-2.0-0:s390x (2.79.2-1~ubuntu1) ... 383s Selecting previously unselected package libvulkan1:s390x. 383s Preparing to unpack .../09-libvulkan1_1.3.275.0-1_s390x.deb ... 383s Unpacking libvulkan1:s390x (1.3.275.0-1) ... 384s Selecting previously unselected package libglapi-mesa:s390x. 384s Preparing to unpack .../10-libglapi-mesa_24.0.1-1ubuntu1_s390x.deb ... 384s Unpacking libglapi-mesa:s390x (24.0.1-1ubuntu1) ... 384s Selecting previously unselected package libllvm17:s390x. 384s Preparing to unpack .../11-libllvm17_1%3a17.0.6-5build1_s390x.deb ... 384s Unpacking libllvm17:s390x (1:17.0.6-5build1) ... 385s Selecting previously unselected package libxcb-dri3-0:s390x. 386s Preparing to unpack .../12-libxcb-dri3-0_1.15-1_s390x.deb ... 386s Unpacking libxcb-dri3-0:s390x (1.15-1) ... 386s Selecting previously unselected package libgl1-mesa-dri:s390x. 386s Preparing to unpack .../13-libgl1-mesa-dri_24.0.1-1ubuntu1_s390x.deb ... 386s Unpacking libgl1-mesa-dri:s390x (24.0.1-1ubuntu1) ... 386s Selecting previously unselected package libglib2.0-bin. 386s Preparing to unpack .../14-libglib2.0-bin_2.79.2-1~ubuntu1_s390x.deb ... 386s Unpacking libglib2.0-bin (2.79.2-1~ubuntu1) ... 386s Selecting previously unselected package python3-packaging. 386s Preparing to unpack .../15-python3-packaging_23.2-1_all.deb ... 386s Unpacking python3-packaging (23.2-1) ... 386s Selecting previously unselected package libglib2.0-dev-bin. 386s Preparing to unpack .../16-libglib2.0-dev-bin_2.79.2-1~ubuntu1_s390x.deb ... 386s Unpacking libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 386s Selecting previously unselected package python3-dbusmock. 386s Preparing to unpack .../17-python3-dbusmock_0.31.1-1_all.deb ... 386s Unpacking python3-dbusmock (0.31.1-1) ... 386s Selecting previously unselected package libglib2.0-tests. 386s Preparing to unpack .../18-libglib2.0-tests_2.79.2-1~ubuntu1_s390x.deb ... 386s Unpacking libglib2.0-tests (2.79.2-1~ubuntu1) ... 387s Selecting previously unselected package libx11-xcb1:s390x. 387s Preparing to unpack .../19-libx11-xcb1_2%3a1.8.7-1_s390x.deb ... 387s Unpacking libx11-xcb1:s390x (2:1.8.7-1) ... 387s Selecting previously unselected package libxcb-dri2-0:s390x. 387s Preparing to unpack .../20-libxcb-dri2-0_1.15-1_s390x.deb ... 387s Unpacking libxcb-dri2-0:s390x (1.15-1) ... 387s Selecting previously unselected package libxcb-glx0:s390x. 387s Preparing to unpack .../21-libxcb-glx0_1.15-1_s390x.deb ... 387s Unpacking libxcb-glx0:s390x (1.15-1) ... 387s Selecting previously unselected package libxcb-present0:s390x. 387s Preparing to unpack .../22-libxcb-present0_1.15-1_s390x.deb ... 387s Unpacking libxcb-present0:s390x (1.15-1) ... 387s Selecting previously unselected package libxcb-randr0:s390x. 387s Preparing to unpack .../23-libxcb-randr0_1.15-1_s390x.deb ... 387s Unpacking libxcb-randr0:s390x (1.15-1) ... 387s Selecting previously unselected package libxcb-shm0:s390x. 387s Preparing to unpack .../24-libxcb-shm0_1.15-1_s390x.deb ... 387s Unpacking libxcb-shm0:s390x (1.15-1) ... 387s Selecting previously unselected package libxcb-sync1:s390x. 387s Preparing to unpack .../25-libxcb-sync1_1.15-1_s390x.deb ... 387s Unpacking libxcb-sync1:s390x (1.15-1) ... 387s Selecting previously unselected package libxcb-xfixes0:s390x. 387s Preparing to unpack .../26-libxcb-xfixes0_1.15-1_s390x.deb ... 387s Unpacking libxcb-xfixes0:s390x (1.15-1) ... 387s Selecting previously unselected package libxfixes3:s390x. 387s Preparing to unpack .../27-libxfixes3_1%3a6.0.0-2_s390x.deb ... 387s Unpacking libxfixes3:s390x (1:6.0.0-2) ... 387s Selecting previously unselected package libxshmfence1:s390x. 387s Preparing to unpack .../28-libxshmfence1_1.3-1build4_s390x.deb ... 387s Unpacking libxshmfence1:s390x (1.3-1build4) ... 387s Selecting previously unselected package libxxf86vm1:s390x. 387s Preparing to unpack .../29-libxxf86vm1_1%3a1.1.4-1build3_s390x.deb ... 387s Unpacking libxxf86vm1:s390x (1:1.1.4-1build3) ... 387s Selecting previously unselected package libglx-mesa0:s390x. 387s Preparing to unpack .../30-libglx-mesa0_24.0.1-1ubuntu1_s390x.deb ... 387s Unpacking libglx-mesa0:s390x (24.0.1-1ubuntu1) ... 387s Selecting previously unselected package x11-common. 387s Preparing to unpack .../31-x11-common_1%3a7.7+23ubuntu2_all.deb ... 387s Unpacking x11-common (1:7.7+23ubuntu2) ... 387s Selecting previously unselected package libice6:s390x. 387s Preparing to unpack .../32-libice6_2%3a1.0.10-1build2_s390x.deb ... 387s Unpacking libice6:s390x (2:1.0.10-1build2) ... 387s Selecting previously unselected package libpixman-1-0:s390x. 387s Preparing to unpack .../33-libpixman-1-0_0.42.2-1_s390x.deb ... 387s Unpacking libpixman-1-0:s390x (0.42.2-1) ... 387s Selecting previously unselected package libsm6:s390x. 387s Preparing to unpack .../34-libsm6_2%3a1.2.3-1build2_s390x.deb ... 387s Unpacking libsm6:s390x (2:1.2.3-1build2) ... 387s Selecting previously unselected package libxt6:s390x. 387s Preparing to unpack .../35-libxt6_1%3a1.2.1-1.1_s390x.deb ... 387s Unpacking libxt6:s390x (1:1.2.1-1.1) ... 387s Selecting previously unselected package libxmu6:s390x. 387s Preparing to unpack .../36-libxmu6_2%3a1.1.3-3_s390x.deb ... 387s Unpacking libxmu6:s390x (2:1.1.3-3) ... 387s Selecting previously unselected package libxpm4:s390x. 387s Preparing to unpack .../37-libxpm4_1%3a3.5.17-1_s390x.deb ... 387s Unpacking libxpm4:s390x (1:3.5.17-1) ... 387s Selecting previously unselected package libxaw7:s390x. 387s Preparing to unpack .../38-libxaw7_2%3a1.0.14-1_s390x.deb ... 387s Unpacking libxaw7:s390x (2:1.0.14-1) ... 387s Selecting previously unselected package libxfont2:s390x. 387s Preparing to unpack .../39-libxfont2_1%3a2.0.6-1_s390x.deb ... 387s Unpacking libxfont2:s390x (1:2.0.6-1) ... 387s Selecting previously unselected package libxkbfile1:s390x. 387s Preparing to unpack .../40-libxkbfile1_1%3a1.1.0-1build3_s390x.deb ... 387s Unpacking libxkbfile1:s390x (1:1.1.0-1build3) ... 387s Selecting previously unselected package libxrender1:s390x. 387s Preparing to unpack .../41-libxrender1_1%3a0.9.10-1.1_s390x.deb ... 387s Unpacking libxrender1:s390x (1:0.9.10-1.1) ... 387s Selecting previously unselected package libxrandr2:s390x. 387s Preparing to unpack .../42-libxrandr2_2%3a1.5.2-2_s390x.deb ... 387s Unpacking libxrandr2:s390x (2:1.5.2-2) ... 387s Selecting previously unselected package x11-xkb-utils. 387s Preparing to unpack .../43-x11-xkb-utils_7.7+8_s390x.deb ... 387s Unpacking x11-xkb-utils (7.7+8) ... 387s Selecting previously unselected package xserver-common. 387s Preparing to unpack .../44-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 387s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 387s Selecting previously unselected package libglvnd0:s390x. 387s Preparing to unpack .../45-libglvnd0_1.7.0-1_s390x.deb ... 387s Unpacking libglvnd0:s390x (1.7.0-1) ... 387s Selecting previously unselected package libglx0:s390x. 387s Preparing to unpack .../46-libglx0_1.7.0-1_s390x.deb ... 387s Unpacking libglx0:s390x (1.7.0-1) ... 387s Selecting previously unselected package libgl1:s390x. 387s Preparing to unpack .../47-libgl1_1.7.0-1_s390x.deb ... 387s Unpacking libgl1:s390x (1.7.0-1) ... 387s Selecting previously unselected package xvfb. 387s Preparing to unpack .../48-xvfb_2%3a21.1.11-2ubuntu1_s390x.deb ... 387s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 387s Selecting previously unselected package autopkgtest-satdep. 387s Preparing to unpack .../49-3-autopkgtest-satdep.deb ... 387s Unpacking autopkgtest-satdep (0) ... 387s Setting up gnome-desktop-testing (2021.1-3) ... 387s Setting up libxcb-dri3-0:s390x (1.15-1) ... 387s Setting up libpixman-1-0:s390x (0.42.2-1) ... 387s Setting up libx11-xcb1:s390x (2:1.8.7-1) ... 387s Setting up libdrm-nouveau2:s390x (2.4.120-2) ... 387s Setting up libxcb-xfixes0:s390x (1.15-1) ... 387s Setting up desktop-file-utils (0.26-1ubuntu5) ... 387s Setting up libxpm4:s390x (1:3.5.17-1) ... 387s Setting up libxrender1:s390x (1:0.9.10-1.1) ... 387s Setting up libgirepository-2.0-0:s390x (2.79.2-1~ubuntu1) ... 387s Setting up libdrm-radeon1:s390x (2.4.120-2) ... 387s Setting up libglvnd0:s390x (1.7.0-1) ... 387s Setting up libxcb-glx0:s390x (1.15-1) ... 387s Setting up x11-common (1:7.7+23ubuntu2) ... 388s Setting up libglib2.0-bin (2.79.2-1~ubuntu1) ... 388s Setting up libxcb-shm0:s390x (1.15-1) ... 388s Setting up libxxf86vm1:s390x (1:1.1.4-1build3) ... 388s Setting up libxcb-present0:s390x (1.15-1) ... 388s Setting up libfontenc1:s390x (1:1.1.8-1) ... 388s Setting up python3-packaging (23.2-1) ... 388s Setting up libfreetype6:s390x (2.13.2+dfsg-1) ... 388s Setting up libxfixes3:s390x (1:6.0.0-2) ... 388s Setting up libxcb-sync1:s390x (1.15-1) ... 388s Setting up libxrandr2:s390x (2:1.5.2-2) ... 388s Setting up libglapi-mesa:s390x (24.0.1-1ubuntu1) ... 388s Setting up libvulkan1:s390x (1.3.275.0-1) ... 388s Setting up libxcb-dri2-0:s390x (1.15-1) ... 388s Setting up libxshmfence1:s390x (1.3-1build4) ... 388s Setting up dbus-x11 (1.14.10-4ubuntu1) ... 388s Setting up libxcb-randr0:s390x (1.15-1) ... 388s Setting up libxkbfile1:s390x (1:1.1.0-1build3) ... 388s Setting up libllvm17:s390x (1:17.0.6-5build1) ... 388s Setting up libxfont2:s390x (1:2.0.6-1) ... 388s Setting up libdrm-amdgpu1:s390x (2.4.120-2) ... 388s Setting up libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 388s Setting up libice6:s390x (2:1.0.10-1build2) ... 388s Setting up libgl1-mesa-dri:s390x (24.0.1-1ubuntu1) ... 388s Setting up python3-dbusmock (0.31.1-1) ... 389s Setting up libglib2.0-tests (2.79.2-1~ubuntu1) ... 389s Setting up libsm6:s390x (2:1.2.3-1build2) ... 389s Setting up libglx-mesa0:s390x (24.0.1-1ubuntu1) ... 389s Setting up libglx0:s390x (1.7.0-1) ... 389s Setting up libgl1:s390x (1.7.0-1) ... 389s Setting up libxt6:s390x (1:1.2.1-1.1) ... 389s Setting up libxmu6:s390x (2:1.1.3-3) ... 389s Setting up libxaw7:s390x (2:1.0.14-1) ... 389s Setting up x11-xkb-utils (7.7+8) ... 389s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 389s Setting up xvfb (2:21.1.11-2ubuntu1) ... 389s Setting up autopkgtest-satdep (0) ... 389s Processing triggers for man-db (2.12.0-3) ... 390s Processing triggers for libc-bin (2.39-0ubuntu6) ... 394s (Reading database ... 53162 files and directories currently installed.) 394s Removing autopkgtest-satdep (0) ... 400s autopkgtest [15:37:55]: test installed-tests: [----------------------- 401s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 401s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 401s group entry: ubuntu:x:1000: 401s Environment: 401s ADTTMP=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp 401s ADT_ARTIFACTS=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts 401s ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 401s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts 401s AUTOPKGTEST_TESTBED_ARCH=s390x 401s AUTOPKGTEST_TEST_ARCH=s390x 401s AUTOPKGTEST_TMP=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp 401s DEBIAN_FRONTEND=noninteractive 401s DEB_BUILD_OPTIONS=parallel=1 401s GIO_USE_VFS=local 401s GIO_USE_VOLUME_MONITOR=unix 401s HOME=/home/ubuntu 401s LANG=C.UTF-8 401s LOGNAME=ubuntu 401s MAIL=/var/mail/ubuntu 401s OLDPWD=/home/ubuntu 401s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 401s PWD=/tmp/autopkgtest.eF7yjn/build.AOh/src 401s SHELL=/bin/bash 401s SHLVL=1 401s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests 401s SUDO_GID=1000 401s SUDO_UID=1000 401s SUDO_USER=ubuntu 401s TERM=linux 401s USER=ubuntu 401s XDG_RUNTIME_DIR=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp 401s http_proxy=http://squid.internal:3128 401s https_proxy=http://squid.internal:3128 401s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 401s run-with-locales: de_DE=ISO-8859-1... 401s Character set: ISO-8859-1 401s Source file: de_DE 401s Output: /tmp/tmp.Bo9ZHz7YBj/de_DE 401s run-with-locales: de_DE.utf8... 401s Character set: UTF-8 401s Source file: de_DE 401s Output: /tmp/tmp.Bo9ZHz7YBj/de_DE.utf8 404s run-with-locales: de_DE@euro.utf8... 404s Character set: UTF-8 404s Source file: de_DE@euro 404s Output: /tmp/tmp.Bo9ZHz7YBj/de_DE@euro.utf8 407s run-with-locales: el_GR.utf8... 407s Character set: UTF-8 407s Source file: el_GR 407s Output: /tmp/tmp.Bo9ZHz7YBj/el_GR.utf8 410s run-with-locales: en_GB=ISO-8859-1... 410s Character set: ISO-8859-1 410s Source file: en_GB 410s Output: /tmp/tmp.Bo9ZHz7YBj/en_GB 410s run-with-locales: en_GB.utf8... 410s Character set: UTF-8 410s Source file: en_GB 410s Output: /tmp/tmp.Bo9ZHz7YBj/en_GB.utf8 412s run-with-locales: en_US=ISO-8859-1... 412s Character set: ISO-8859-1 412s Source file: en_US 412s Output: /tmp/tmp.Bo9ZHz7YBj/en_US 413s run-with-locales: en_US.utf8... 413s Character set: UTF-8 413s Source file: en_US 413s Output: /tmp/tmp.Bo9ZHz7YBj/en_US.utf8 416s run-with-locales: es_ES.utf8... 416s Character set: UTF-8 416s Source file: es_ES 416s Output: /tmp/tmp.Bo9ZHz7YBj/es_ES.utf8 419s run-with-locales: fa_IR=UTF-8... 419s Character set: UTF-8 419s Source file: fa_IR 419s Output: /tmp/tmp.Bo9ZHz7YBj/fa_IR 421s run-with-locales: fa_IR.utf8... 421s Character set: UTF-8 421s Source file: fa_IR 421s Output: /tmp/tmp.Bo9ZHz7YBj/fa_IR.utf8 424s run-with-locales: fr_FR.utf8... 424s Character set: UTF-8 424s Source file: fr_FR 424s Output: /tmp/tmp.Bo9ZHz7YBj/fr_FR.utf8 426s run-with-locales: hr_HR.utf8... 426s Character set: UTF-8 426s Source file: hr_HR 426s Output: /tmp/tmp.Bo9ZHz7YBj/hr_HR.utf8 429s run-with-locales: ja_JP.utf8... 429s Character set: UTF-8 429s Source file: ja_JP 429s Output: /tmp/tmp.Bo9ZHz7YBj/ja_JP.utf8 431s run-with-locales: ja_JP.EUC-JP... 431s Character set: EUC-JP 431s Source file: ja_JP 431s Output: /tmp/tmp.Bo9ZHz7YBj/ja_JP.eucjp 432s run-with-locales: lt_LT.utf8... 432s Character set: UTF-8 432s Source file: lt_LT 432s Output: /tmp/tmp.Bo9ZHz7YBj/lt_LT.utf8 434s run-with-locales: pl_PL=ISO-8859-2... 434s Character set: ISO-8859-2 434s Source file: pl_PL 434s Output: /tmp/tmp.Bo9ZHz7YBj/pl_PL 435s run-with-locales: pl_PL.ISO-8859-2... 435s Character set: ISO-8859-2 435s Source file: pl_PL 435s Output: /tmp/tmp.Bo9ZHz7YBj/pl_PL.iso88592 436s run-with-locales: pl_PL.utf8... 436s Character set: UTF-8 436s Source file: pl_PL 436s Output: /tmp/tmp.Bo9ZHz7YBj/pl_PL.utf8 439s run-with-locales: ru_RU=ISO-8859-5... 439s Character set: ISO-8859-5 439s Source file: ru_RU 439s Output: /tmp/tmp.Bo9ZHz7YBj/ru_RU 440s run-with-locales: ru_RU.utf8... 440s Character set: UTF-8 440s Source file: ru_RU 440s Output: /tmp/tmp.Bo9ZHz7YBj/ru_RU.utf8 444s run-with-locales: sr_RS=UTF-8... 444s Character set: UTF-8 444s Source file: sr_RS 444s Output: /tmp/tmp.Bo9ZHz7YBj/sr_RS 446s run-with-locales: sr_RS@latin=UTF-8... 446s Character set: UTF-8 446s Source file: sr_RS@latin 446s Output: /tmp/tmp.Bo9ZHz7YBj/sr_RS@latin 448s run-with-locales: sv_SE=ISO-8859-1... 448s Character set: ISO-8859-1 448s Source file: sv_SE 448s Output: /tmp/tmp.Bo9ZHz7YBj/sv_SE 449s run-with-locales: sv_SE.utf8... 449s Character set: UTF-8 449s Source file: sv_SE 449s Output: /tmp/tmp.Bo9ZHz7YBj/sv_SE.utf8 451s run-with-locales: tr_TR=ISO-8859-9... 451s Character set: ISO-8859-9 451s Source file: tr_TR 451s Output: /tmp/tmp.Bo9ZHz7YBj/tr_TR 452s run-with-locales: tr_TR.utf8... 452s Character set: UTF-8 452s Source file: tr_TR 452s Output: /tmp/tmp.Bo9ZHz7YBj/tr_TR.utf8 454s run-with-locales: tt_RU=UTF-8... 454s Character set: UTF-8 454s Source file: tt_RU 454s Output: /tmp/tmp.Bo9ZHz7YBj/tt_RU 457s run-with-locales: tt_RU.utf8... 457s Character set: UTF-8 457s Source file: tt_RU 457s Output: /tmp/tmp.Bo9ZHz7YBj/tt_RU.utf8 459s run-with-locales: tt_RU@iqtelif=UTF-8... 459s Character set: UTF-8 459s Source file: tt_RU@iqtelif 459s Output: /tmp/tmp.Bo9ZHz7YBj/tt_RU@iqtelif 462s /tmp/tmp.Bo9ZHz7YBj 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU@iqtelif 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU@iqtelif/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU@iqtelif/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU@iqtelif/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU@iqtelif/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU@iqtelif/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU@iqtelif/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU@iqtelif/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU@iqtelif/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU@iqtelif/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU@iqtelif/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU@iqtelif/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU@iqtelif/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU.utf8 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU.utf8/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU.utf8/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU.utf8/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU.utf8/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU.utf8/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU.utf8/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU.utf8/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU.utf8/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU.utf8/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU.utf8/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU.utf8/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU.utf8/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.iso88592 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.iso88592/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.iso88592/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.iso88592/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.iso88592/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.iso88592/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.iso88592/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.iso88592/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.iso88592/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.iso88592/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.iso88592/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.iso88592/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.iso88592/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.utf8 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.utf8/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.utf8/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.utf8/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.utf8/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.utf8/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.utf8/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.utf8/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.utf8/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.utf8/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.utf8/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.utf8/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL.utf8/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.eucjp 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.eucjp/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.eucjp/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.eucjp/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.eucjp/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.eucjp/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.eucjp/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.eucjp/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.eucjp/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.eucjp/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.eucjp/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.eucjp/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.eucjp/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/en_US 462s /tmp/tmp.Bo9ZHz7YBj/en_US/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/en_US/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/en_US/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/en_US/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/en_US/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/en_US/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/en_US/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/en_US/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/en_US/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/en_US/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/en_US/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/en_US/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/en_US/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE.utf8 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE.utf8/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE.utf8/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE.utf8/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE.utf8/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE.utf8/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE.utf8/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE.utf8/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE.utf8/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE.utf8/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE.utf8/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE.utf8/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE.utf8/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/en_US.utf8 462s /tmp/tmp.Bo9ZHz7YBj/en_US.utf8/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/en_US.utf8/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/en_US.utf8/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/en_US.utf8/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/en_US.utf8/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/en_US.utf8/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/en_US.utf8/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/en_US.utf8/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/en_US.utf8/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/en_US.utf8/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/en_US.utf8/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/en_US.utf8/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR.utf8 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR.utf8/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR.utf8/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR.utf8/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR.utf8/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR.utf8/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR.utf8/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR.utf8/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR.utf8/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR.utf8/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR.utf8/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR.utf8/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR.utf8/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/pl_PL/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/de_DE.utf8 462s /tmp/tmp.Bo9ZHz7YBj/de_DE.utf8/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/de_DE.utf8/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/de_DE.utf8/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/de_DE.utf8/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/de_DE.utf8/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/de_DE.utf8/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/de_DE.utf8/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/de_DE.utf8/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/de_DE.utf8/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/de_DE.utf8/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/de_DE.utf8/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/de_DE.utf8/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR.utf8 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR.utf8/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR.utf8/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR.utf8/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR.utf8/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR.utf8/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR.utf8/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR.utf8/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR.utf8/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR.utf8/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR.utf8/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR.utf8/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/tr_TR.utf8/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU.utf8 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU.utf8/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU.utf8/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU.utf8/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU.utf8/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU.utf8/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU.utf8/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU.utf8/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU.utf8/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU.utf8/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU.utf8/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU.utf8/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/ru_RU.utf8/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.utf8 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.utf8/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.utf8/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.utf8/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.utf8/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.utf8/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.utf8/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.utf8/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.utf8/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.utf8/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.utf8/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.utf8/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/ja_JP.utf8/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/es_ES.utf8 462s /tmp/tmp.Bo9ZHz7YBj/es_ES.utf8/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/es_ES.utf8/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/es_ES.utf8/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/es_ES.utf8/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/es_ES.utf8/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/es_ES.utf8/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/es_ES.utf8/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/es_ES.utf8/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/es_ES.utf8/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/es_ES.utf8/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/es_ES.utf8/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/es_ES.utf8/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/tt_RU/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/en_GB.utf8 462s /tmp/tmp.Bo9ZHz7YBj/en_GB.utf8/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/en_GB.utf8/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/en_GB.utf8/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/en_GB.utf8/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/en_GB.utf8/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/en_GB.utf8/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/en_GB.utf8/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/en_GB.utf8/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/en_GB.utf8/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/en_GB.utf8/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/en_GB.utf8/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/en_GB.utf8/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/en_GB 462s /tmp/tmp.Bo9ZHz7YBj/en_GB/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/en_GB/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/en_GB/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/en_GB/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/en_GB/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/en_GB/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/en_GB/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/en_GB/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/en_GB/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/en_GB/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/en_GB/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/en_GB/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/sv_SE/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/fr_FR.utf8 462s /tmp/tmp.Bo9ZHz7YBj/fr_FR.utf8/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/fr_FR.utf8/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/fr_FR.utf8/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/fr_FR.utf8/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/fr_FR.utf8/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/fr_FR.utf8/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/fr_FR.utf8/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/fr_FR.utf8/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/fr_FR.utf8/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/fr_FR.utf8/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/fr_FR.utf8/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/fr_FR.utf8/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS@latin 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS@latin/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS@latin/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS@latin/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS@latin/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS@latin/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS@latin/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS@latin/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS@latin/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS@latin/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS@latin/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS@latin/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/sr_RS@latin/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/de_DE@euro.utf8 462s /tmp/tmp.Bo9ZHz7YBj/de_DE@euro.utf8/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/de_DE@euro.utf8/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/de_DE@euro.utf8/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/de_DE@euro.utf8/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/de_DE@euro.utf8/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/de_DE@euro.utf8/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/de_DE@euro.utf8/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/de_DE@euro.utf8/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/de_DE@euro.utf8/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/de_DE@euro.utf8/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/de_DE@euro.utf8/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/de_DE@euro.utf8/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/el_GR.utf8 462s /tmp/tmp.Bo9ZHz7YBj/el_GR.utf8/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/el_GR.utf8/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/el_GR.utf8/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/el_GR.utf8/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/el_GR.utf8/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/el_GR.utf8/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/el_GR.utf8/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/el_GR.utf8/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/el_GR.utf8/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/el_GR.utf8/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/el_GR.utf8/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/el_GR.utf8/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/de_DE 462s /tmp/tmp.Bo9ZHz7YBj/de_DE/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/de_DE/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/de_DE/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/de_DE/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/de_DE/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/de_DE/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/de_DE/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/de_DE/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/de_DE/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/de_DE/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/de_DE/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/de_DE/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/fa_IR/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/lt_LT.utf8 462s /tmp/tmp.Bo9ZHz7YBj/lt_LT.utf8/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/lt_LT.utf8/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/lt_LT.utf8/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/lt_LT.utf8/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/lt_LT.utf8/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/lt_LT.utf8/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/lt_LT.utf8/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/lt_LT.utf8/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/lt_LT.utf8/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/lt_LT.utf8/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/lt_LT.utf8/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/lt_LT.utf8/LC_MONETARY 462s /tmp/tmp.Bo9ZHz7YBj/hr_HR.utf8 462s /tmp/tmp.Bo9ZHz7YBj/hr_HR.utf8/LC_MEASUREMENT 462s /tmp/tmp.Bo9ZHz7YBj/hr_HR.utf8/LC_ADDRESS 462s /tmp/tmp.Bo9ZHz7YBj/hr_HR.utf8/LC_TIME 462s /tmp/tmp.Bo9ZHz7YBj/hr_HR.utf8/LC_NUMERIC 462s /tmp/tmp.Bo9ZHz7YBj/hr_HR.utf8/LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 462s /tmp/tmp.Bo9ZHz7YBj/hr_HR.utf8/LC_PAPER 462s /tmp/tmp.Bo9ZHz7YBj/hr_HR.utf8/LC_IDENTIFICATION 462s /tmp/tmp.Bo9ZHz7YBj/hr_HR.utf8/LC_CTYPE 462s /tmp/tmp.Bo9ZHz7YBj/hr_HR.utf8/LC_TELEPHONE 462s /tmp/tmp.Bo9ZHz7YBj/hr_HR.utf8/LC_COLLATE 462s /tmp/tmp.Bo9ZHz7YBj/hr_HR.utf8/LC_NAME 462s /tmp/tmp.Bo9ZHz7YBj/hr_HR.utf8/LC_MONETARY 462s 1..315 462s # Running test: glib/live-g-file.test 462s TAP version 13 462s # random seed: R02S4d160bf59845fe930245b7d09242d527 462s 1..13 462s # Start of live-g-file tests 462s # Cleaning target testing structure in 'testdir_live-g-file'... 462s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 462s ok 1 /live-g-file/prep_clean_structure 462s # 462s # Going to create testing structure in 'testdir_live-g-file'... 462s # Creating directory 'dir1'... 462s # Creating directory 'dir1/subdir'... 462s # Creating directory 'dir2'... 462s # Creating directory 'dir-target'... 462s # Creating directory 'dir_no-access'... 462s # Creating directory 'dir_no-write'... 462s # Creating file 'target-file'... 462s # Creating file 'normal_file'... 462s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 462s # Creating file 'executable_file'... 462s # Creating file 'private_file'... 462s # Creating file 'normal_file2'... 462s # Creating file 'readonly_file'... 462s # Creating file 'UTF_pr?i?lis? z'... 462s # Creating directory 'dir_pr?i?lis? z'... 462s # Creating symlink 'lost_symlink' --> 'nowhere'... 462s # Creating directory 'dir_hidden'... 462s # Creating file 'dir_hidden/.a-hidden-file'... 462s # Creating file 'dir_hidden/file-in-.hidden1'... 462s # Creating file 'dir_hidden/file-in-.hidden2'... 462s # Creating pattern file... 462s # done. 462s ok 2 /live-g-file/create_structure 462s # Testing sample structure in 'testdir_live-g-file'... 462s # Testing file 'dir1'... 462s # Testing file 'dir1/subdir'... 462s # Testing file 'dir2'... 462s # Testing file 'dir-target'... 462s # Testing file 'dir_no-access'... 462s # Testing file 'dir_no-write'... 462s # Testing file 'target-file'... 462s # Testing file 'normal_file'... 462s # Testing file 'normal_file-symlink'... 462s # Testing file 'executable_file'... 462s # Testing file 'private_file'... 462s # Testing file 'normal_file2'... 462s # Testing file 'readonly_file'... 462s # Testing file 'UTF_pr?i?lis? z'... 462s # Testing file 'dir_pr?i?lis? z'... 462s # Testing file 'lost_symlink'... 462s # Testing file 'dir_hidden'... 462s # Testing file 'dir_hidden/.a-hidden-file'... 462s # Testing file 'dir_hidden/file-in-.hidden1'... 462s # Testing file 'dir_hidden/file-in-.hidden2'... 462s # Testing pattern file... 462s # read 65536 bytes, total = 65536 of 65536. 462s ok 3 /live-g-file/test_initial_structure 462s # Traversing through the sample structure in 'testdir_live-g-file'... 462s # Found file dir1, relative to root: dir1 462s # Found file subdir, relative to root: dir1/subdir 462s # Found file dir2, relative to root: dir2 462s # Found file dir-target, relative to root: dir-target 462s # Found file dir_no-access, relative to root: dir_no-access 462s # Found file dir_no-write, relative to root: dir_no-write 462s # Found file target-file, relative to root: target-file 462s # Found file normal_file, relative to root: normal_file 462s # Found file normal_file-symlink, relative to root: normal_file-symlink 462s # Found file executable_file, relative to root: executable_file 462s # Found file private_file, relative to root: private_file 462s # Found file normal_file2, relative to root: normal_file2 462s # Found file readonly_file, relative to root: readonly_file 462s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 462s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 462s # Found file lost_symlink, relative to root: lost_symlink 462s # Found file dir_hidden, relative to root: dir_hidden 462s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 462s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 462s # Found file .hidden, relative to root: dir_hidden/.hidden 462s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 462s # Found file pattern_file, relative to root: pattern_file 462s ok 4 /live-g-file/test_traverse_structure 462s # Test enumerate 'testdir_live-g-file'... 462s # Testing file 'dir_no-access' 462s # Testing file 'normal_file' 462s # Testing file 'normal_file-symlink' 462s # Testing file 'not_exists' 462s # Testing file 'not_exists' 462s # Testing file 'not_exists2' 462s # Testing file 'not_exists3' 462s # Testing file 'not_exists4' 462s # Testing file 'dir_no-execute/file' 462s ok 5 /live-g-file/test_enumerate 462s # test_open: 'dir1' 462s # test_open: 'dir_no-access' 462s # test_open: 'target-file' 462s # test_open: 'normal_file-symlink' 462s # test_open: 'executable_file' 462s # test_open: 'private_file' 462s # test_open: 'readonly_file' 462s # test_open: 'UTF_pr?i?lis? z' 462s # test_open: 'pattern_file' 462s # test_open: 'not_exists' 462s # test_open: 'dir_no-execute/file' 462s # test_open: 'lost_symlink' 462s ok 6 /live-g-file/test_open 462s # test_create: 'dir1' 462s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir1?: Is a directory 462s # test_create: 'dir1/subdir' 462s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir1/subdir?: Is a directory 462s # test_create: 'dir2' 462s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir2?: File exists 462s # test_create: 'normal_file' 462s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/normal_file?: File exists 462s # test_create: 'executable_file' 462s # test_create: 'private_file' 462s # test_create: 'normal_file2' 462s # test_create: 'UTF_pr?i?lis? z' 462s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 462s # test_create: 'dir_pr?i?lis? z' 462s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 462s # test_create: 'pattern_file' 462s # test_create: 'not_exists2' 462s # test_create: 'not_exists3' 462s # test_create: 'not_exists4' 462s ok 7 /live-g-file/test_create 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'dir1/subdir' --> 'dir-target' 462s # res = 0, error code 25 = Can?t recursively copy directory 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'dir1/subdir' --> '.' 462s # res = 0, error code 2 = Target file exists 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'dir1/subdir' --> 'target-file' 462s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'dir1/subdir' --> 'not_exists' 462s # res = 0, error code 25 = Can?t recursively copy directory 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 462s # res = 0, error code 25 = Can?t recursively copy directory 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 462s # res = 0, error code 25 = Can?t recursively copy directory 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'dir2' --> 'dir-target' 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'dir-target' --> 'dir-target' 462s # res = 0, error code 25 = Can?t recursively copy directory 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'dir-target' --> '.' 462s # res = 0, error code 2 = Target file exists 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'dir-target' --> 'target-file' 462s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/target-file/dir-target?: Not a directory 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'dir-target' --> 'not_exists' 462s # res = 0, error code 25 = Can?t recursively copy directory 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'dir-target' --> 'dir_no-access' 462s # res = 0, error code 25 = Can?t recursively copy directory 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'dir-target' --> 'dir_no-write' 462s # res = 0, error code 25 = Can?t recursively copy directory 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'target-file' --> 'dir-target' 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'target-file' --> '.' 462s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/target-file?: File exists 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'target-file' --> 'target-file' 462s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/target-file/target-file?: Not a directory 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'target-file' --> 'not_exists' 462s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/not_exists/target-file?: No such file or directory 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'target-file' --> 'dir_no-access' 462s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'target-file' --> 'dir_no-write' 462s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'normal_file-symlink' --> '.' 462s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/normal_file-symlink: File exists 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'normal_file-symlink' --> 'target-file' 462s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 462s # We do not have CAP_DAC_OVERRIDE or equivalent 462s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 462s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 463s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 463s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'executable_file' --> 'dir-target' 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'executable_file' --> 'dir-target' 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'executable_file' --> '.' 463s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/executable_file?: File exists 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'executable_file' --> 'target-file' 463s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/target-file/executable_file?: Not a directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'executable_file' --> 'not_exists' 463s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'executable_file' --> 'dir_no-access' 463s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'executable_file' --> 'dir_no-write' 463s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'private_file' --> 'dir-target' 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'private_file' --> 'dir-target' 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'private_file' --> '.' 463s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/private_file?: File exists 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'private_file' --> 'target-file' 463s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/target-file/private_file?: Not a directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'private_file' --> 'not_exists' 463s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/not_exists/private_file?: No such file or directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'private_file' --> 'dir_no-access' 463s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'private_file' --> 'dir_no-write' 463s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'normal_file2' --> 'dir-target' 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'normal_file2' --> 'dir-target' 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'normal_file2' --> '.' 463s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/normal_file2?: File exists 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'normal_file2' --> 'target-file' 463s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/target-file/normal_file2?: Not a directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'normal_file2' --> 'not_exists' 463s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'normal_file2' --> 'dir_no-access' 463s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'normal_file2' --> 'dir_no-write' 463s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 463s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 463s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 463s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 463s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 463s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'pattern_file' --> 'dir-target' 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'pattern_file' --> '.' 463s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/pattern_file?: File exists 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'pattern_file' --> 'target-file' 463s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/target-file/pattern_file?: Not a directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'pattern_file' --> 'not_exists' 463s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'pattern_file' --> 'dir_no-access' 463s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'pattern_file' --> 'dir_no-write' 463s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'not_exists' --> 'dir-target' 463s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/not_exists?: No such file or directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'not_exists' --> '.' 463s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/not_exists?: No such file or directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'not_exists' --> 'target-file' 463s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/not_exists?: No such file or directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'not_exists' --> 'not_exists' 463s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/not_exists?: No such file or directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'not_exists' --> 'dir_no-access' 463s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/not_exists?: No such file or directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'not_exists' --> 'dir_no-write' 463s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/not_exists?: No such file or directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'not_exists' --> 'dir-target' 463s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/not_exists: No such file or directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'lost_symlink' --> 'dir-target' 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'lost_symlink' --> '.' 463s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/lost_symlink: File exists 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'lost_symlink' --> 'target-file' 463s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/target-file/lost_symlink: Not a directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'lost_symlink' --> 'not_exists' 463s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 463s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 463s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 463s ok 8 /live-g-file/test_copy_move 463s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir1 463s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir1: Directory not empty 463s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir2 463s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir2: No such file or directory 463s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/executable_file 463s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/readonly_file 463s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_pr?i?lis? z 463s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/not_exists 463s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/not_exists: No such file or directory 463s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/not_exists 463s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/not_exists: No such file or directory 463s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_no-execute/file 463s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/dir_no-execute/file: No such file or directory 463s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-JKHLK2/testdir_live-g-file/lost_symlink 463s ok 9 /live-g-file/test_delete 463s # We do not have CAP_DAC_OVERRIDE or equivalent 463s ok 10 /live-g-file/test_make_directory_with_parents 463s # Cleaning target testing structure in 'testdir_live-g-file'... 463s # deleting 'dir1' 463s # deleting 'subdir' 463s # deleting 'dir-target' 463s # deleting 'dir2' 463s # deleting 'target-file' 463s # deleting 'normal_file-symlink' 463s # deleting 'pattern_file' 463s # deleting 'executable_file' 463s # deleting 'private_file' 463s # deleting 'normal_file2' 463s # deleting 'UTF_pr?i?lis? z' 463s # deleting 'lost_symlink' 463s # deleting 'dir_no-access' 463s # deleting 'dir_no-write' 463s # deleting 'target-file' 463s # deleting 'normal_file' 463s # deleting 'normal_file-symlink' 463s # deleting 'executable_file~' 463s # deleting 'private_file' 463s # deleting 'normal_file2~' 463s # deleting 'a' 463s # deleting 'UTF_pr?i?lis? z' 463s # deleting 'dir_hidden' 463s # deleting '.a-hidden-file' 463s # deleting 'file-in-.hidden1' 463s # deleting '.hidden' 463s # deleting 'file-in-.hidden2' 463s # deleting 'pattern_file' 463s # deleting 'normal_file2' 463s # deleting 'not_exists2' 463s # deleting 'not_exists3' 463s # deleting 'not_exists4' 463s ok 11 /live-g-file/final_clean 463s # Start of test_unix_is_mountpoint tests 463s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 463s ok 13 /live-g-file/test_unix_is_mountpoint/proc 463s # End of test_unix_is_mountpoint tests 463s # End of live-g-file tests 463s ok - glib/live-g-file.test 463s # Running test: glib/simple-proxy.test 463s TAP version 13 463s # random seed: R02Se0868fc8519fff377ac300d6ac8b6717 463s 1..3 463s # Start of static-proxy tests 463s ok 1 /static-proxy/uri 463s ok 2 /static-proxy/socks 463s ok 3 /static-proxy/ignore 463s # End of static-proxy tests 463s ok - glib/simple-proxy.test 463s # Running test: glib/g-icon.test 463s TAP version 13 463s # random seed: R02Sac647ee63ea222d046941977457c2615 463s 1..6 463s # Start of icons tests 463s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 463s ok 1 /icons/to-string 463s ok 2 /icons/serialize 463s ok 3 /icons/themed 463s ok 4 /icons/emblemed 463s ok 5 /icons/file 463s ok 6 /icons/bytes 463s # End of icons tests 463s ok - glib/g-icon.test 463s # Running test: glib/cxx-2b.test 463s TAP version 13 463s # random seed: R02Scc307cfa65f92a1a4d6182155570d641 463s 1..2 463s # Start of gtask tests 463s # 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. 463s ok 1 /gtask/name 463s # Start of name tests 463s # 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. 463s ok 2 /gtask/name/macro-wrapper 463s # End of name tests 463s # End of gtask tests 463s ok - glib/cxx-2b.test 463s # Running test: glib/properties-refcount2.test 463s TAP version 13 463s # random seed: R02S7c7693dc9e24e345bffcfc6d3c505742 463s 1..1 463s # Start of gobject tests 463s # Start of refcount tests 463s # init 0x2aa1431d770 463s # 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 463s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # . 464s # dispose 0x2aa1431d770! 464s # 464s ok 1 /gobject/refcount/properties-2 464s # slow test /gobject/refcount/properties-2 executed in 1.54 secs 464s # End of refcount tests 464s # End of gobject tests 464s ok - glib/properties-refcount2.test 464s # Running test: glib/markup-escape.test 464s TAP version 13 464s # random seed: R02S6d9f9568973b40ec6813c47ef355b7bb 464s 1..41 464s # Start of markup tests 464s ok 1 /markup/format 464s # Start of escape-text tests 464s ok 2 /markup/escape-text/0 464s ok 3 /markup/escape-text/1 464s ok 4 /markup/escape-text/2 464s ok 5 /markup/escape-text/3 464s ok 6 /markup/escape-text/4 464s ok 7 /markup/escape-text/5 464s ok 8 /markup/escape-text/6 464s ok 9 /markup/escape-text/7 464s ok 10 /markup/escape-text/8 464s ok 11 /markup/escape-text/9 464s ok 12 /markup/escape-text/10 464s ok 13 /markup/escape-text/11 464s ok 14 /markup/escape-text/12 464s ok 15 /markup/escape-text/13 464s ok 16 /markup/escape-text/14 464s ok 17 /markup/escape-text/15 464s ok 18 /markup/escape-text/16 464s ok 19 /markup/escape-text/17 464s ok 20 /markup/escape-text/18 464s ok 21 /markup/escape-text/19 464s ok 22 /markup/escape-text/20 464s ok 23 /markup/escape-text/21 464s ok 24 /markup/escape-text/22 464s # End of escape-text tests 464s # Start of escape-unichar tests 464s ok 25 /markup/escape-unichar/0 464s ok 26 /markup/escape-unichar/1 464s ok 27 /markup/escape-unichar/2 464s ok 28 /markup/escape-unichar/3 464s ok 29 /markup/escape-unichar/4 464s ok 30 /markup/escape-unichar/5 464s ok 31 /markup/escape-unichar/6 464s ok 32 /markup/escape-unichar/7 464s ok 33 /markup/escape-unichar/8 464s ok 34 /markup/escape-unichar/9 464s ok 35 /markup/escape-unichar/10 464s ok 36 /markup/escape-unichar/11 464s ok 37 /markup/escape-unichar/12 464s ok 38 /markup/escape-unichar/13 464s ok 39 /markup/escape-unichar/14 464s ok 40 /markup/escape-unichar/15 464s ok 41 /markup/escape-unichar/16 464s # End of escape-unichar tests 464s # End of markup tests 464s ok - glib/markup-escape.test 464s # Running test: glib/gdbus-proxy-unique-name.test 464s TAP version 13 464s # random seed: R02S3d7ec3e56d29bc361fc080b4269437e5 464s 1..1 464s # Start of gdbus tests 464s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_ZYTQK2/gdbus/proxy-unique-name/.dirs/home 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_ZYTQK2/gdbus/proxy-unique-name/.dirs/cache 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_ZYTQK2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_ZYTQK2/gdbus/proxy-unique-name/.dirs/system-config2 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_ZYTQK2/gdbus/proxy-unique-name/.dirs/config 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_ZYTQK2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_ZYTQK2/gdbus/proxy-unique-name/.dirs/system-data2 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_ZYTQK2/gdbus/proxy-unique-name/.dirs/data 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_ZYTQK2/gdbus/proxy-unique-name/.dirs/state 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_ZYTQK2/gdbus/proxy-unique-name/.dirs/runtime 464s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 464s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 464s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 464s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 464s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 464s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 464s ok 1 /gdbus/proxy-unique-name 464s # End of gdbus tests 464s ok - glib/gdbus-proxy-unique-name.test 464s # Running test: glib/struct-info.test 464s TAP version 13 464s # random seed: R02S0184bb06000bca22dac29de14f7e4fa8 464s 1..4 464s # Start of struct-info tests 464s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_YC1SK2/struct-info/field-iterators/.dirs/home 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_YC1SK2/struct-info/field-iterators/.dirs/cache 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_YC1SK2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_YC1SK2/struct-info/field-iterators/.dirs/system-config2 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_YC1SK2/struct-info/field-iterators/.dirs/config 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_YC1SK2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_YC1SK2/struct-info/field-iterators/.dirs/system-data2 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_YC1SK2/struct-info/field-iterators/.dirs/data 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_YC1SK2/struct-info/field-iterators/.dirs/state 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_YC1SK2/struct-info/field-iterators/.dirs/runtime 464s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 464s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 464s ok 1 /struct-info/field-iterators 464s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_YC1SK2/struct-info/sizeof-gvalue/.dirs/home 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_YC1SK2/struct-info/sizeof-gvalue/.dirs/cache 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_YC1SK2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_YC1SK2/struct-info/sizeof-gvalue/.dirs/system-config2 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_YC1SK2/struct-info/sizeof-gvalue/.dirs/config 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_YC1SK2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_YC1SK2/struct-info/sizeof-gvalue/.dirs/system-data2 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_YC1SK2/struct-info/sizeof-gvalue/.dirs/data 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_YC1SK2/struct-info/sizeof-gvalue/.dirs/state 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_YC1SK2/struct-info/sizeof-gvalue/.dirs/runtime 464s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 464s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 464s ok 2 /struct-info/sizeof-gvalue 464s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_YC1SK2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_YC1SK2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_YC1SK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_YC1SK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_YC1SK2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_YC1SK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_YC1SK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_YC1SK2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_YC1SK2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_YC1SK2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 464s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 464s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 464s ok 3 /struct-info/is-pointer-for-struct-method-arg 464s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_YC1SK2/struct-info/boxed/.dirs/home 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_YC1SK2/struct-info/boxed/.dirs/cache 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_YC1SK2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_YC1SK2/struct-info/boxed/.dirs/system-config2 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_YC1SK2/struct-info/boxed/.dirs/config 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_YC1SK2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_YC1SK2/struct-info/boxed/.dirs/system-data2 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_YC1SK2/struct-info/boxed/.dirs/data 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_YC1SK2/struct-info/boxed/.dirs/state 464s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_YC1SK2/struct-info/boxed/.dirs/runtime 464s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 464s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 464s ok 4 /struct-info/boxed 464s # End of struct-info tests 464s ok - glib/struct-info.test 464s # Running test: glib/win32-appinfo.test 464s TAP version 13 464s # random seed: R02S46d7c0897c6ac7c97c011f2b6d814afb 464s 1..5 464s # Start of appinfo tests 464s ok 1 /appinfo/utf16-strfuncs 464s ok 2 /appinfo/win32-extract-executable 464s ok 3 /appinfo/win32-rundll32-fixup 464s ok 4 /appinfo/win32-parse-filename 464s ok 5 /appinfo/win32-utf16-conversion-fail 464s # Start of subprocess tests 464s # End of subprocess tests 464s # End of appinfo tests 464s ok - glib/win32-appinfo.test 464s # Running test: glib/gdatetime.test 464s TAP version 13 464s # random seed: R02Seac94cbf1edb090624183308df6a0cff 464s 1..68 464s # Start of GDateTime tests 464s # Bug Reference: http://bugzilla.gnome.org/702674 464s ok 1 /GDateTime/invalid 464s ok 2 /GDateTime/add_days 464s ok 3 /GDateTime/add_full 464s ok 4 /GDateTime/add_hours 464s ok 5 /GDateTime/add_minutes 464s ok 6 /GDateTime/add_months 464s ok 7 /GDateTime/add_seconds 464s ok 8 /GDateTime/add_weeks 464s ok 9 /GDateTime/add_years 464s ok 10 /GDateTime/compare 464s ok 11 /GDateTime/diff 464s ok 12 /GDateTime/equal 464s ok 13 /GDateTime/get_day_of_week 464s ok 14 /GDateTime/get_day_of_month 464s ok 15 /GDateTime/get_day_of_year 464s ok 16 /GDateTime/get_hour 464s ok 17 /GDateTime/get_microsecond 464s ok 18 /GDateTime/get_minute 464s ok 19 /GDateTime/get_month 464s ok 20 /GDateTime/get_second 464s ok 21 /GDateTime/get_utc_offset 464s ok 22 /GDateTime/get_year 464s ok 23 /GDateTime/hash 464s ok 24 /GDateTime/new_from_unix 464s ok 25 /GDateTime/new_from_unix_utc 464s ok 26 /GDateTime/new_from_timeval 464s ok 27 /GDateTime/new_from_timeval_utc 464s ok 28 /GDateTime/new_from_iso8601 464s ok 29 /GDateTime/new_full 464s ok 30 /GDateTime/now 464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 464s ok 31 /GDateTime/test-6-days-until-end-of-the-month 464s ok 32 /GDateTime/printf 464s ok 33 /GDateTime/non_utf8_printf 464s ok 34 /GDateTime/format_unrepresentable 464s ok 35 /GDateTime/format_iso8601 465s ok 36 /GDateTime/strftime 465s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 465s # Bug Reference: http://bugzilla.gnome.org/749206 465s ok 38 /GDateTime/month_names 465s ok 39 /GDateTime/to_local 465s ok 40 /GDateTime/to_unix 465s ok 41 /GDateTime/to_timeval 465s ok 42 /GDateTime/to_utc 465s ok 43 /GDateTime/now_utc 465s ok 44 /GDateTime/dst 465s # Bug Reference: http://bugzilla.gnome.org/642935 465s ok 45 /GDateTime/test_z 467s ok 46 /GDateTime/test-all-dates 467s # slow test /GDateTime/test-all-dates executed in 2.37 secs 467s ok 47 /GDateTime/unix_usec 467s # Start of new_from_unix tests 467s # Bug Reference: http://bugzilla.gnome.org/782089 467s ok 48 /GDateTime/new_from_unix/overflow 467s # End of new_from_unix tests 467s # Start of new_from_timeval tests 467s # Bug Reference: http://bugzilla.gnome.org/782089 467s # Maximum supported GTimeVal.tv_sec = 253402300799 467s ok 49 /GDateTime/new_from_timeval/overflow 467s # End of new_from_timeval tests 467s # Start of new_from_iso8601 tests 467s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 467s # Vector 0: 1990-11-01T10:21:17Z 467s # Vector 1: 19901101T102117Z 467s # Vector 2: 1970-01-01T00:00:17.12Z 467s # Vector 3: 1970-01-01T00:00:17.1234Z 467s # Vector 4: 1970-01-01T00:00:17.123456Z 467s # Vector 5: 1980-02-22T12:36:00+02:00 467s # Vector 6: 1990-12-31T15:59:60-08:00 467s # Vector 7: 467s # Vector 8: x 467s # Vector 9: 123x 467s # Vector 10: 2001-10+x 467s # Vector 11: 1980-02-22T 467s # Vector 12: 2001-10-08Tx 467s # Vector 13: 2001-10-08T10:11x 467s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 467s # Vector 15: 1980-02-22T10:36:00Zulu 467s # Vector 16: 2T0+819855292164632335 467s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 467s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 467s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 467s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 467s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 467s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 467s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 467s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 467s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 467s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 467s # Vector 27: 20180803T140805.446178377+0100 467s # Vector 28: 21474836480803T140805.446178377+0100 467s # Vector 29: 20181303T140805.446178377+0100 467s # Vector 30: 20180003T140805.446178377+0100 467s # Vector 31: 20180800T140805.446178377+0100 467s # Vector 32: 20180832T140805.446178377+0100 467s # Vector 33: 20180803T240805.446178377+0100 467s # Vector 34: 20180803T146005.446178377+0100 467s # Vector 35: 20180803T140863.446178377+0100 467s # Vector 36: 20180803T140805.446178377+10000 467s # Vector 37: -0005-01-01T00:00:00Z 467s # Vector 38: 2018-08-06 467s # Vector 39: 20180803T140805,446178377+0100 467s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 467s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 467s # Vector 42: 1990-11-01T10:21:17 467s # Vector 43: 1719W462 407777-07 467s # Vector 44: 4011090 260528Z 467s # Vector 45: 0000W011 228214-22 467s ok 50 /GDateTime/new_from_iso8601/2 467s # End of new_from_iso8601 tests 467s # Start of format_mixed tests 467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 467s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 467s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 467s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 467s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 467s # End of format_mixed tests 467s # Start of strftime tests 467s ok 55 /GDateTime/strftime/error_handling 467s # End of strftime tests 467s # Start of eras tests 467s ok 56 /GDateTime/eras/japan # SKIP nl_langinfo(ERA) not supported, skipping era tests 467s ok 57 /GDateTime/eras/thailand # SKIP nl_langinfo(ERA) not supported, skipping era tests 467s # Vector 0: 467s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 467s # 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年 467s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 467s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 467s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 467s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 467s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 467s # Vector 8: + 467s # Vector 9: +: 467s # Vector 10: +:: 467s # Vector 11: +:200 467s # Vector 12: +:2nonsense 467s # Vector 13: +:2nonsense: 467s # Vector 14: +:2: 467s # Vector 15: +:2:: 467s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 467s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 467s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 467s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 467s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 467s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 467s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 467s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 467s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 467s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 467s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 467s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 467s # Vector 28: +:2:2020/01/01 467s # Vector 29: +:2:2020/01/01: 467s # Vector 30: +:2:2020/01/01:: 467s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 467s # Vector 32: +:2:2020/01/01:+* 467s # Vector 33: +:2:2020/01/01:+*: 467s # Vector 34: +:2:2020/01/01:+*:: 467s # Vector 35: +:2:2020/01/01:+*:令和 467s # Vector 36: +:2:2020/01/01:+*:令和: 467s # Vector 37: +:2:2020/01/01:+*:令和:; 467s ok 58 /GDateTime/eras/parsing 467s # End of eras tests 467s # End of GDateTime tests 467s # Start of GTimeZone tests 467s ok 59 /GTimeZone/find-interval 467s ok 60 /GTimeZone/adjust-time 467s ok 61 /GTimeZone/no-header 467s ok 62 /GTimeZone/no-header-identifier 467s ok 63 /GTimeZone/posix-parse 467s # Bug Reference: http://bugzilla.gnome.org/697715 467s ok 64 /GTimeZone/floating-point 467s # System time zone identifier: Etc/UTC 467s ok 65 /GTimeZone/identifier 467s # Vector 0: -158400 467s # Vector 1: -10000 467s # Vector 2: -3600 467s # Vector 3: -61 467s # Vector 4: -60 467s # Vector 5: -59 467s # Vector 6: 0 467s # Vector 7: 59 467s # Vector 8: 60 467s # Vector 9: 61 467s # Vector 10: 3600 467s # Vector 11: 10000 467s # Vector 12: 158400 467s ok 66 /GTimeZone/new-offset 467s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 467s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 467s ok 67 /GTimeZone/parse-rfc8536 467s # /GTimeZone/caching summary: GTimeZone instances are cached 467s ok 68 /GTimeZone/caching 467s # End of GTimeZone tests 467s ok - glib/gdatetime.test 467s # Running test: glib/642026.test 467s TAP version 13 467s # random seed: R02Sa75a7c76e84a631ad31ab72a761150c7 467s 1..1 467s # Start of glib tests 467s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 467s ok 1 /glib/642026 467s # End of glib tests 467s ok - glib/642026.test 467s # Running test: glib/refcount-macro.test 467s TAP version 13 467s # random seed: R02S4e40e3885c6a90dd4695e724354e541c 467s 1..4 467s # Start of refcount tests 467s ok 1 /refcount/grefcount 467s ok 2 /refcount/gatomicrefcount 467s # Start of grefcount tests 467s ok 3 /refcount/grefcount/saturation 467s # End of grefcount tests 467s # Start of gatomicrefcount tests 467s ok 4 /refcount/gatomicrefcount/saturation 467s # End of gatomicrefcount tests 467s # End of refcount tests 467s ok - glib/refcount-macro.test 467s # Running test: glib/gdbus-proxy.test 467s TAP version 13 467s # random seed: R02S323d4a195447bea30d4e4a7fb8bec0d2 467s 1..5 467s # Start of gdbus tests 467s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/.dirs/home 467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/.dirs/cache 467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/.dirs/system-config2 467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/.dirs/config 467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/.dirs/system-data2 467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/.dirs/data 467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/.dirs/state 467s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/.dirs/runtime 467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 468s # Executing: glib/gdbus-proxy.test 469s ok 1 /gdbus/proxy 469s # slow test /gdbus/proxy executed in 1.73 secs 469s # Start of proxy tests 469s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-properties/.dirs/home 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-properties/.dirs/cache 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-properties/.dirs/system-config2 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-properties/.dirs/config 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-properties/.dirs/system-data2 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-properties/.dirs/data 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-properties/.dirs/state 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-properties/.dirs/runtime 469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 469s ok 2 /gdbus/proxy/no-properties 469s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/wellknown-noauto/.dirs/home 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/wellknown-noauto/.dirs/cache 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/wellknown-noauto/.dirs/config 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/wellknown-noauto/.dirs/data 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/wellknown-noauto/.dirs/state 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/wellknown-noauto/.dirs/runtime 469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 469s ok 3 /gdbus/proxy/wellknown-noauto 469s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/async/.dirs/home 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/async/.dirs/cache 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/async/.dirs/system-config2 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/async/.dirs/config 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/async/.dirs/system-data2 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/async/.dirs/data 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/async/.dirs/state 469s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/async/.dirs/runtime 469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 471s ok 4 /gdbus/proxy/async 471s # slow test /gdbus/proxy/async executed in 1.72 secs 471s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-match-rule/.dirs/home 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-match-rule/.dirs/cache 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-match-rule/.dirs/system-config2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-match-rule/.dirs/config 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-match-rule/.dirs/system-data2 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-match-rule/.dirs/data 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-match-rule/.dirs/state 471s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_ZYXVK2/gdbus/proxy/no-match-rule/.dirs/runtime 471s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 471s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 472s ok 5 /gdbus/proxy/no-match-rule 472s # slow test /gdbus/proxy/no-match-rule executed in 1.74 secs 472s # End of proxy tests 472s # End of gdbus tests 472s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 472s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 472s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 472s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 472s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 472s ok - glib/gdbus-proxy.test 472s # Running test: glib/dynamictests.test 472s TAP version 13 472s # random seed: R02S2544af4ca80a6a580e357695960ffe34 472s 1..2 472s # Start of GObject tests 472s ok 1 /GObject/threaded-dynamic-ref-unref-init 472s ok 2 /GObject/dynamic-interface-properties 472s # End of GObject tests 472s ok - glib/dynamictests.test 472s # Running test: glib/gsubprocess.test 472s TAP version 13 472s # random seed: R02S1e160c74a9f301fe77b640a922fcb62d 472s 1..83 472s # Start of gsubprocess tests 472s ok 1 /gsubprocess/noop 472s ok 2 /gsubprocess/noop-all-to-null 472s ok 3 /gsubprocess/noop-no-wait 472s ok 4 /gsubprocess/noop-stdin-inherit 472s ok 5 /gsubprocess/search-path 472s ok 6 /gsubprocess/search-path-from-envp 473s # Executing: glib/gsubprocess.test 475s ok 7 /gsubprocess/signal 475s # slow test /gsubprocess/signal executed in 2.78 secs 475s ok 8 /gsubprocess/exit1 475s ok 9 /gsubprocess/echo1 475s ok 10 /gsubprocess/echo-merged 475s ok 11 /gsubprocess/cat-utf8 476s ok 12 /gsubprocess/cat-eof 476s # slow test /gsubprocess/cat-eof executed in 1.00 secs 478s # Executing: glib/gsubprocess.test 479s ok 13 /gsubprocess/multi1 479s # slow test /gsubprocess/multi1 executed in 3.02 secs 479s ok 14 /gsubprocess/communicate 482s ok 15 /gsubprocess/terminate 482s # slow test /gsubprocess/terminate executed in 2.96 secs 482s ok 16 /gsubprocess/env 482s ok 17 /gsubprocess/cwd 482s ok 18 /gsubprocess/launcher-close 482s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 482s ok 19 /gsubprocess/stdout-file 482s ok 20 /gsubprocess/stdout-fd 482s ok 21 /gsubprocess/child-setup 482s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 482s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 482s ok 22 /gsubprocess/launcher-environment 482s # Start of exit1 tests 482s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 482s ok 23 /gsubprocess/exit1/cancel 482s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 482s ok 24 /gsubprocess/exit1/cancel_in_cb 482s # End of exit1 tests 482s # Start of communicate tests 482s ok 25 /gsubprocess/communicate/cancelled 482s ok 26 /gsubprocess/communicate/async 482s ok 27 /gsubprocess/communicate/utf8 482s # hello world 482s ok 28 /gsubprocess/communicate/no-pipes 482s ok 29 /gsubprocess/communicate/separate-stderr 482s ok 30 /gsubprocess/communicate/stdout-only 482s # hello world 482s ok 31 /gsubprocess/communicate/stderr-only 482s ok 32 /gsubprocess/communicate/stdout-silence 482s ok 33 /gsubprocess/communicate/nothing 482s # Start of async tests 482s ok 34 /gsubprocess/communicate/async/cancelled 482s # hello world 482s ok 35 /gsubprocess/communicate/async/no-pipes 482s ok 36 /gsubprocess/communicate/async/separate-stderr 482s ok 37 /gsubprocess/communicate/async/stdout-only 482s # hello world 482s ok 38 /gsubprocess/communicate/async/stderr-only 482s ok 39 /gsubprocess/communicate/async/stdout-silence 482s # Start of cancelled tests 482s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 482s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 482s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 482s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 482s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 482s # End of cancelled tests 482s # End of async tests 482s # Start of utf8 tests 482s ok 45 /gsubprocess/communicate/utf8/cancelled 482s ok 46 /gsubprocess/communicate/utf8/async 482s # hello world 482s ok 47 /gsubprocess/communicate/utf8/no-pipes 482s ok 48 /gsubprocess/communicate/utf8/separate-stderr 482s ok 49 /gsubprocess/communicate/utf8/stdout-only 482s # hello world 482s ok 50 /gsubprocess/communicate/utf8/stderr-only 482s ok 51 /gsubprocess/communicate/utf8/stdout-silence 482s ok 52 /gsubprocess/communicate/utf8/invalid 482s # Start of async tests 482s ok 53 /gsubprocess/communicate/utf8/async/cancelled 482s # hello world 482s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 482s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 482s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 482s # hello world 482s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 482s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 482s ok 59 /gsubprocess/communicate/utf8/async/invalid 482s # Start of cancelled tests 482s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 482s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 482s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 482s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 482s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 482s # End of cancelled tests 482s # End of async tests 482s # Start of cancelled tests 482s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 482s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 482s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 482s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 482s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 482s # End of cancelled tests 482s # End of utf8 tests 482s # Start of cancelled tests 482s ok 70 /gsubprocess/communicate/cancelled/no-pipes 482s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 482s ok 72 /gsubprocess/communicate/cancelled/stdout-only 482s ok 73 /gsubprocess/communicate/cancelled/stderr-only 482s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 482s # End of cancelled tests 482s # End of communicate tests 482s # Start of env tests 482s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 482s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 482s ok 75 /gsubprocess/env/inherit 482s # End of env tests 482s # Start of pass-fd tests 482s ok 76 /gsubprocess/pass-fd/basic 482s ok 77 /gsubprocess/pass-fd/empty-child-setup 482s ok 78 /gsubprocess/pass-fd/inherit-fds 482s # End of pass-fd tests 482s # Start of fd-conflation tests 482s ok 79 /gsubprocess/fd-conflation/basic 482s ok 80 /gsubprocess/fd-conflation/empty-child-setup 482s ok 81 /gsubprocess/fd-conflation/inherit-fds 482s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 482s # End of fd-conflation tests 482s # Start of exit-status tests 482s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 482s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 482s ok 83 /gsubprocess/exit-status/trapped 482s # End of exit-status tests 482s # End of gsubprocess tests 482s ok - glib/gsubprocess.test 482s # Running test: glib/environment.test 482s TAP version 13 482s # random seed: R02S7113de5b6dc5e946f7473c98608329c6 482s 1..6 482s # Start of environ tests 482s # /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. 482s ok 1 /environ/listenv 482s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 482s ok 2 /environ/getenv 482s ok 3 /environ/setenv 482s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 482s ok 4 /environ/array 482s # /environ/null summary: Test getting and setting variables on a NULL envp array. 482s ok 5 /environ/null 482s # /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. 482s ok 6 /environ/case 482s # End of environ tests 482s ok - glib/environment.test 482s # Running test: glib/cond.test 482s TAP version 13 482s # random seed: R02S4553f66befd9f377731d455c9f1f6d6a 482s 1..4 482s # Start of thread tests 482s ok 1 /thread/cond1 482s ok 2 /thread/cond2 482s # Start of cond tests 483s # Executing: glib/cond.test 483s ok 3 /thread/cond/wait-until 483s # slow test /thread/cond/wait-until executed in 1.02 secs 483s # Start of wait-until tests 483s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 483s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 484s ok 4 /thread/cond/wait-until/contended-and-interrupted 484s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 484s # End of wait-until tests 484s # End of cond tests 484s # End of thread tests 484s ok - glib/cond.test 484s # Running test: glib/notify-init2.test 484s TAP version 13 484s # random seed: R02Sd75ffa11c891707c300c8ed099a55225 484s 1..1 484s # Start of properties tests 484s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 484s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 484s ok 1 /properties/notify-in-init2 484s # End of properties tests 484s ok - glib/notify-init2.test 484s # Running test: glib/portal-support-env-var.test 484s TAP version 13 484s # random seed: R02S2576fcad4272ac95fe8cc932b0a25399 484s 1..1 484s # Start of portal-support tests 484s ok 1 /portal-support/env-var 484s # End of portal-support tests 484s ok - glib/portal-support-env-var.test 484s # Running test: glib/gdbus-close-pending.test 484s TAP version 13 484s # random seed: R02S4f775dc6bed35d81ab781adeaa2b3bae 484s 1..2 484s # Start of gdbus tests 484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_AFZMK2/gdbus/close-pending/.dirs/home 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_AFZMK2/gdbus/close-pending/.dirs/cache 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_AFZMK2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_AFZMK2/gdbus/close-pending/.dirs/system-config2 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_AFZMK2/gdbus/close-pending/.dirs/config 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_AFZMK2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_AFZMK2/gdbus/close-pending/.dirs/system-data2 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_AFZMK2/gdbus/close-pending/.dirs/data 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_AFZMK2/gdbus/close-pending/.dirs/state 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_AFZMK2/gdbus/close-pending/.dirs/runtime 485s ok 1 /gdbus/close-pending 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_AFZMK2/gdbus/unref-pending/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_AFZMK2/gdbus/unref-pending/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_AFZMK2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_AFZMK2/gdbus/unref-pending/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_AFZMK2/gdbus/unref-pending/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_AFZMK2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_AFZMK2/gdbus/unref-pending/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_AFZMK2/gdbus/unref-pending/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_AFZMK2/gdbus/unref-pending/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_AFZMK2/gdbus/unref-pending/.dirs/runtime 485s ok 2 /gdbus/unref-pending 485s # End of gdbus tests 485s ok - glib/gdbus-close-pending.test 485s # Running test: glib/642026-ec.test 485s TAP version 13 485s # random seed: R02Sb71bb56a50a44a50811e35d044ba7728 485s 1..1 485s # Start of glib tests 485s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 485s ok 1 /glib/642026 485s # End of glib tests 485s ok - glib/642026-ec.test 485s # Running test: glib/1bit-mutex.test 485s TAP version 13 485s # random seed: R02Sd9bed356bb41f36f7a42861ebc098b8d 485s 1..2 485s # Start of glib tests 485s # Start of 1bit-mutex tests 488s # Executing: glib/1bit-mutex.test 493s ok 1 /glib/1bit-mutex/int 493s # slow test /glib/1bit-mutex/int executed in 7.81 secs 493s # Executing: glib/1bit-mutex.test 498s # Executing: glib/1bit-mutex.test 500s ok 2 /glib/1bit-mutex/pointer 500s # slow test /glib/1bit-mutex/pointer executed in 6.73 secs 500s # End of 1bit-mutex tests 500s # End of glib tests 500s ok - glib/1bit-mutex.test 500s # Running test: glib/memory-settings-backend.test 500s TAP version 13 500s # random seed: R02S60d96810c6c62c09e582fbf71b7a7db6 500s 1..1 500s # Start of memory-settings-backend tests 500s ok 1 /memory-settings-backend/extension-point-registered 500s # End of memory-settings-backend tests 500s ok - glib/memory-settings-backend.test 500s # Running test: glib/refstring.test 500s TAP version 13 500s # random seed: R02Sc1f0aa70bae2393c59370bed171a9fdc 500s 1..5 500s # Start of refstring tests 500s # s = 'hello, world' (0x2aa09fe85d0) 500s ok 1 /refstring/base 500s ok 2 /refstring/length 500s ok 3 /refstring/length-auto 500s ok 4 /refstring/length-nuls 500s # s = 'hello, world' (0x2aa09fe85d0) 500s # p = s = 'hello, world' (0x2aa09fe85d0) 500s # releasing p[0x2aa09fe85d0] ('hello, world') 500s # p = 'goodbye, world' (0x2aa09fe86a0) 500s # releasing p[0x2aa09fe86a0] ('goodbye, world') 500s # releasing s[0x2aa09fe85d0] ('hello, world') 500s ok 5 /refstring/intern 500s # End of refstring tests 500s ok - glib/refstring.test 500s # Running test: glib/gdbus-proxy-threads.test 500s TAP version 13 500s # random seed: R02Sf3a0175d309d37f6a225aba1340caa1c 500s 1..1 500s # Start of gdbus tests 500s # Start of proxy tests 500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_HZP1K2/gdbus/proxy/vs-threads/.dirs/home 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_HZP1K2/gdbus/proxy/vs-threads/.dirs/cache 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_HZP1K2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_HZP1K2/gdbus/proxy/vs-threads/.dirs/system-config2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_HZP1K2/gdbus/proxy/vs-threads/.dirs/config 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_HZP1K2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_HZP1K2/gdbus/proxy/vs-threads/.dirs/system-data2 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_HZP1K2/gdbus/proxy/vs-threads/.dirs/data 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_HZP1K2/gdbus/proxy/vs-threads/.dirs/state 500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_HZP1K2/gdbus/proxy/vs-threads/.dirs/runtime 500s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 503s # Executing: glib/gdbus-proxy-threads.test 504s ok 1 /gdbus/proxy/vs-threads 504s # slow test /gdbus/proxy/vs-threads executed in 3.84 secs 504s # End of proxy tests 504s # End of gdbus tests 504s cleaning up pid 4317 504s ok - glib/gdbus-proxy-threads.test 504s # Running test: glib/gdbus-test-codegen.test 504s TAP version 13 504s # random seed: R02S6bc86aed64f0292cceb511d92a541daa 504s 1..8 504s # Start of gdbus tests 504s # Start of codegen tests 504s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/annotations/.dirs/home 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/annotations/.dirs/cache 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/annotations/.dirs/system-config2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/annotations/.dirs/config 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/annotations/.dirs/system-data2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/annotations/.dirs/data 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/annotations/.dirs/state 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/annotations/.dirs/runtime 504s ok 1 /gdbus/codegen/annotations 504s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/interface_stability/.dirs/home 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/interface_stability/.dirs/cache 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/interface_stability/.dirs/system-config2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/interface_stability/.dirs/config 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/interface_stability/.dirs/system-data2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/interface_stability/.dirs/data 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/interface_stability/.dirs/state 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/interface_stability/.dirs/runtime 504s ok 2 /gdbus/codegen/interface_stability 504s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/object-manager/.dirs/home 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/object-manager/.dirs/cache 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/object-manager/.dirs/system-config2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/object-manager/.dirs/config 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/object-manager/.dirs/system-data2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/object-manager/.dirs/data 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/object-manager/.dirs/state 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/object-manager/.dirs/runtime 504s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 504s ok 3 /gdbus/codegen/object-manager 504s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/property-naming/.dirs/home 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/property-naming/.dirs/cache 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/property-naming/.dirs/system-config2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/property-naming/.dirs/config 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/property-naming/.dirs/system-data2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/property-naming/.dirs/data 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/property-naming/.dirs/state 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/property-naming/.dirs/runtime 504s ok 4 /gdbus/codegen/property-naming 504s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/autocleanups/.dirs/home 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/autocleanups/.dirs/cache 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/autocleanups/.dirs/system-config2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/autocleanups/.dirs/config 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/autocleanups/.dirs/system-data2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/autocleanups/.dirs/data 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/autocleanups/.dirs/state 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/autocleanups/.dirs/runtime 504s ok 5 /gdbus/codegen/autocleanups 504s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/deprecations/.dirs/home 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/deprecations/.dirs/cache 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/deprecations/.dirs/system-config2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/deprecations/.dirs/config 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/deprecations/.dirs/system-data2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/deprecations/.dirs/data 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/deprecations/.dirs/state 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/deprecations/.dirs/runtime 504s ok 6 /gdbus/codegen/deprecations 504s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/standalone-interface-info/.dirs/home 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/standalone-interface-info/.dirs/cache 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/standalone-interface-info/.dirs/config 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/standalone-interface-info/.dirs/data 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/standalone-interface-info/.dirs/state 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/standalone-interface-info/.dirs/runtime 504s ok 7 /gdbus/codegen/standalone-interface-info 504s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/unix-fd-list/.dirs/home 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/unix-fd-list/.dirs/cache 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/unix-fd-list/.dirs/system-config2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/unix-fd-list/.dirs/config 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/unix-fd-list/.dirs/system-data2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/unix-fd-list/.dirs/data 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/unix-fd-list/.dirs/state 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_8IA2K2/gdbus/codegen/unix-fd-list/.dirs/runtime 504s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 504s ok 8 /gdbus/codegen/unix-fd-list 504s # End of codegen tests 504s # End of gdbus tests 504s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 504s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 504s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 504s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 504s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 504s ok - glib/gdbus-test-codegen.test 504s # Running test: glib/scannerapi.test 504s TAP version 13 504s # random seed: R02Sbf0070d9b5bf7edbe6d7f3f493a6eec2 504s 1..4 504s # Start of scanner tests 504s ok 1 /scanner/warn 504s ok 2 /scanner/error 504s ok 3 /scanner/symbols 504s ok 4 /scanner/tokens 504s # End of scanner tests 504s ok - glib/scannerapi.test 504s # Running test: glib/gio-tool.py.test 504s TAP version 13 504s ok 1 __main__.TestGioTool.test_help 504s # tmpdir: /tmp/tmpa0w9h23h 504s # gio: /usr/bin/gio 504s # Running: ['/usr/bin/gio', '--help'] 504s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 504s # Output: Usage: 504s # gio COMMAND [ARGS…] 504s # 504s # Commands: 504s # help Print help 504s # version Print version 504s # cat Concatenate files to standard output 504s # copy Copy one or more files 504s # info Show information about locations 504s # launch Launch an application from a desktop file 504s # list List the contents of locations 504s # mime Get or set the handler for a mimetype 504s # mkdir Create directories 504s # monitor Monitor files and directories for changes 504s # mount Mount or unmount the locations 504s # move Move one or more files 504s # open Open files with the default application 504s # rename Rename a file 504s # remove Delete one or more files 504s # save Read from standard input and save 504s # set Set a file attribute 504s # trash Move files or directories to the trash 504s # tree Lists the contents of locations in a tree 504s # 504s # Use “gio help COMMAND” to get detailed help. 504s # Running: ['/usr/bin/gio', 'help'] 504s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 504s # Output: Usage: 504s # gio COMMAND [ARGS…] 504s # 504s # Commands: 504s # help Print help 504s # version Print version 504s # cat Concatenate files to standard output 504s # copy Copy one or more files 504s # info Show information about locations 504s # launch Launch an application from a desktop file 504s # list List the contents of locations 504s # mime Get or set the handler for a mimetype 504s # mkdir Create directories 504s # monitor Monitor files and directories for changes 504s # mount Mount or unmount the locations 504s # move Move one or more files 504s # open Open files with the default application 504s # rename Rename a file 504s # remove Delete one or more files 504s # save Read from standard input and save 504s # set Set a file attribute 504s # trash Move files or directories to the trash 504s # tree Lists the contents of locations in a tree 504s # 504s # Use “gio help COMMAND” to get detailed help. 504s ok 2 __main__.TestGioTool.test_info_non_default_attributes 504s # tmpdir: /tmp/tmpwcp2q4eu 504s # gio: /usr/bin/gio 504s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpwcp2q4eu/tmp7u6ru1rf'] 504s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 504s # Output: uri: file:///tmp/tmpwcp2q4eu/tmp7u6ru1rf 504s # local path: /tmp/tmpwcp2q4eu/tmp7u6ru1rf 504s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 504s # attributes: 504s # standard::content-type: application/x-zerosize 504s ok 3 __main__.TestGioTool.test_no_args 504s # tmpdir: /tmp/tmp80z2hkyd 504s # gio: /usr/bin/gio 504s # Running: ['/usr/bin/gio'] 504s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 504s 1..3 504s ok - glib/gio-tool.py.test 504s # Running test: glib/throws.test 504s TAP version 13 504s # random seed: R02Sa453e8b0e94fddbcf5d72a6a889829e4 504s 1..3 504s # Start of throws tests 504s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_LQF1K2/throws/invoke-gerror/.dirs/home 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_LQF1K2/throws/invoke-gerror/.dirs/cache 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_LQF1K2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_LQF1K2/throws/invoke-gerror/.dirs/system-config2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_LQF1K2/throws/invoke-gerror/.dirs/config 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_LQF1K2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_LQF1K2/throws/invoke-gerror/.dirs/system-data2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_LQF1K2/throws/invoke-gerror/.dirs/data 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_LQF1K2/throws/invoke-gerror/.dirs/state 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_LQF1K2/throws/invoke-gerror/.dirs/runtime 504s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 504s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 504s ok 1 /throws/invoke-gerror 504s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_LQF1K2/throws/vfunc-can-throw-gerror/.dirs/home 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_LQF1K2/throws/vfunc-can-throw-gerror/.dirs/cache 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_LQF1K2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_LQF1K2/throws/vfunc-can-throw-gerror/.dirs/system-config2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_LQF1K2/throws/vfunc-can-throw-gerror/.dirs/config 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_LQF1K2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_LQF1K2/throws/vfunc-can-throw-gerror/.dirs/system-data2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_LQF1K2/throws/vfunc-can-throw-gerror/.dirs/data 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_LQF1K2/throws/vfunc-can-throw-gerror/.dirs/state 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_LQF1K2/throws/vfunc-can-throw-gerror/.dirs/runtime 504s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 504s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 504s ok 2 /throws/vfunc-can-throw-gerror 504s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_LQF1K2/throws/callback-can-throw-gerror/.dirs/home 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_LQF1K2/throws/callback-can-throw-gerror/.dirs/cache 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_LQF1K2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_LQF1K2/throws/callback-can-throw-gerror/.dirs/system-config2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_LQF1K2/throws/callback-can-throw-gerror/.dirs/config 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_LQF1K2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_LQF1K2/throws/callback-can-throw-gerror/.dirs/system-data2 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_LQF1K2/throws/callback-can-throw-gerror/.dirs/data 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_LQF1K2/throws/callback-can-throw-gerror/.dirs/state 504s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_LQF1K2/throws/callback-can-throw-gerror/.dirs/runtime 504s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 504s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 504s ok 3 /throws/callback-can-throw-gerror 504s # End of throws tests 504s ok - glib/throws.test 504s # Running test: glib/references.test 504s TAP version 13 504s # random seed: R02S186348190c8a41f3dcbfe328a786ddfc 504s 1..1 504s # Start of gobject tests 504s ok 1 /gobject/references 504s # End of gobject tests 504s ok - glib/references.test 504s # Running test: glib/slice.test 504s TAP version 13 504s # random seed: R02S5d2bde3f3b758c30f9b872fbc5930328 504s 1..3 504s # Start of slice tests 504s ok 1 /slice/copy 504s ok 2 /slice/chain 504s ok 3 /slice/allocate 504s # End of slice tests 504s ok - glib/slice.test 504s # Running test: glib/accumulator.test 504s TAP version 13 504s # random seed: R02S65924a00828d0f1b34ba9f869eb18a55 504s 1..1 504s # Start of gobject tests 504s ok 1 /gobject/accumulator 504s # End of gobject tests 504s ok - glib/accumulator.test 504s # Running test: glib/spawn-multithreaded.test 504s TAP version 13 504s # random seed: R02S0afd381f39af1f547bdfb7894000ad39 504s 1..4 504s # Start of gthread tests 505s # Child 4383 (ttl 1) exited, status 0 506s # Child 4384 (ttl 2) exited, status 0 506s ok 1 /gthread/spawn-childs 506s # slow test /gthread/spawn-childs executed in 2.00 secs 506s # Created pid: 4388 (ttl 1) 506s # Created pid: 4389 (ttl 2) 507s # Child 4388 (ttl 1) exited, status 0 508s # Executing: glib/spawn-multithreaded.test 508s # Child 4389 (ttl 2) exited, status 0 508s ok 2 /gthread/spawn-childs-threads 508s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 508s ok 3 /gthread/spawn-sync 508s ok 4 /gthread/spawn-async 508s # End of gthread tests 508s ok - glib/spawn-multithreaded.test 508s # Running test: glib/autoptr-gio.test 508s TAP version 13 508s # random seed: R02S1b1b8c37bb474a138c90324b134be8df 508s 1..1 508s # Start of autoptr tests 508s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 508s ok 1 /autoptr/autoptr 508s # End of autoptr tests 508s ok - glib/autoptr-gio.test 508s # Running test: glib/gdbus-names.test 508s TAP version 13 508s # random seed: R02S53fd6a23e18528e34d688b99f0c4badf 508s 1..10 508s # Start of gdbus tests 508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S09NK2/gdbus/validate-names/.dirs/home 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/validate-names/.dirs/cache 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_S09NK2/gdbus/validate-names/.dirs/system-config2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/validate-names/.dirs/config 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_S09NK2/gdbus/validate-names/.dirs/system-data2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/validate-names/.dirs/data 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/validate-names/.dirs/state 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S09NK2/gdbus/validate-names/.dirs/runtime 508s ok 1 /gdbus/validate-names 508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-own-name/.dirs/home 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-own-name/.dirs/cache 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_S09NK2/gdbus/bus-own-name/.dirs/system-config2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-own-name/.dirs/config 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_S09NK2/gdbus/bus-own-name/.dirs/system-data2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-own-name/.dirs/data 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-own-name/.dirs/state 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S09NK2/gdbus/bus-own-name/.dirs/runtime 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 508s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s ok 2 /gdbus/bus-own-name 508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name/.dirs/home 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name/.dirs/cache 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name/.dirs/system-config2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name/.dirs/config 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name/.dirs/system-data2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name/.dirs/data 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name/.dirs/state 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name/.dirs/runtime 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 508s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s ok 3 /gdbus/bus-watch-name 508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start/.dirs/home 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start/.dirs/cache 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start/.dirs/config 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start/.dirs/data 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start/.dirs/state 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start/.dirs/runtime 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 508s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s ok 4 /gdbus/bus-watch-name-auto-start 508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 508s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 508s dbus-daemon[4410]: [session uid=1000 pid=4410] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=4401 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 508s # Acquired a message bus connection 508s dbus-daemon[4410]: [session uid=1000 pid=4410] Successfully activated service 'org.gtk.GDBus.FakeService' 508s # Acquired the name org.gtk.GDBus.FakeService 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures/.dirs/home 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures/.dirs/cache 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures/.dirs/system-config2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures/.dirs/config 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures/.dirs/system-data2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures/.dirs/data 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures/.dirs/state 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures/.dirs/runtime 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 508s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s ok 6 /gdbus/bus-watch-name-closures 508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 508s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s ok 7 /gdbus/bus-watch-name-closures-auto-start 508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-different-context/.dirs/home 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-different-context/.dirs/cache 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-different-context/.dirs/system-config2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-different-context/.dirs/config 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-different-context/.dirs/system-data2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-different-context/.dirs/data 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-different-context/.dirs/state 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S09NK2/gdbus/bus-watch-different-context/.dirs/runtime 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 508s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s ok 8 /gdbus/bus-watch-different-context 508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-unwatch-early/.dirs/home 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-unwatch-early/.dirs/cache 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_S09NK2/gdbus/bus-unwatch-early/.dirs/system-config2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-unwatch-early/.dirs/config 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_S09NK2/gdbus/bus-unwatch-early/.dirs/system-data2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-unwatch-early/.dirs/data 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/bus-unwatch-early/.dirs/state 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S09NK2/gdbus/bus-unwatch-early/.dirs/runtime 508s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 508s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s ok 9 /gdbus/bus-unwatch-early 508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_S09NK2/gdbus/escape-object-path/.dirs/home 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/escape-object-path/.dirs/cache 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_S09NK2/gdbus/escape-object-path/.dirs/system-config2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/escape-object-path/.dirs/config 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_S09NK2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_S09NK2/gdbus/escape-object-path/.dirs/system-data2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/escape-object-path/.dirs/data 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_S09NK2/gdbus/escape-object-path/.dirs/state 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_S09NK2/gdbus/escape-object-path/.dirs/runtime 508s ok 10 /gdbus/escape-object-path 508s # End of gdbus tests 508s ok - glib/gdbus-names.test 508s # Running test: glib/portal-support-flatpak-gsettings-only.test 508s TAP version 13 508s # random seed: R02Se76da066742278eddaab9893aca3545c 508s 1..1 508s # Start of portal-support tests 508s # Start of flatpak tests 508s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_S6TPK2/portal-support/flatpak/gsettings/.dirs/home 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_S6TPK2/portal-support/flatpak/gsettings/.dirs/cache 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_S6TPK2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_S6TPK2/portal-support/flatpak/gsettings/.dirs/system-config2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_S6TPK2/portal-support/flatpak/gsettings/.dirs/config 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_S6TPK2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_S6TPK2/portal-support/flatpak/gsettings/.dirs/system-data2 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_S6TPK2/portal-support/flatpak/gsettings/.dirs/data 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_S6TPK2/portal-support/flatpak/gsettings/.dirs/state 508s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_S6TPK2/portal-support/flatpak/gsettings/.dirs/runtime 508s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_S6TPK2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 508s ok 1 /portal-support/flatpak/gsettings 508s # End of flatpak tests 508s # End of portal-support tests 508s ok - glib/portal-support-flatpak-gsettings-only.test 508s # Running test: glib/gapplication.test 508s TAP version 13 508s # random seed: R02S644b7892afcaad2928909393715cf876 508s 1..24 508s # Start of gapplication tests 508s ok 1 /gapplication/no-dbus 508s ok 2 /gapplication/no-appid 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 508s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s ok 3 /gapplication/properties 508s ok 4 /gapplication/app-id 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 508s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s ok 5 /gapplication/quit 508s ok 6 /gapplication/registered 508s ok 7 /gapplication/local-actions 508s ok 8 /gapplication/local-command-line 508s ok 9 /gapplication/resource-path 508s ok 10 /gapplication/test-help 508s ok 11 /gapplication/command-line-done 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 508s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s ok 12 /gapplication/test-busy 508s ok 13 /gapplication/test-handle-local-options1 508s ok 14 /gapplication/test-handle-local-options2 508s ok 15 /gapplication/test-handle-local-options3 508s ok 16 /gapplication/api 508s ok 17 /gapplication/version 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 508s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 508s # launching subprocess 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s ok 18 /gapplication/replace 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 508s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 508s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 508s # launching subprocess 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 19 /gapplication/no-replace 509s # slow test /gapplication/no-replace executed in 0.51 secs 509s # Start of dbus tests 509s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # Message 0 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s # Message 1 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s # Message 2 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 20 /gapplication/dbus/activate 509s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # Message 0 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 509s # Message 1 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s # Message 2 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s # Message 3 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 21 /gapplication/dbus/open 509s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # Message 0 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s # Message 1 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s # Message 2 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 22 /gapplication/dbus/command-line 509s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 23 /gapplication/dbus/command-line-done 509s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 509s # Message 0 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s # Message 1 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s # Message 2 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s # Message 3 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s # Message 4 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s # Message 5 509s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 509s ok 24 /gapplication/dbus/activate-action 509s # End of dbus tests 509s # End of gapplication tests 509s ok - glib/gapplication.test 509s # Running test: glib/rwlock.test 509s TAP version 13 509s # random seed: R02Se172800a181297af9ebbf958e0b5e34c 509s 1..8 509s # Start of thread tests 509s ok 1 /thread/rwlock1 509s ok 2 /thread/rwlock2 509s ok 3 /thread/rwlock3 509s ok 4 /thread/rwlock4 509s ok 5 /thread/rwlock5 509s ok 6 /thread/rwlock6 513s # Executing: glib/rwlock.test 518s # Executing: glib/rwlock.test 518s ok 7 /thread/rwlock7 518s # slow test /thread/rwlock7 executed in 9.21 secs 518s ok 8 /thread/rwlock8 518s # End of thread tests 518s ok - glib/rwlock.test 518s # Running test: glib/timer.test 518s TAP version 13 518s # random seed: R02Sa55fb758c72a055f2370309492f254ed 518s 1..10 518s # Start of timer tests 518s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 518s ok 2 /timer/stop 518s ok 3 /timer/continue 518s ok 4 /timer/reset 518s ok 5 /timer/is_active 518s # End of timer tests 518s # Start of timeval tests 518s ok 6 /timeval/add 518s ok 7 /timeval/from-iso8601 518s ok 8 /timeval/to-iso8601 518s # Start of to-iso8601 tests 518s ok 9 /timeval/to-iso8601/overflow 518s # End of to-iso8601 tests 518s # End of timeval tests 518s # Start of usleep tests 518s ok 10 /usleep/with-zero-wait 518s # End of usleep tests 518s ok - glib/timer.test 518s # Running test: glib/option-argv0.test 518s TAP version 13 518s # random seed: R02Sfd2fb5c1934055f9d40bbcee78d11a8c 518s 1..1 518s # Start of option tests 518s ok 1 /option/argv0 518s # End of option tests 518s ok - glib/option-argv0.test 518s # Running test: glib/vfs.test 518s TAP version 13 518s # random seed: R02S996f1f03c8ef55b2a205be2a1e2487e1 518s 1..3 518s # Start of gvfs tests 518s ok 1 /gvfs/local 518s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 518s ok 2 /gvfs/register-scheme 518s # Start of resource tests 518s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 518s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 518s ok 3 /gvfs/resource/malformed-escaping 518s # End of resource tests 518s # End of gvfs tests 518s ok - glib/vfs.test 518s # Running test: glib/data-output-stream.test 518s TAP version 13 518s # random seed: R02Sdeec78ad65950666daaeafcdde6d04bc 518s 1..7 518s # Start of data-output-stream tests 518s ok 1 /data-output-stream/basic 518s ok 2 /data-output-stream/write-lines-LF 518s ok 3 /data-output-stream/write-lines-CR 518s ok 4 /data-output-stream/write-lines-CR-LF 518s ok 5 /data-output-stream/write-int 518s ok 6 /data-output-stream/seek 518s ok 7 /data-output-stream/truncate 518s # End of data-output-stream tests 518s ok - glib/data-output-stream.test 518s # Running test: glib/g-file-info-filesystem-readonly.test 518s TAP version 13 518s # random seed: R02S716700ce214496057a9d8800a77f05ea 518s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 518s 1..2 518s # Start of g-file-info-filesystem-readonly tests 518s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 518s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 518s # End of g-file-info-filesystem-readonly tests 518s ok - glib/g-file-info-filesystem-readonly.test 518s # Running test: glib/dataset.test 518s TAP version 13 518s # random seed: R02Sed9dc2f10b228480e791e30ed23d5581 518s 1..14 518s # Start of quark tests 518s ok 1 /quark/basic 518s ok 2 /quark/string 518s # End of quark tests 518s # Start of dataset tests 518s ok 3 /dataset/basic 518s ok 4 /dataset/id 518s ok 5 /dataset/full 518s ok 6 /dataset/foreach 518s ok 7 /dataset/destroy 518s # End of dataset tests 518s # Start of datalist tests 518s ok 8 /datalist/basic 518s ok 9 /datalist/id 518s ok 10 /datalist/recursive-clear 518s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 518s ok 11 /datalist/id-remove-multiple 518s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 518s ok 12 /datalist/id-remove-multiple-destroy-order 518s ok 13 /datalist/update-atomic 518s # Start of id-remove-multiple tests 518s ok 14 /datalist/id-remove-multiple/resize 518s # End of id-remove-multiple tests 518s # End of datalist tests 518s ok - glib/dataset.test 518s # Running test: glib/bitlock.test 518s TAP version 13 518s # random seed: R02Sc090ac6b2bc21d6d05d3f35eabdb4711 518s 1..1 518s # Start of bitlock tests 518s # Start of performance tests 518s # max perf: iterations per second 518s ok 1 /bitlock/performance/uncontended 518s # End of performance tests 518s # End of bitlock tests 518s ok - glib/bitlock.test 518s # Running test: glib/hook.test 518s TAP version 13 518s # random seed: R02Sf60bb08df2b20bb282eb4294d66a5766 518s 1..2 518s # Start of hook tests 518s ok 1 /hook/basics 518s ok 2 /hook/corner-cases 518s # End of hook tests 518s ok - glib/hook.test 518s # Running test: glib/qdata.test 518s TAP version 13 518s # random seed: R02Sd5d22f3c3c5d367c411d1871cb4b8267 518s 1..2 518s # Start of qdata tests 518s ok 1 /qdata/threaded 518s ok 2 /qdata/dup 518s # End of qdata tests 518s ok - glib/qdata.test 518s # Running test: glib/repository-search-paths.test 518s TAP version 13 519s # random seed: R02S1e858e7e43170bce5dbf5b9fda26caab 519s 1..4 519s # Start of repository tests 519s # Start of search-paths tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_X1PIK2/repository/search-paths/default/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_X1PIK2/repository/search-paths/default/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_X1PIK2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_X1PIK2/repository/search-paths/default/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_X1PIK2/repository/search-paths/default/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_X1PIK2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_X1PIK2/repository/search-paths/default/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_X1PIK2/repository/search-paths/default/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_X1PIK2/repository/search-paths/default/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_X1PIK2/repository/search-paths/default/.dirs/runtime 519s ok 1 /repository/search-paths/default 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_X1PIK2/repository/search-paths/prepend/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_X1PIK2/repository/search-paths/prepend/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_X1PIK2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_X1PIK2/repository/search-paths/prepend/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_X1PIK2/repository/search-paths/prepend/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_X1PIK2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_X1PIK2/repository/search-paths/prepend/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_X1PIK2/repository/search-paths/prepend/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_X1PIK2/repository/search-paths/prepend/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_X1PIK2/repository/search-paths/prepend/.dirs/runtime 519s ok 2 /repository/search-paths/prepend 519s # End of search-paths tests 519s # Start of library-paths tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_X1PIK2/repository/library-paths/default/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_X1PIK2/repository/library-paths/default/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_X1PIK2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_X1PIK2/repository/library-paths/default/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_X1PIK2/repository/library-paths/default/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_X1PIK2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_X1PIK2/repository/library-paths/default/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_X1PIK2/repository/library-paths/default/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_X1PIK2/repository/library-paths/default/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_X1PIK2/repository/library-paths/default/.dirs/runtime 519s ok 3 /repository/library-paths/default 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_X1PIK2/repository/library-paths/prepend/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_X1PIK2/repository/library-paths/prepend/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_X1PIK2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_X1PIK2/repository/library-paths/prepend/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_X1PIK2/repository/library-paths/prepend/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_X1PIK2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_X1PIK2/repository/library-paths/prepend/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_X1PIK2/repository/library-paths/prepend/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_X1PIK2/repository/library-paths/prepend/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_X1PIK2/repository/library-paths/prepend/.dirs/runtime 519s ok 4 /repository/library-paths/prepend 519s # End of library-paths tests 519s # End of repository tests 519s ok - glib/repository-search-paths.test 519s # Running test: glib/markup-collect.test 519s TAP version 13 519s # random seed: R02Sa122eb4d70c21591a6b70ba23ed5a5be 519s 1..21 519s # Start of markup tests 519s # Start of collect tests 519s ok 1 /markup/collect/0 519s ok 2 /markup/collect/1 519s ok 3 /markup/collect/2 519s ok 4 /markup/collect/3 519s ok 5 /markup/collect/4 519s ok 6 /markup/collect/5 519s ok 7 /markup/collect/6 519s ok 8 /markup/collect/7 519s ok 9 /markup/collect/8 519s ok 10 /markup/collect/9 519s ok 11 /markup/collect/10 519s ok 12 /markup/collect/11 519s ok 13 /markup/collect/12 519s ok 14 /markup/collect/13 519s ok 15 /markup/collect/14 519s ok 16 /markup/collect/15 519s ok 17 /markup/collect/16 519s ok 18 /markup/collect/17 519s ok 19 /markup/collect/18 519s ok 20 /markup/collect/19 519s ok 21 /markup/collect/cleanup 519s # End of collect tests 519s # End of markup tests 519s ok - glib/markup-collect.test 519s # Running test: glib/fdo-notification-backend.test 519s TAP version 13 519s # random seed: R02S57ae912ff460e54cd8894c22868811c8 519s 1..2 519s # Start of fdo-notification-backend tests 519s # Test constructing a GFdoNotificationBackend 519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s ok 1 /fdo-notification-backend/construction 519s # Start of dbus tests 519s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 519s ok 2 /fdo-notification-backend/dbus/activate-action 519s # End of dbus tests 519s # End of fdo-notification-backend tests 519s ok - glib/fdo-notification-backend.test 519s # Running test: glib/cxx-20.test 519s TAP version 13 519s # random seed: R02S6a40a53ca5382ec8409b4aca8b91eb09 519s 1..2 519s # Start of gtask tests 519s # 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. 519s ok 1 /gtask/name 519s # Start of name tests 519s # 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. 519s ok 2 /gtask/name/macro-wrapper 519s # End of name tests 519s # End of gtask tests 519s ok - glib/cxx-20.test 519s # Running test: glib/io-channel.test 519s TAP version 13 519s # random seed: R02S70574fef735c608c171f517f78fe2029 519s 1..2 519s # Start of io-channel tests 519s # Line one 519s # 519s # Line two 519s # 519s # Line three 519s # 519s # /* Hello */ 519s # 519s # \x1234\x567890\x6666 519s # 519s # read 62 bytes, wrote 62 bytes 519s ok 1 /io-channel/read-write 519s # Start of read-line tests 519s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 519s ok 2 /io-channel/read-line/embedded-nuls 519s # End of read-line tests 519s # End of io-channel tests 519s ok - glib/io-channel.test 519s # Running test: glib/gdbus-message.test 519s TAP version 13 519s # random seed: R02Sd68c0d24129a17294fe5c8174b6071f9 519s 1..3 519s # Start of gdbus tests 519s # Start of message tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_RXM2K2/gdbus/message/lock/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_RXM2K2/gdbus/message/lock/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_RXM2K2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_RXM2K2/gdbus/message/lock/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_RXM2K2/gdbus/message/lock/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_RXM2K2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_RXM2K2/gdbus/message/lock/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_RXM2K2/gdbus/message/lock/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_RXM2K2/gdbus/message/lock/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_RXM2K2/gdbus/message/lock/.dirs/runtime 519s ok 1 /gdbus/message/lock 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_RXM2K2/gdbus/message/copy/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_RXM2K2/gdbus/message/copy/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_RXM2K2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_RXM2K2/gdbus/message/copy/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_RXM2K2/gdbus/message/copy/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_RXM2K2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_RXM2K2/gdbus/message/copy/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_RXM2K2/gdbus/message/copy/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_RXM2K2/gdbus/message/copy/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_RXM2K2/gdbus/message/copy/.dirs/runtime 519s ok 2 /gdbus/message/copy 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_RXM2K2/gdbus/message/bytes-needed/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_RXM2K2/gdbus/message/bytes-needed/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_RXM2K2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_RXM2K2/gdbus/message/bytes-needed/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_RXM2K2/gdbus/message/bytes-needed/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_RXM2K2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_RXM2K2/gdbus/message/bytes-needed/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_RXM2K2/gdbus/message/bytes-needed/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_RXM2K2/gdbus/message/bytes-needed/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_RXM2K2/gdbus/message/bytes-needed/.dirs/runtime 519s # Vector: 0 519s # Vector: 1 519s # Vector: 2 519s # Vector: 3 519s # Vector: 4 519s # Vector: 5 519s ok 3 /gdbus/message/bytes-needed 519s # End of message tests 519s # End of gdbus tests 519s ok - glib/gdbus-message.test 519s # Running test: glib/gobject-private.test 519s TAP version 13 519s # random seed: R02S873b6f0a4b7a23e9ad1146e412ed5ca0 519s 1..3 519s # Start of private tests 519s ok 1 /private/instance 519s ok 2 /private/derived-instance 519s ok 3 /private/mixed-derived-instance 519s # End of private tests 519s ok - glib/gobject-private.test 519s # Running test: glib/boxed.test 519s TAP version 13 519s # random seed: R02S17c7aed66800992531a6c8b576ed1959 519s 1..27 519s # Start of boxed tests 519s ok 1 /boxed/define 519s ok 2 /boxed/ownership 519s ok 3 /boxed/closure 519s ok 4 /boxed/date 519s ok 5 /boxed/value 519s ok 6 /boxed/string 519s ok 7 /boxed/hashtable 519s ok 8 /boxed/array 519s ok 9 /boxed/ptrarray 519s ok 10 /boxed/regex 519s ok 11 /boxed/varianttype 519s ok 12 /boxed/error 519s ok 13 /boxed/datetime 519s ok 14 /boxed/matchinfo 519s ok 15 /boxed/keyfile 519s ok 16 /boxed/mainloop 519s ok 17 /boxed/maincontext 519s ok 18 /boxed/source 519s ok 19 /boxed/variantbuilder 519s ok 20 /boxed/timezone 519s ok 21 /boxed/pollfd 519s ok 22 /boxed/markup 519s ok 23 /boxed/thread 519s ok 24 /boxed/checksum 519s ok 25 /boxed/tree 519s ok 26 /boxed/patternspec 519s ok 27 /boxed/rand 519s # End of boxed tests 519s ok - glib/boxed.test 519s # Running test: glib/custom-dispatch.test 519s TAP version 13 519s # random seed: R02S7dd102a96be5fb6c4256f0968d536aa8 519s 1..2 519s # Start of properties tests 519s # Start of custom-dispatch tests 519s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 519s ok 1 /properties/custom-dispatch/init 519s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 519s ok 2 /properties/custom-dispatch/set 519s # End of custom-dispatch tests 519s # End of properties tests 519s ok - glib/custom-dispatch.test 519s # Running test: glib/spawn-path-search.test 519s TAP version 13 519s # random seed: R02S28e918c34d5e6a95b973a55e269e4927 519s 1..7 519s # Start of spawn tests 519s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 519s # 519s # this is spawn-test-helper from glib/tests 519s # 519s ok 1 /spawn/do-not-search 519s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 519s # 519s # this is spawn-test-helper from path-test-subdir 519s # 519s ok 2 /spawn/search-path 519s # /spawn/search-path-from-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP, spawn-test-helper means $PATH/spawn-test-helper with $PATH from envp. 519s # 519s # this is spawn-test-helper from path-test-subdir 519s # 519s ok 3 /spawn/search-path-from-envp 519s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 519s # 519s # this is spawn-test-helper from path-test-subdir 519s # 519s ok 4 /spawn/search-path-ambiguous 519s # 519s # this is spawn-test-helper from path-test-subdir 519s # 519s ok 5 /spawn/search-path-heap-allocation 519s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 519s # 519s # this is spawn-test-helper from glib/tests 519s # 519s ok 6 /spawn/search-path-fallback-in-environ 519s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 519s # 519s # this is spawn-test-helper from glib/tests 519s # 519s ok 7 /spawn/search-path-fallback-in-envp 519s # End of spawn tests 519s ok - glib/spawn-path-search.test 519s # Running test: glib/fileutils.test 519s TAP version 13 519s # random seed: R02S9d4cc391fcfb5f057f75219d6e05b7de 519s 1..27 519s # Start of fileutils tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/paths/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/paths/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/paths/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/paths/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/paths/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/paths/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/paths/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/paths/.dirs/runtime 519s ok 1 /fileutils/paths 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-path/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-path/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/build-path/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-path/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/build-path/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-path/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-path/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/build-path/.dirs/runtime 519s ok 2 /fileutils/build-path 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-pathv/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-pathv/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/build-pathv/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-pathv/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/build-pathv/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-pathv/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-pathv/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/build-pathv/.dirs/runtime 519s ok 3 /fileutils/build-pathv 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-filename/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-filename/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/build-filename/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-filename/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/build-filename/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-filename/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-filename/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/build-filename/.dirs/runtime 519s ok 4 /fileutils/build-filename 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-filenamev/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-filenamev/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/build-filenamev/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-filenamev/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/build-filenamev/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-filenamev/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/build-filenamev/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/build-filenamev/.dirs/runtime 519s ok 5 /fileutils/build-filenamev 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents/.dirs/runtime 519s # We do not have CAP_DAC_OVERRIDE or equivalent 519s ok 6 /fileutils/mkdir-with-parents 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents-permission/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents-permission/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents-permission/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents-permission/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents-permission/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/mkdir-with-parents-permission/.dirs/runtime 519s # We do not have CAP_DAC_OVERRIDE or equivalent 519s ok 7 /fileutils/mkdir-with-parents-permission 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/format-size-for-display/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/format-size-for-display/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/format-size-for-display/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/format-size-for-display/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/format-size-for-display/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/format-size-for-display/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/format-size-for-display/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/format-size-for-display/.dirs/runtime 519s ok 8 /fileutils/format-size-for-display 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/errors/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/errors/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/errors/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/errors/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/errors/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/errors/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/errors/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/errors/.dirs/runtime 519s ok 9 /fileutils/errors 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/basename/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/basename/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/basename/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/basename/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/basename/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/basename/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/basename/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/basename/.dirs/runtime 519s ok 10 /fileutils/basename 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/get-basename/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/get-basename/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/get-basename/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/get-basename/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/get-basename/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/get-basename/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/get-basename/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/get-basename/.dirs/runtime 519s ok 11 /fileutils/get-basename 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/dirname/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/dirname/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/dirname/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/dirname/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/dirname/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/dirname/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/dirname/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/dirname/.dirs/runtime 519s ok 12 /fileutils/dirname 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/dir-make-tmp/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/dir-make-tmp/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/dir-make-tmp/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/dir-make-tmp/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/dir-make-tmp/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/dir-make-tmp/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/dir-make-tmp/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/dir-make-tmp/.dirs/runtime 519s ok 13 /fileutils/dir-make-tmp 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/file-open-tmp/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/file-open-tmp/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/file-open-tmp/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/file-open-tmp/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/file-open-tmp/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/file-open-tmp/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/file-open-tmp/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/file-open-tmp/.dirs/runtime 519s ok 14 /fileutils/file-open-tmp 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/file-test/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/file-test/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/file-test/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/file-test/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/file-test/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/file-test/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/file-test/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/file-test/.dirs/runtime 519s ok 15 /fileutils/file-test 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkstemp/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkstemp/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/mkstemp/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkstemp/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/mkstemp/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkstemp/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkstemp/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/mkstemp/.dirs/runtime 519s ok 16 /fileutils/mkstemp 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkdtemp/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkdtemp/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/mkdtemp/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkdtemp/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/mkdtemp/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkdtemp/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/mkdtemp/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/mkdtemp/.dirs/runtime 519s ok 17 /fileutils/mkdtemp 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/get-contents/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/get-contents/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/get-contents/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/get-contents/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/get-contents/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/get-contents/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/get-contents/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/get-contents/.dirs/runtime 519s ok 18 /fileutils/get-contents 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/get-contents-large-file/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/get-contents-large-file/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/get-contents-large-file/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/get-contents-large-file/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/get-contents-large-file/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/get-contents-large-file/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/get-contents-large-file/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/get-contents-large-file/.dirs/runtime 519s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/set-contents/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/set-contents/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/set-contents/.dirs/runtime 519s ok 20 /fileutils/set-contents 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/.dirs/runtime 519s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 519s # Flags 0 and test 0 519s # Flags 0 and test 1 519s # Flags 0 and test 2 519s # Flags 0 and test 3 519s # Flags 0 and test 4 519s # Flags 0 and test 5 519s # Flags 1 and test 0 519s # Flags 1 and test 1 519s # Flags 1 and test 2 519s # Flags 1 and test 3 519s # Flags 1 and test 4 519s # Flags 1 and test 5 519s # Flags 2 and test 0 519s # Flags 2 and test 1 519s # Flags 2 and test 2 519s # Flags 2 and test 3 519s # Flags 2 and test 4 519s # Flags 2 and test 5 519s # Flags 3 and test 0 519s # Flags 3 and test 1 519s # Flags 3 and test 2 519s # Flags 3 and test 3 519s # Flags 3 and test 4 519s # Flags 3 and test 5 519s # Flags 4 and test 0 519s # Flags 4 and test 1 519s # Flags 4 and test 2 519s # Flags 4 and test 3 519s # Flags 4 and test 4 519s # Flags 4 and test 5 519s # Flags 5 and test 0 519s # Flags 5 and test 1 519s # Flags 5 and test 2 519s # Flags 5 and test 3 519s # Flags 5 and test 4 519s # Flags 5 and test 5 519s # Flags 6 and test 0 519s # Flags 6 and test 1 519s # Flags 6 and test 2 519s # Flags 6 and test 3 519s # Flags 6 and test 4 519s # Flags 6 and test 5 519s ok 21 /fileutils/set-contents-full 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/read-link/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/read-link/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/read-link/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/read-link/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/read-link/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/read-link/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/read-link/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/read-link/.dirs/runtime 519s ok 22 /fileutils/read-link 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/stdio-wrappers/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/stdio-wrappers/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/stdio-wrappers/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/stdio-wrappers/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/stdio-wrappers/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/stdio-wrappers/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/stdio-wrappers/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/stdio-wrappers/.dirs/runtime 519s # We do not have CAP_DAC_OVERRIDE or equivalent 519s ok 23 /fileutils/stdio-wrappers 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/fopen-modes/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/fopen-modes/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/fopen-modes/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/fopen-modes/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/fopen-modes/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/fopen-modes/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/fopen-modes/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/fopen-modes/.dirs/runtime 519s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 519s # Testing fopen() mode 'w' 519s # Testing fopen() mode 'r' 519s # Testing fopen() mode 'a' 519s # Testing fopen() mode 'w+' 519s # Testing fopen() mode 'r+' 519s # Testing fopen() mode 'a+' 519s # Testing fopen() mode 'wb' 519s # Testing fopen() mode 'rb' 519s # Testing fopen() mode 'ab' 519s # Testing fopen() mode 'w+b' 519s # Testing fopen() mode 'r+b' 519s # Testing fopen() mode 'a+b' 519s # Testing fopen() mode 'wb+' 519s # Testing fopen() mode 'rb+' 519s # Testing fopen() mode 'ab+' 519s ok 24 /fileutils/fopen-modes 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/clear-fd/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/clear-fd/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/clear-fd/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/clear-fd/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/clear-fd/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/clear-fd/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/clear-fd/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/clear-fd/.dirs/runtime 519s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 519s # Will be closed by autocleanup: 3, -42 519s # Testing error handling 519s ok 25 /fileutils/clear-fd 519s # Start of set-contents-full tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-file/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-file/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-file/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-file/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-file/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-file/.dirs/runtime 519s # We do not have CAP_DAC_OVERRIDE or equivalent 519s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 519s ok 26 /fileutils/set-contents-full/read-only-file 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-directory/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-directory/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-directory/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-directory/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-directory/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_WRB4K2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 519s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 519s # Flags 0 519s # We do not have CAP_DAC_OVERRIDE or equivalent 519s # Flags 1 519s # We do not have CAP_DAC_OVERRIDE or equivalent 519s # Flags 2 519s # We do not have CAP_DAC_OVERRIDE or equivalent 519s # Flags 3 519s # We do not have CAP_DAC_OVERRIDE or equivalent 519s # Flags 4 519s # We do not have CAP_DAC_OVERRIDE or equivalent 519s # Flags 5 519s # We do not have CAP_DAC_OVERRIDE or equivalent 519s # Flags 6 519s # We do not have CAP_DAC_OVERRIDE or equivalent 519s ok 27 /fileutils/set-contents-full/read-only-directory 519s # End of set-contents-full tests 519s # Start of clear-fd tests 519s # Start of subprocess tests 519s # End of subprocess tests 519s # End of clear-fd tests 519s # End of fileutils tests 519s ok - glib/fileutils.test 519s # Running test: glib/file-thumbnail.test 519s TAP version 13 519s # random seed: R02S081f0a8e6f514f58f0d783d69c6f4bde 519s 1..7 519s # Start of file-thumbnail tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/fail/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/fail/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_0UAZK2/file-thumbnail/fail/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/fail/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_0UAZK2/file-thumbnail/fail/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/fail/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/fail/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/fail/.dirs/runtime 519s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 519s # Created test thumbnail at /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 519s ok 1 /file-thumbnail/fail 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/size-priority/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/size-priority/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_0UAZK2/file-thumbnail/size-priority/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/size-priority/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_0UAZK2/file-thumbnail/size-priority/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/size-priority/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/size-priority/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/size-priority/.dirs/runtime 519s # Created test thumbnail at /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 519s # Created test thumbnail at /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 519s # Created test thumbnail at /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 519s # Created test thumbnail at /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 519s # Created test thumbnail at /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 519s ok 2 /file-thumbnail/size-priority 519s # Start of valid tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/normal/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/normal/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/normal/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/normal/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/normal/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/normal/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/normal/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/normal/.dirs/runtime 519s # Created test thumbnail at /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 519s ok 3 /file-thumbnail/valid/normal 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/large/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/large/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/large/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/large/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/large/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/large/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/large/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/large/.dirs/runtime 519s # Created test thumbnail at /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 519s ok 4 /file-thumbnail/valid/large 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/x-large/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/x-large/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/x-large/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/x-large/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/x-large/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/x-large/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/x-large/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/x-large/.dirs/runtime 519s # Created test thumbnail at /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 519s ok 5 /file-thumbnail/valid/x-large 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/xx-large/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/xx-large/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/xx-large/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/xx-large/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/xx-large/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/xx-large/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/xx-large/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/xx-large/.dirs/runtime 519s # Created test thumbnail at /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 519s ok 6 /file-thumbnail/valid/xx-large 519s # End of valid tests 519s # Start of unknown tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/unknown/super-large/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/unknown/super-large/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_0UAZK2/file-thumbnail/unknown/super-large/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/unknown/super-large/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_0UAZK2/file-thumbnail/unknown/super-large/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/unknown/super-large/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/unknown/super-large/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/unknown/super-large/.dirs/runtime 519s # Created test thumbnail at /tmp/test_file-thumbnail_0UAZK2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 519s ok 7 /file-thumbnail/unknown/super-large 519s # End of unknown tests 519s # End of file-thumbnail tests 519s ok - glib/file-thumbnail.test 519s # Running test: glib/memory-monitor-portal.test 519s TAP version 13 519s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 519s 1..1 519s ok - glib/memory-monitor-portal.test 519s # Running test: glib/slist.test 519s TAP version 13 519s # random seed: R02Sfe95c758af683d898d3789a11385c08b 519s 1..14 519s # Start of slist tests 519s ok 1 /slist/sort 519s ok 2 /slist/sort-with-data 519s ok 3 /slist/insert-sorted 519s ok 4 /slist/insert-sorted-with-data 519s ok 5 /slist/reverse 519s ok 6 /slist/nth 519s ok 7 /slist/remove 519s ok 8 /slist/remove-all 519s ok 9 /slist/insert 519s ok 10 /slist/position 519s ok 11 /slist/concat 519s ok 12 /slist/copy 519s # Start of sort tests 519s ok 13 /slist/sort/stable 519s # End of sort tests 519s # Start of copy tests 519s ok 14 /slist/copy/deep 519s # End of copy tests 519s # End of slist tests 519s ok - glib/slist.test 519s # Running test: glib/mainloop.test 519s TAP version 13 519s # random seed: R02S61366c74393211e711989ccbc139c416 519s 1..45 519s # Start of maincontext tests 519s ok 1 /maincontext/basic 519s # Add same-priority sources: 26 519s # Find each source: 3 520s # Remove in random order: 42 520s ok 2 /maincontext/nsources_same_priority 520s # Add different-priority sources: 34 520s # Find each source: 5 520s # Remove in random order: 45 520s ok 3 /maincontext/nsources_different_priority 520s # Add sources from threads: 202 520s # Remove sources from threads: 24 520s ok 4 /maincontext/nsources_threadpool 520s ok 5 /maincontext/source_finalization 520s # /maincontext/idle-once summary: Test g_idle_add_once() works 520s ok 6 /maincontext/idle-once 520s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 520s ok 7 /maincontext/timeout-once 520s # Start of source_finalization_from_source tests 520s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 8 /maincontext/source_finalization_from_source/0 520s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 9 /maincontext/source_finalization_from_source/1 520s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 10 /maincontext/source_finalization_from_source/2 520s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 11 /maincontext/source_finalization_from_source/3 520s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 12 /maincontext/source_finalization_from_source/4 520s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 13 /maincontext/source_finalization_from_source/5 520s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 14 /maincontext/source_finalization_from_source/6 520s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 15 /maincontext/source_finalization_from_source/7 520s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 16 /maincontext/source_finalization_from_source/8 520s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 520s ok 17 /maincontext/source_finalization_from_source/9 520s # End of source_finalization_from_source tests 520s # Start of source_finalization_from_dispatch tests 520s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 520s ok 18 /maincontext/source_finalization_from_dispatch/0 520s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 520s ok 19 /maincontext/source_finalization_from_dispatch/1 520s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 520s ok 20 /maincontext/source_finalization_from_dispatch/2 520s # End of source_finalization_from_dispatch tests 520s # End of maincontext tests 520s # Start of mainloop tests 520s ok 21 /mainloop/basic 520s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 520s ok 23 /mainloop/priorities 520s ok 24 /mainloop/invoke 520s # slow test /mainloop/invoke executed in 0.50 secs 522s ok 25 /mainloop/child_sources 522s # slow test /mainloop/child_sources executed in 1.27 secs 523s # Executing: glib/mainloop.test 524s ok 26 /mainloop/recursive_child_sources 524s # slow test /mainloop/recursive_child_sources executed in 2.39 secs 524s ok 27 /mainloop/recursive_loop_child_sources 524s ok 28 /mainloop/swapping_child_sources 524s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 524s ok 29 /mainloop/blocked_child_sources 525s ok 30 /mainloop/source_time 525s # slow test /mainloop/source_time executed in 1.00 secs 525s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 525s ok 31 /mainloop/overflow 526s ok 32 /mainloop/ready-time 526s # slow test /mainloop/ready-time executed in 0.51 secs 526s ok 33 /mainloop/wakeup 526s ok 34 /mainloop/remove-invalid 526s ok 35 /mainloop/unref-while-pending 527s ok 36 /mainloop/unix-fd 527s # slow test /mainloop/unix-fd executed in 0.88 secs 527s ok 37 /mainloop/unix-fd-source 527s ok 38 /mainloop/source-unix-fd-api 527s ok 39 /mainloop/wait 527s ok 40 /mainloop/unix-file-poll 527s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 527s ok 41 /mainloop/unix-fd-priority 527s ok 42 /mainloop/nfds 527s ok 43 /mainloop/steal-fd 527s # Start of ownerless-polling tests 527s ok 44 /mainloop/ownerless-polling/attach-first 527s ok 45 /mainloop/ownerless-polling/pop-first 527s # End of ownerless-polling tests 527s # End of mainloop tests 527s ok - glib/mainloop.test 527s # Running test: glib/portal-support-none.test 527s TAP version 13 527s # random seed: R02S5f1eed80f8f0de7a514d0029a48d3e18 527s 1..1 527s # Start of portal-support tests 527s ok 1 /portal-support/none 527s # End of portal-support tests 527s ok - glib/portal-support-none.test 527s # Running test: glib/g-file.test 527s TAP version 13 527s # random seed: R02S0efdcb11c3abbdfe49b22396f100a798 527s 1..8 527s # Start of g-file tests 527s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 527s ok 1 /g-file/test_g_file_new_null 527s ok 2 /g-file/test_g_file_new_for_path 527s ok 3 /g-file/test_g_file_new_for_uri 527s ok 4 /g-file/test_g_file_dup 527s ok 5 /g-file/test_g_file_get_parse_name_utf8 527s file:///tmp/test-tmp-glib_g-file.test-YUYYK2 527s file:///tmp 527s file:///tmp 527s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 527s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 527s ok 6 /g-file/test_g_file_new_for_commandline_arg 527s /dir1 /dir1/dir2/dir3/ 527s /dir1/ /dir1/dir2/dir3/ 527s /dir1 /dir1/dir2/dir3 527s /dir1/ /dir1/dir2/dir3 527s /tmp/ /something/ 527s /dir1/dir2 /dir1/ 527s //dir1/new //dir1/new/dir2/dir3 527s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 527s file:///dir1 file:///dir1/dir2/dir3/ 527s file:///dir1/ file:///dir1/dir2/dir3/ 527s file:///dir1 file:///dir1/dir2/dir3 527s file:///dir1/ file:///dir1/dir2/dir3 527s file:///tmp/ file:///something/ 527s file:///dir1/dir2 file:///dir1/ 527s file:////dir1/new file:////dir1/new/dir2/dir3 527s 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 527s ok 7 /g-file/test_g_file_has_prefix 527s ok 8 /g-file/test_g_file_get_parent_child 527s # End of g-file tests 527s ok - glib/g-file.test 527s # Running test: glib/closure.test 527s TAP version 13 527s # random seed: R02Sa058dbdecc6f8bcb2065ecfeb032ac4a 527s 1..6 527s # Start of closure tests 527s ok 1 /closure/idle 527s ok 2 /closure/timeout 527s ok 3 /closure/iochannel 527s ok 4 /closure/child 527s ok 5 /closure/fd 527s ok 6 /closure/signal 527s # End of closure tests 527s ok - glib/closure.test 527s # Running test: glib/gnotification.test 527s TAP version 13 527s # random seed: R02S38f5d8a36e429cc65b589d5d9a538687 527s 1..2 527s # Start of gnotification tests 527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 527s ok 1 /gnotification/basic 527s ok 2 /gnotification/properties 527s # End of gnotification tests 527s ok - glib/gnotification.test 527s # Running test: glib/thread-pool-slow.test 527s TAP version 13 527s # random seed: R02Se554b7845fb400632579a8c416af2a80 527s 1..7 527s # Start of threadpool tests 527s ok 1 /threadpool/functions 527s ok 2 /threadpool/stop-unused 527s # slow test /threadpool/stop-unused executed in 0.52 secs 528s ok 3 /threadpool/pools 528s # [unsorted] ===> pushed new thread with id:93, number of threads:1, unprocessed:1 528s # [unsorted] ===> pushed new thread with id:64, number of threads:2, unprocessed:1 528s # [unsorted] ===> pushed new thread with id:34, number of threads:3, unprocessed:1 528s # [unsorted] ===> pushed new thread with id:6, number of threads:4, unprocessed:1 528s # [unsorted] ===> pushed new thread with id:40, number of threads:5, unprocessed:1 528s # [unsorted] ===> pushed new thread with id:78, number of threads:6, unprocessed:1 528s # [unsorted] ===> pushed new thread with id:87, number of threads:7, unprocessed:1 528s # [unsorted] ===> pushed new thread with id:99, number of threads:8, unprocessed:1 528s # [unsorted] ===> pushed new thread with id:64, number of threads:9, unprocessed:0 528s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:0 528s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:1 528s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:2 528s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:3 528s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:4 528s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:5 528s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:6 528s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:7 528s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:8 528s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:9 528s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:10 528s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:11 528s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:12 528s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:13 528s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:14 528s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:15 528s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:16 528s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:17 528s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:18 528s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:19 528s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:20 528s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:21 528s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:22 528s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:23 528s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:24 528s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:25 528s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:26 528s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:27 528s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:28 528s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:29 528s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:30 528s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:31 528s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:32 528s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:33 528s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:34 528s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:35 528s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:36 528s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:37 528s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:38 528s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:39 528s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:40 528s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:41 528s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:42 528s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:43 528s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:44 528s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:45 528s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:46 528s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:47 528s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:48 528s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:49 528s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:50 528s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:51 528s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:52 528s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:53 528s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:54 528s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:55 528s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:56 528s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:57 528s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:58 528s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:59 528s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:60 528s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:61 528s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:62 528s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:63 528s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:64 528s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:65 528s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:66 528s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:67 528s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:68 528s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:69 528s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:70 528s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:71 528s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:72 528s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:73 528s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:74 528s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:75 528s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:76 528s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:77 528s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:78 528s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:79 528s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:80 528s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:81 528s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:82 528s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:83 528s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:84 528s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:85 528s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:86 528s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:87 528s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:88 528s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:89 528s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:90 528s ok 4 /threadpool/no-sort 528s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:1 528s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:2 528s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:3 528s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:4 528s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:5 528s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:6 528s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:7 528s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:8 528s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:9 528s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:10 528s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:11 528s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:12 528s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:13 528s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:14 528s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:15 528s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:16 528s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:17 528s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:18 528s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:19 528s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:20 528s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:21 528s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:22 528s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:23 528s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:24 528s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:25 528s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:26 528s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:27 528s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:28 528s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:29 528s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:30 528s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:31 528s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:32 528s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:33 528s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:34 528s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:35 528s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:36 528s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:37 528s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:38 528s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:39 528s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:40 528s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:41 528s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:42 528s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:43 528s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:44 528s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:45 528s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:46 528s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:47 528s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:48 528s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:49 528s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:50 528s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:51 528s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:52 528s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:53 528s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:54 528s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:55 528s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:56 528s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:57 528s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:58 528s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:59 528s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:60 528s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:61 528s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:62 528s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:63 528s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:64 528s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:65 528s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:66 528s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:67 528s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:68 528s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:69 528s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:70 528s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:71 528s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:72 528s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:73 528s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:74 528s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:75 528s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:76 528s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:77 528s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:78 528s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:79 528s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:80 528s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:81 528s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:82 528s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:83 528s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:84 528s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:85 528s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:86 528s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:87 528s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:88 528s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:89 528s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:90 528s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:91 528s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:92 528s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:93 528s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:94 528s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:95 528s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:96 528s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:97 528s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:98 528s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:99 528s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:100 528s # Starting thread pool processing 528s ok 5 /threadpool/sort 528s # Executing: glib/thread-pool-slow.test 528s ok 6 /threadpool/stop-unused-multiple 528s # slow test /threadpool/stop-unused-multiple executed in 0.52 secs 528s # Pool idle thread count: 0, unprocessed jobs: 41 529s # Pool idle thread count: 0, unprocessed jobs: 0 529s # Pool idle thread count: 0, unprocessed jobs: 0 529s # Pool idle thread count: 10, unprocessed jobs: 0 529s # Pool idle thread count: 10, unprocessed jobs: 0 530s # Pool idle thread count: 10, unprocessed jobs: 0 530s # Pool idle thread count: 10, unprocessed jobs: 0 530s # Pool idle thread count: 10, unprocessed jobs: 0 530s # Pool idle thread count: 10, unprocessed jobs: 0 531s # Pool idle thread count: 10, unprocessed jobs: 0 531s # Pool idle thread count: 10, unprocessed jobs: 0 531s # Pool idle thread count: 10, unprocessed jobs: 0 531s # Pool idle thread count: 10, unprocessed jobs: 0 532s # Pool idle thread count: 10, unprocessed jobs: 0 532s # Pool idle thread count: 10, unprocessed jobs: 0 532s # Pool idle thread count: 10, unprocessed jobs: 0 532s # Pool idle thread count: 10, unprocessed jobs: 0 533s # Pool idle thread count: 10, unprocessed jobs: 0 533s # Pool idle thread count: 10, unprocessed jobs: 0 533s # Executing: glib/thread-pool-slow.test 533s # Pool idle thread count: 10, unprocessed jobs: 0 533s # Pool idle thread count: 10, unprocessed jobs: 0 534s # Pool idle thread count: 10, unprocessed jobs: 0 534s # Pool idle thread count: 10, unprocessed jobs: 0 534s # Pool idle thread count: 10, unprocessed jobs: 0 534s # Pool idle thread count: 10, unprocessed jobs: 0 535s # Pool idle thread count: 10, unprocessed jobs: 0 535s # Pool idle thread count: 10, unprocessed jobs: 0 535s # Pool idle thread count: 10, unprocessed jobs: 0 535s # Pool idle thread count: 10, unprocessed jobs: 0 536s # Pool idle thread count: 10, unprocessed jobs: 0 536s # Pool idle thread count: 10, unprocessed jobs: 0 536s # Pool idle thread count: 10, unprocessed jobs: 0 536s # Pool idle thread count: 10, unprocessed jobs: 0 537s # Pool idle thread count: 10, unprocessed jobs: 0 537s # Pool idle thread count: 10, unprocessed jobs: 0 537s # Pool idle thread count: 10, unprocessed jobs: 2 537s # Pool idle thread count: 8, unprocessed jobs: 0 537s # Pool idle thread count: 8, unprocessed jobs: 0 537s # Pool idle thread count: 8, unprocessed jobs: 0 538s # Pool idle thread count: 10, unprocessed jobs: 0 538s # Pool idle thread count: 10, unprocessed jobs: 0 538s # Executing: glib/thread-pool-slow.test 538s # Pool idle thread count: 10, unprocessed jobs: 0 538s # Pool idle thread count: 10, unprocessed jobs: 0 539s # Pool idle thread count: 10, unprocessed jobs: 0 539s # Pool idle thread count: 10, unprocessed jobs: 0 539s # Pool idle thread count: 2, unprocessed jobs: 0 539s # Pool idle thread count: 2, unprocessed jobs: 0 540s # Pool idle thread count: 2, unprocessed jobs: 0 540s # Pool idle thread count: 2, unprocessed jobs: 0 540s # Pool idle thread count: 2, unprocessed jobs: 0 540s # Pool idle thread count: 2, unprocessed jobs: 0 541s # Pool idle thread count: 2, unprocessed jobs: 0 541s # Pool idle thread count: 2, unprocessed jobs: 0 541s # Pool idle thread count: 2, unprocessed jobs: 0 541s # Pool idle thread count: 2, unprocessed jobs: 0 542s # Pool idle thread count: 2, unprocessed jobs: 0 542s # Pool idle thread count: 2, unprocessed jobs: 0 542s # Pool idle thread count: 2, unprocessed jobs: 0 542s # Pool idle thread count: 2, unprocessed jobs: 0 543s # Pool idle thread count: 2, unprocessed jobs: 0 543s # Pool idle thread count: 2, unprocessed jobs: 0 543s # Executing: glib/thread-pool-slow.test 543s # Pool idle thread count: 2, unprocessed jobs: 0 543s # Pool idle thread count: 2, unprocessed jobs: 0 544s # Pool idle thread count: 2, unprocessed jobs: 0 544s # Pool idle thread count: 2, unprocessed jobs: 0 544s # Pool idle thread count: 2, unprocessed jobs: 0 544s # Pool idle thread count: 2, unprocessed jobs: 0 545s # Pool idle thread count: 2, unprocessed jobs: 0 545s # Pool idle thread count: 2, unprocessed jobs: 0 545s # Pool idle thread count: 2, unprocessed jobs: 0 545s # Pool idle thread count: 2, unprocessed jobs: 0 546s # Pool idle thread count: 2, unprocessed jobs: 0 546s # Pool idle thread count: 2, unprocessed jobs: 0 546s # Pool idle thread count: 2, unprocessed jobs: 0 546s # Pool idle thread count: 2, unprocessed jobs: 0 547s # Pool idle thread count: 2, unprocessed jobs: 0 547s # Pool idle thread count: 2, unprocessed jobs: 0 547s # Pool idle thread count: 2, unprocessed jobs: 0 547s # Pool idle thread count: 2, unprocessed jobs: 0 548s ok 7 /threadpool/idle-time 548s # slow test /threadpool/idle-time executed in 19.54 secs 548s # End of threadpool tests 548s ok - glib/thread-pool-slow.test 548s # Running test: glib/portal-support-flatpak-network-only.test 548s TAP version 13 548s # random seed: R02S7300de5f6eb3e3af2ae203410e88d2a6 548s 1..1 548s # Start of portal-support tests 548s # Start of flatpak tests 548s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_VK6ZK2/portal-support/flatpak/network/.dirs/home 548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_VK6ZK2/portal-support/flatpak/network/.dirs/cache 548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_VK6ZK2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_VK6ZK2/portal-support/flatpak/network/.dirs/system-config2 548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_VK6ZK2/portal-support/flatpak/network/.dirs/config 548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_VK6ZK2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_VK6ZK2/portal-support/flatpak/network/.dirs/system-data2 548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_VK6ZK2/portal-support/flatpak/network/.dirs/data 548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_VK6ZK2/portal-support/flatpak/network/.dirs/state 548s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_VK6ZK2/portal-support/flatpak/network/.dirs/runtime 548s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_VK6ZK2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 548s ok 1 /portal-support/flatpak/network 548s # End of flatpak tests 548s # End of portal-support tests 548s ok - glib/portal-support-flatpak-network-only.test 548s # Running test: glib/sequence.test 548s TAP version 13 548s # random seed: R02Sb8ee4c6908e81753b9638c5c791c1487 548s 1..16 548s # Start of sequence tests 548s ok 1 /sequence/out-of-range-jump 548s ok 2 /sequence/iter-move 548s ok 3 /sequence/insert-sorted-non-pointer 548s ok 4 /sequence/stable-sort 548s ok 5 /sequence/is_empty 548s # Start of random tests 548s # Executing: glib/sequence.test 549s ok 6 /sequence/random/seed:825541564 549s # slow test /sequence/random/seed:825541564 executed in 0.87 secs 550s ok 7 /sequence/random/seed:801678400 550s # slow test /sequence/random/seed:801678400 executed in 0.93 secs 551s ok 8 /sequence/random/seed:1477639090 551s # slow test /sequence/random/seed:1477639090 executed in 1.04 secs 552s ok 9 /sequence/random/seed:3369132895 552s # slow test /sequence/random/seed:3369132895 executed in 0.87 secs 553s ok 10 /sequence/random/seed:1192944867 553s # slow test /sequence/random/seed:1192944867 executed in 1.02 secs 553s # Executing: glib/sequence.test 554s ok 11 /sequence/random/seed:770458294 554s # slow test /sequence/random/seed:770458294 executed in 1.08 secs 555s ok 12 /sequence/random/seed:1099575817 555s # slow test /sequence/random/seed:1099575817 executed in 1.24 secs 556s ok 13 /sequence/random/seed:590523467 556s # slow test /sequence/random/seed:590523467 executed in 1.04 secs 557s ok 14 /sequence/random/seed:3583571454 557s # slow test /sequence/random/seed:3583571454 executed in 0.94 secs 558s # Executing: glib/sequence.test 558s ok 15 /sequence/random/seed:579241222 558s # slow test /sequence/random/seed:579241222 executed in 1.08 secs 559s ok 16 /sequence/random/seed:1430573391 559s # slow test /sequence/random/seed:1430573391 executed in 1.09 secs 559s # End of random tests 559s # End of sequence tests 559s ok - glib/sequence.test 559s # Running test: glib/contenttype.test 559s TAP version 13 559s # random seed: R02S7a43c3d74b1f86b579634722bffd21c4 559s 1..13 559s # Start of contenttype tests 559s ok 1 /contenttype/guess 559s ok 2 /contenttype/guess_svg_from_data 559s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 559s ok 4 /contenttype/unknown 559s ok 5 /contenttype/subtype 559s ok 6 /contenttype/list 559s ok 7 /contenttype/executable 559s ok 8 /contenttype/description 559s ok 9 /contenttype/icon 559s ok 10 /contenttype/symbolic-icon 559s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 559s ok 11 /contenttype/tree 559s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 559s ok 12 /contenttype/tree_invalid_encoding 559s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 559s ok 13 /contenttype/test_type_is_a_special_case 559s # End of contenttype tests 559s ok - glib/contenttype.test 559s # Running test: glib/io-stream.test 559s TAP version 13 559s # random seed: R02S3f86555e52b8221e0fda7e8a33029c4e 559s 1..3 559s # Start of io-stream tests 559s ok 1 /io-stream/copy-chunks 559s # Start of close tests 559s # Start of async tests 559s ok 2 /io-stream/close/async/memory 559s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 559s ok 3 /io-stream/close/async/file 559s # End of async tests 559s # End of close tests 559s # End of io-stream tests 559s ok - glib/io-stream.test 559s # Running test: glib/gdbus-addresses.test 559s TAP version 13 559s # random seed: R02Sdf9d66d857d6d1b9943a0c4da594eb52 559s 1..9 559s # Start of gdbus tests 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/empty-address/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/empty-address/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_LN0PK2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_LN0PK2/gdbus/empty-address/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/empty-address/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_LN0PK2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_LN0PK2/gdbus/empty-address/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/empty-address/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/empty-address/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_LN0PK2/gdbus/empty-address/.dirs/runtime 559s ok 1 /gdbus/empty-address 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/unsupported-address/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/unsupported-address/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_LN0PK2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_LN0PK2/gdbus/unsupported-address/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/unsupported-address/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_LN0PK2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_LN0PK2/gdbus/unsupported-address/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/unsupported-address/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/unsupported-address/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_LN0PK2/gdbus/unsupported-address/.dirs/runtime 559s ok 2 /gdbus/unsupported-address 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/address-parsing/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/address-parsing/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_LN0PK2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_LN0PK2/gdbus/address-parsing/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/address-parsing/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_LN0PK2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_LN0PK2/gdbus/address-parsing/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/address-parsing/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/address-parsing/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_LN0PK2/gdbus/address-parsing/.dirs/runtime 559s ok 3 /gdbus/address-parsing 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/unix-address/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/unix-address/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_LN0PK2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_LN0PK2/gdbus/unix-address/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/unix-address/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_LN0PK2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_LN0PK2/gdbus/unix-address/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/unix-address/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/unix-address/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_LN0PK2/gdbus/unix-address/.dirs/runtime 559s ok 4 /gdbus/unix-address 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/nonce-tcp-address/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/nonce-tcp-address/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_LN0PK2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_LN0PK2/gdbus/nonce-tcp-address/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/nonce-tcp-address/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_LN0PK2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_LN0PK2/gdbus/nonce-tcp-address/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/nonce-tcp-address/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/nonce-tcp-address/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_LN0PK2/gdbus/nonce-tcp-address/.dirs/runtime 559s ok 5 /gdbus/nonce-tcp-address 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/tcp-address/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/tcp-address/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_LN0PK2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_LN0PK2/gdbus/tcp-address/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/tcp-address/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_LN0PK2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_LN0PK2/gdbus/tcp-address/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/tcp-address/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/tcp-address/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_LN0PK2/gdbus/tcp-address/.dirs/runtime 559s ok 6 /gdbus/tcp-address 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/autolaunch-address/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/autolaunch-address/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_LN0PK2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_LN0PK2/gdbus/autolaunch-address/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/autolaunch-address/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_LN0PK2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_LN0PK2/gdbus/autolaunch-address/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/autolaunch-address/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/autolaunch-address/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_LN0PK2/gdbus/autolaunch-address/.dirs/runtime 559s ok 7 /gdbus/autolaunch-address 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/mixed-address/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/mixed-address/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_LN0PK2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_LN0PK2/gdbus/mixed-address/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/mixed-address/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_LN0PK2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_LN0PK2/gdbus/mixed-address/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/mixed-address/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/mixed-address/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_LN0PK2/gdbus/mixed-address/.dirs/runtime 559s ok 8 /gdbus/mixed-address 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/escape-address/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/escape-address/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_LN0PK2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_LN0PK2/gdbus/escape-address/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/escape-address/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_LN0PK2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_LN0PK2/gdbus/escape-address/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/escape-address/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_LN0PK2/gdbus/escape-address/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_LN0PK2/gdbus/escape-address/.dirs/runtime 559s ok 9 /gdbus/escape-address 559s # End of gdbus tests 559s ok - glib/gdbus-addresses.test 559s # Running test: glib/socket-listener.test 559s TAP version 13 559s # random seed: R02S90b319907c84084ab69d5b08cf4ce7ec 559s 1..1 559s # Start of socket-listener tests 559s ok 1 /socket-listener/event-signal 559s # End of socket-listener tests 559s ok - glib/socket-listener.test 559s # Running test: glib/type.test 559s TAP version 13 559s # random seed: R02S9ef08503af51f23b57db1854d56c2254 559s 1..6 559s # Start of type tests 559s ok 1 /type/registration-serial 559s ok 2 /type/interface-prerequisite 559s ok 3 /type/interface-check 559s ok 4 /type/next-base 559s ok 5 /type/is-a 559s # Invalid types can?t be queried. 559s # Unclassed types can?t be queried. 559s ok 6 /type/query 559s # End of type tests 559s ok - glib/type.test 559s # Running test: glib/gdbus-auth.test 559s TAP version 13 559s # random seed: R02S472f2bdbe3771a0d396e4f7230aedba4 559s 1..5 559s # Start of gdbus tests 559s # Start of auth tests 559s # Start of client tests 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/EXTERNAL/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/EXTERNAL/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/EXTERNAL/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/EXTERNAL/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/EXTERNAL/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/EXTERNAL/.dirs/runtime 559s ok 1 /gdbus/auth/client/EXTERNAL 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 559s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 559s # End of client tests 559s # Start of server tests 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/ANONYMOUS/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/ANONYMOUS/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/ANONYMOUS/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/ANONYMOUS/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/ANONYMOUS/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 559s ok 3 /gdbus/auth/server/ANONYMOUS 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/EXTERNAL/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/EXTERNAL/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/EXTERNAL/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/EXTERNAL/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/EXTERNAL/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/EXTERNAL/.dirs/runtime 559s ok 4 /gdbus/auth/server/EXTERNAL 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_EZIPK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 559s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 559s # End of server tests 559s # End of auth tests 559s # End of gdbus tests 559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 559s ok - glib/gdbus-auth.test 559s # Running test: glib/rcbox.test 559s TAP version 13 559s # random seed: R02S4f9d7b6168577673289c28eac5a00505 559s 1..8 559s # Start of rcbox tests 559s ok 1 /rcbox/new 559s # global_point = 0x2aa037d1840 559s ok 2 /rcbox/release-full 559s # global_point_a = 0x2aa037d1840 559s # global_point_b = 0x2aa037d1800 559s ok 3 /rcbox/dup 559s ok 4 /rcbox/alignment 559s # End of rcbox tests 559s # Start of atomic-rcbox tests 559s ok 5 /atomic-rcbox/new 559s # global_point = 0x2aa037d1a10 559s ok 6 /atomic-rcbox/release-full 559s # global_point_a = 0x2aa037d1a10 559s # global_point_b = 0x2aa037d19d0 559s ok 7 /atomic-rcbox/dup 559s ok 8 /atomic-rcbox/alignment 559s # End of atomic-rcbox tests 559s ok - glib/rcbox.test 559s # Running test: glib/stream-rw_all.test 559s TAP version 13 559s # random seed: R02Sa2d877891aa9b90dfd89abe450f68e2a 559s 1..3 559s # Start of stream tests 559s # Start of read_all_async tests 559s ok 1 /stream/read_all_async/memory 559s # End of read_all_async tests 559s # Start of write_all_async tests 559s ok 2 /stream/write_all_async/memory 559s # End of write_all_async tests 559s # Start of read_write_all_async tests 559s ok 3 /stream/read_write_all_async/pipe 559s # End of read_write_all_async tests 559s # End of stream tests 559s ok - glib/stream-rw_all.test 559s # Running test: glib/signalgroup.test 559s TAP version 13 559s # random seed: R02S521723cc83076fd831a22ad86ea3a88e 559s 1..9 559s # Start of GObject tests 559s # Start of SignalGroup tests 559s ok 1 /GObject/SignalGroup/invalid 559s ok 2 /GObject/SignalGroup/simple 559s ok 3 /GObject/SignalGroup/changing-target 559s ok 4 /GObject/SignalGroup/blocking 559s ok 5 /GObject/SignalGroup/weak-ref-target 559s ok 6 /GObject/SignalGroup/connect-object 559s ok 7 /GObject/SignalGroup/signal-parsing 559s ok 8 /GObject/SignalGroup/properties 559s ok 9 /GObject/SignalGroup/interface 559s # Start of signal-parsing tests 559s # End of signal-parsing tests 559s # End of SignalGroup tests 559s # End of GObject tests 559s ok - glib/signalgroup.test 559s # Running test: glib/portal-support-snap.test 559s TAP version 13 559s # random seed: R02Sbbd1669f45182476c385f6942b638f3b 559s 1..7 559s # Start of portal-support tests 559s # Start of snap tests 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/no-snapctl/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/no-snapctl/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_QO2LK2/portal-support/snap/no-snapctl/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/no-snapctl/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_QO2LK2/portal-support/snap/no-snapctl/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/no-snapctl/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/no-snapctl/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/no-snapctl/.dirs/runtime 559s # Created snap.yaml in /tmp/test_portal-support-snap_QO2LK2/meta/snap.yaml 559s ok 1 /portal-support/snap/no-snapctl 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/none/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/none/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_QO2LK2/portal-support/snap/none/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/none/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_QO2LK2/portal-support/snap/none/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/none/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/none/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/none/.dirs/runtime 559s # Created snap.yaml in /tmp/test_portal-support-snap_QO2LK2/meta/snap.yaml 559s # Created snapctl in /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/none/.dirs/runtime/snapctl 559s ok 2 /portal-support/snap/none 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/all/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/all/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_QO2LK2/portal-support/snap/all/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/all/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_QO2LK2/portal-support/snap/all/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/all/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/all/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/all/.dirs/runtime 559s # Created snap.yaml in /tmp/test_portal-support-snap_QO2LK2/meta/snap.yaml 559s # Created snapctl in /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/all/.dirs/runtime/snapctl 559s ok 3 /portal-support/snap/all 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/desktop-only/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/desktop-only/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_QO2LK2/portal-support/snap/desktop-only/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/desktop-only/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_QO2LK2/portal-support/snap/desktop-only/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/desktop-only/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/desktop-only/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/desktop-only/.dirs/runtime 559s # Created snap.yaml in /tmp/test_portal-support-snap_QO2LK2/meta/snap.yaml 559s # Created snapctl in /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 559s ok 4 /portal-support/snap/desktop-only 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/network-only/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/network-only/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_QO2LK2/portal-support/snap/network-only/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/network-only/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_QO2LK2/portal-support/snap/network-only/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/network-only/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/network-only/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/network-only/.dirs/runtime 559s # Created snap.yaml in /tmp/test_portal-support-snap_QO2LK2/meta/snap.yaml 559s # Created snapctl in /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/network-only/.dirs/runtime/snapctl 559s ok 5 /portal-support/snap/network-only 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/gsettings-only/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/gsettings-only/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_QO2LK2/portal-support/snap/gsettings-only/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/gsettings-only/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_QO2LK2/portal-support/snap/gsettings-only/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/gsettings-only/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/gsettings-only/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/gsettings-only/.dirs/runtime 559s # Created snap.yaml in /tmp/test_portal-support-snap_QO2LK2/meta/snap.yaml 559s # Created snapctl in /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 559s ok 6 /portal-support/snap/gsettings-only 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/updates-dynamically/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/updates-dynamically/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_QO2LK2/portal-support/snap/updates-dynamically/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/updates-dynamically/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_QO2LK2/portal-support/snap/updates-dynamically/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/updates-dynamically/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/updates-dynamically/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/updates-dynamically/.dirs/runtime 559s # Created snap.yaml in /tmp/test_portal-support-snap_QO2LK2/meta/snap.yaml 559s # Created snapctl in /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 559s # Created snapctl in /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 559s # Created snapctl in /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 559s # Created snapctl in /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 559s # Created snapctl in /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 559s # Created snapctl in /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 559s # Created snapctl in /tmp/test_portal-support-snap_QO2LK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 559s ok 7 /portal-support/snap/updates-dynamically 559s # End of snap tests 559s # End of portal-support tests 559s ok - glib/portal-support-snap.test 559s # Running test: glib/object.test 559s TAP version 13 559s # random seed: R02S292eb9c5bfbd41ed8f9610645c8e5345 559s 1..2 559s # Start of object tests 559s # Start of constructor tests 559s ok 1 /object/constructor/singleton 559s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 559s # End of constructor tests 559s # End of object tests 559s ok - glib/object.test 559s # Running test: glib/mimeapps.test 559s TAP version 13 559s # random seed: R02S0c932720110ed4533d243b7bbff3798a 559s 1..7 559s # Start of appinfo tests 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/runtime 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/system-data1/applications' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/data/applications' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/data/applications/myapp.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/data/applications/myapp2.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/data/applications/myapp3.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/data/applications/myapp4.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/data/applications/myapp5.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 559s # removing '/tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/data/applications/mimeapps.list' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 559s ok 1 /appinfo/all 559s # Start of mime tests 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/runtime 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/system-data1/applications' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/data/applications' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 559s # removing '/tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/config 559s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5CJNK2/appinfo/all/.dirs/config to /tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/config 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/config 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/config 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/config 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/config 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/config 559s ok 2 /appinfo/mime/api 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/runtime 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/system-data1/applications' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/data/applications' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 559s # removing '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/config 559s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5CJNK2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/config 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/config 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/config 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/config 559s ok 3 /appinfo/mime/default 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/runtime 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/system-data1/applications' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/data/applications' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 559s # removing '/tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/config 559s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5CJNK2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/config 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/config 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/config 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/config 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/config 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/config 559s ok 4 /appinfo/mime/file 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/runtime 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/data/applications' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 559s # removing '/tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 559s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5CJNK2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/config 559s ok 5 /appinfo/mime/scheme-handler 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/runtime 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/data/applications' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 559s # removing '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/config 559s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5CJNK2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/config 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/config 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/config 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/config 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/config 559s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/config 559s ok 6 /appinfo/mime/default-last-used 559s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/home 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/cache 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/config 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/data 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/state 559s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/runtime 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 559s # removing '/tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 559s # creating '/tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 559s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5CJNK2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_5CJNK2/appinfo/mime/ignore-nonexisting/.dirs/config 559s ok 7 /appinfo/mime/ignore-nonexisting 559s # End of mime tests 559s # End of appinfo tests 559s ok - glib/mimeapps.test 559s # Running test: glib/atomic-c-99.test 559s TAP version 13 559s # random seed: R02S049617f2f891c72d6a3fe90b9d62c363 559s 1..2 559s # Start of atomic tests 559s ok 1 /atomic/types 560s ok 2 /atomic/threaded 560s # End of atomic tests 560s ok - glib/atomic-c-99.test 560s # Running test: glib/thumbnail-verification.test 560s TAP version 13 560s # random seed: R02S926ceba7fd7f32e4c2a0e886602ea9e1 560s 1..1 560s # Start of png-thumbs tests 560s ok 1 /png-thumbs/validity 560s # End of png-thumbs tests 560s ok - glib/thumbnail-verification.test 560s # Running test: glib/readwrite.test 560s TAP version 13 560s # random seed: R02Se53cf24a75329bf1ce4cc305075ef96d 560s 1..3 560s # Start of readwrite tests 560s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 560s ok 1 /readwrite/test_g_file_open_readwrite 560s ok 2 /readwrite/test_g_file_create_readwrite 560s ok 3 /readwrite/test_g_file_replace_readwrite 560s # End of readwrite tests 560s ok - glib/readwrite.test 560s # Running test: glib/logging.test 560s TAP version 13 560s # random seed: R02Sdb2cbe1f6390ca02a68db852db1abca7 560s 1..17 560s # Start of logging tests 560s ok 1 /logging/default-handler 560s ok 2 /logging/warnings 560s ok 3 /logging/fatal-log-mask 560s # bu-DEBUG: message 560s # ba-DEBUG: message 560s # ba-INFO: message 560s ok 4 /logging/set-handler 560s ok 5 /logging/print-handler 560s ok 6 /logging/printerr-handler 560s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 560s # The Log Message Handler 560s # 560s # The Good Fail Message Handler 560s # 560s ok 7 /logging/653052 560s ok 8 /logging/gibberish 560s # Start of default-handler tests 560s # Start of subprocess tests 560s # End of subprocess tests 560s # End of default-handler tests 560s # End of logging tests 560s # Start of structured-logging tests 560s ok 9 /structured-logging/no-state 560s ok 10 /structured-logging/some-state 560s ok 11 /structured-logging/robustness 560s ok 12 /structured-logging/roundtrip1 560s ok 13 /structured-logging/roundtrip2 560s ok 14 /structured-logging/roundtrip3 560s ok 15 /structured-logging/variant1 560s ok 16 /structured-logging/variant2 560s ok 17 /structured-logging/set-writer-func-twice 560s # End of structured-logging tests 560s ok - glib/logging.test 560s # Running test: glib/deftype.test 560s ok - glib/deftype.test 560s # Running test: glib/utf8-pointer.test 560s TAP version 13 560s # random seed: R02S857a4581bf0bdb571ffef24fff222030 560s 1..3 560s # Start of utf8 tests 561s ok 1 /utf8/offsets 561s # slow test /utf8/offsets executed in 0.95 secs 561s ok 2 /utf8/lengths 561s ok 3 /utf8/find 561s # End of utf8 tests 561s ok - glib/utf8-pointer.test 561s # Running test: glib/performance.test 561s Running test simple-construction 563s # Executing: glib/performance.test 568s # Executing: glib/performance.test 572s Millions of constructed objects per second: 16.764 572s Running test simple-construction1 573s # Executing: glib/performance.test 576s Millions of constructed objects per second: 55.830 576s Running test complex-construction 578s # Executing: glib/performance.test 580s Millions of constructed objects per second: 6.171 580s Running test complex-construction1 583s # Executing: glib/performance.test 588s # Executing: glib/performance.test 589s Millions of constructed objects per second: 9.147 589s Running test complex-construction2 593s # Executing: glib/performance.test 594s Millions of constructed objects per second: 11.990 594s Running test finalization 596s Millions of finalized objects per second: 3.247 596s Running test type-check 596s Million type checks per second: inf 596s Running test emit-unhandled 597s Emissions per second: 6141606 597s Running test emit-unhandled-empty 598s # Executing: glib/performance.test 599s Emissions per second: 41705202 599s Running test emit-unhandled-generic 600s Emissions per second: 10416114 600s Running test emit-unhandled-generic-empty 601s Emissions per second: 43008894 601s Running test emit-unhandled-args 603s # Executing: glib/performance.test 603s Emissions per second: 5101156 603s Running test emit-handled 605s Emissions per second: 3912002 605s Running test emit-handled-empty 607s Emissions per second: 4600974 607s Running test emit-handled-generic 608s # Executing: glib/performance.test 608s Emissions per second: 4492080 608s Running test emit-handled-generic-empty 610s Emissions per second: 8445312 610s Running test emit-handled-args 611s Emissions per second: 3867458 612s Running test notify-unhandled 613s # Executing: glib/performance.test 613s Notify (unhandled) per second: 26693333 613s Running test notify-by-pspec-unhandled 615s Notify (unhandled) per second: 95334022 615s Running test notify-handled 617s Notify per second: 2365251 617s Running test notify-by-pspec-handled 618s # Executing: glib/performance.test 619s Notify per second: 2544547 619s Running test property-set 621s Property set per second: 11492492 621s Running test property-get 622s Property get per second: 10681011 622s Running test refcount 623s # Executing: glib/performance.test 625s Million refs+unref per second: 33.36 625s ok - glib/performance.test 625s # Running test: glib/sort.test 625s TAP version 13 625s # random seed: R02Seee0b42ac437fcbfe670b0d9af336dfa 625s 1..4 625s # Start of sort tests 625s ok 1 /sort/basic 625s ok 2 /sort/zero-elements 625s ok 3 /sort/stable 625s ok 4 /sort/big 625s # End of sort tests 625s ok - glib/sort.test 625s # Running test: glib/regex.test 625s TAP version 13 625s # random seed: R02S1c59cd1c90a6e306c84db3e768423e26 625s 1..848 625s # Start of regex tests 625s ok 1 /regex/properties 625s ok 2 /regex/class 625s ok 3 /regex/lookahead 625s ok 4 /regex/lookbehind 625s ok 5 /regex/subpattern 625s ok 6 /regex/condition 625s ok 7 /regex/recursion 625s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 625s ok 8 /regex/multiline 625s ok 9 /regex/explicit-crlf 625s ok 10 /regex/max-lookbehind 625s ok 11 /regex/compile-errors 625s ok 12 /regex/jit-unsupported-matching 625s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 625s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 625s ok 13 /regex/unmatched-named-subpattern 625s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 625s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 625s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 625s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 625s ok 14 /regex/compiled-regex-after-jit-failure 625s # Start of new tests 625s ok 15 /regex/new/1 625s ok 16 /regex/new/2 625s ok 17 /regex/new/3 625s ok 18 /regex/new/4 625s ok 19 /regex/new/5 625s ok 20 /regex/new/6 625s ok 21 /regex/new/7 625s ok 22 /regex/new/8 625s ok 23 /regex/new/9 625s ok 24 /regex/new/10 625s ok 25 /regex/new/11 625s ok 26 /regex/new/12 625s ok 27 /regex/new/13 625s ok 28 /regex/new/14 625s ok 29 /regex/new/15 625s ok 30 /regex/new/16 625s ok 31 /regex/new/17 625s ok 32 /regex/new/18 625s ok 33 /regex/new/19 625s ok 34 /regex/new/71 625s ok 35 /regex/new/80 625s ok 36 /regex/new/82 625s # End of new tests 625s # Start of new-check-flags tests 625s ok 37 /regex/new-check-flags/20 625s ok 38 /regex/new-check-flags/21 625s ok 39 /regex/new-check-flags/22 625s ok 40 /regex/new-check-flags/23 625s ok 41 /regex/new-check-flags/24 625s ok 42 /regex/new-check-flags/25 625s ok 43 /regex/new-check-flags/26 625s ok 44 /regex/new-check-flags/27 625s ok 45 /regex/new-check-flags/28 625s ok 46 /regex/new-check-flags/29 625s ok 47 /regex/new-check-flags/30 625s ok 48 /regex/new-check-flags/31 625s ok 49 /regex/new-check-flags/32 625s ok 50 /regex/new-check-flags/33 625s ok 51 /regex/new-check-flags/34 625s ok 52 /regex/new-check-flags/35 625s ok 53 /regex/new-check-flags/36 625s # End of new-check-flags tests 625s # Start of new-fail tests 625s ok 54 /regex/new-fail/37 625s ok 55 /regex/new-fail/38 625s ok 56 /regex/new-fail/39 625s ok 57 /regex/new-fail/40 625s ok 58 /regex/new-fail/41 625s ok 59 /regex/new-fail/42 625s ok 60 /regex/new-fail/43 625s ok 61 /regex/new-fail/44 625s ok 62 /regex/new-fail/45 625s ok 63 /regex/new-fail/46 625s ok 64 /regex/new-fail/47 625s ok 65 /regex/new-fail/48 625s ok 66 /regex/new-fail/49 625s ok 67 /regex/new-fail/50 625s ok 68 /regex/new-fail/51 625s ok 69 /regex/new-fail/52 625s ok 70 /regex/new-fail/53 625s ok 71 /regex/new-fail/54 625s ok 72 /regex/new-fail/55 625s ok 73 /regex/new-fail/56 625s ok 74 /regex/new-fail/57 625s ok 75 /regex/new-fail/58 625s ok 76 /regex/new-fail/59 625s ok 77 /regex/new-fail/60 625s ok 78 /regex/new-fail/61 625s ok 79 /regex/new-fail/62 625s ok 80 /regex/new-fail/63 625s ok 81 /regex/new-fail/64 625s ok 82 /regex/new-fail/65 625s ok 83 /regex/new-fail/66 625s ok 84 /regex/new-fail/67 625s ok 85 /regex/new-fail/68 625s ok 86 /regex/new-fail/69 625s ok 87 /regex/new-fail/70 625s ok 88 /regex/new-fail/72 625s ok 89 /regex/new-fail/73 625s ok 90 /regex/new-fail/74 625s ok 91 /regex/new-fail/75 625s ok 92 /regex/new-fail/76 625s ok 93 /regex/new-fail/77 625s ok 94 /regex/new-fail/78 625s ok 95 /regex/new-fail/79 625s ok 96 /regex/new-fail/81 625s ok 97 /regex/new-fail/83 625s ok 98 /regex/new-fail/84 625s ok 99 /regex/new-fail/85 625s ok 100 /regex/new-fail/86 625s ok 101 /regex/new-fail/87 625s ok 102 /regex/new-fail/88 625s ok 103 /regex/new-fail/89 625s ok 104 /regex/new-fail/90 625s ok 105 /regex/new-fail/91 625s # End of new-fail tests 625s # Start of match-simple tests 625s ok 106 /regex/match-simple/92 625s ok 107 /regex/match-simple/93 625s ok 108 /regex/match-simple/94 625s ok 109 /regex/match-simple/95 625s ok 110 /regex/match-simple/96 625s ok 111 /regex/match-simple/97 625s ok 112 /regex/match-simple/98 625s ok 113 /regex/match-simple/99 625s ok 114 /regex/match-simple/100 625s ok 115 /regex/match-simple/101 625s ok 116 /regex/match-simple/102 625s ok 117 /regex/match-simple/103 625s ok 118 /regex/match-simple/104 625s ok 119 /regex/match-simple/105 625s ok 120 /regex/match-simple/106 625s ok 121 /regex/match-simple/107 625s ok 122 /regex/match-simple/108 625s ok 123 /regex/match-simple/109 625s ok 124 /regex/match-simple/110 625s ok 125 /regex/match-simple/111 625s ok 126 /regex/match-simple/112 625s ok 127 /regex/match-simple/113 625s ok 128 /regex/match-simple/114 625s ok 129 /regex/match-simple/115 625s ok 130 /regex/match-simple/116 625s ok 131 /regex/match-simple/117 625s ok 132 /regex/match-simple/118 625s ok 133 /regex/match-simple/119 625s ok 134 /regex/match-simple/120 625s ok 135 /regex/match-simple/121 625s ok 136 /regex/match-simple/122 625s ok 137 /regex/match-simple/123 625s ok 138 /regex/match-simple/124 625s ok 139 /regex/match-simple/125 625s ok 140 /regex/match-simple/126 625s ok 141 /regex/match-simple/127 625s ok 142 /regex/match-simple/128 625s ok 143 /regex/match-simple/129 625s ok 144 /regex/match-simple/130 625s ok 145 /regex/match-simple/131 625s ok 146 /regex/match-simple/132 625s ok 147 /regex/match-simple/133 625s ok 148 /regex/match-simple/134 625s ok 149 /regex/match-simple/135 625s ok 150 /regex/match-simple/136 625s ok 151 /regex/match-simple/137 625s ok 152 /regex/match-simple/138 625s ok 153 /regex/match-simple/139 625s ok 154 /regex/match-simple/140 625s ok 155 /regex/match-simple/141 625s ok 156 /regex/match-simple/142 625s ok 157 /regex/match-simple/143 625s ok 158 /regex/match-simple/144 625s ok 159 /regex/match-simple/145 625s ok 160 /regex/match-simple/146 625s ok 161 /regex/match-simple/147 625s ok 162 /regex/match-simple/148 625s ok 163 /regex/match-simple/149 625s ok 164 /regex/match-simple/150 625s ok 165 /regex/match-simple/151 625s ok 166 /regex/match-simple/152 625s ok 167 /regex/match-simple/153 625s ok 168 /regex/match-simple/154 625s ok 169 /regex/match-simple/155 625s ok 170 /regex/match-simple/156 625s ok 171 /regex/match-simple/157 625s ok 172 /regex/match-simple/158 625s ok 173 /regex/match-simple/159 625s ok 174 /regex/match-simple/160 625s ok 175 /regex/match-simple/161 625s ok 176 /regex/match-simple/162 625s ok 177 /regex/match-simple/163 625s ok 178 /regex/match-simple/164 625s # End of match-simple tests 625s # Start of match-simple-optimized tests 625s ok 179 /regex/match-simple-optimized/92 625s ok 180 /regex/match-simple-optimized/93 625s ok 181 /regex/match-simple-optimized/94 625s ok 182 /regex/match-simple-optimized/95 625s ok 183 /regex/match-simple-optimized/96 625s ok 184 /regex/match-simple-optimized/97 625s ok 185 /regex/match-simple-optimized/98 625s ok 186 /regex/match-simple-optimized/99 625s ok 187 /regex/match-simple-optimized/100 625s ok 188 /regex/match-simple-optimized/101 625s ok 189 /regex/match-simple-optimized/102 625s ok 190 /regex/match-simple-optimized/103 625s ok 191 /regex/match-simple-optimized/104 625s ok 192 /regex/match-simple-optimized/105 625s ok 193 /regex/match-simple-optimized/106 625s ok 194 /regex/match-simple-optimized/107 625s ok 195 /regex/match-simple-optimized/108 625s ok 196 /regex/match-simple-optimized/109 625s ok 197 /regex/match-simple-optimized/110 625s ok 198 /regex/match-simple-optimized/111 625s ok 199 /regex/match-simple-optimized/112 625s ok 200 /regex/match-simple-optimized/113 625s ok 201 /regex/match-simple-optimized/114 625s ok 202 /regex/match-simple-optimized/115 625s ok 203 /regex/match-simple-optimized/116 625s ok 204 /regex/match-simple-optimized/117 625s ok 205 /regex/match-simple-optimized/118 625s ok 206 /regex/match-simple-optimized/119 625s ok 207 /regex/match-simple-optimized/120 625s ok 208 /regex/match-simple-optimized/121 625s ok 209 /regex/match-simple-optimized/122 625s ok 210 /regex/match-simple-optimized/123 625s ok 211 /regex/match-simple-optimized/124 625s ok 212 /regex/match-simple-optimized/125 625s ok 213 /regex/match-simple-optimized/126 625s ok 214 /regex/match-simple-optimized/127 625s ok 215 /regex/match-simple-optimized/128 625s ok 216 /regex/match-simple-optimized/129 625s ok 217 /regex/match-simple-optimized/130 625s ok 218 /regex/match-simple-optimized/131 625s ok 219 /regex/match-simple-optimized/132 625s ok 220 /regex/match-simple-optimized/133 625s ok 221 /regex/match-simple-optimized/134 625s ok 222 /regex/match-simple-optimized/135 625s ok 223 /regex/match-simple-optimized/136 625s ok 224 /regex/match-simple-optimized/137 625s ok 225 /regex/match-simple-optimized/138 625s ok 226 /regex/match-simple-optimized/139 625s ok 227 /regex/match-simple-optimized/140 625s ok 228 /regex/match-simple-optimized/141 625s ok 229 /regex/match-simple-optimized/142 625s ok 230 /regex/match-simple-optimized/143 625s ok 231 /regex/match-simple-optimized/144 625s ok 232 /regex/match-simple-optimized/145 625s ok 233 /regex/match-simple-optimized/146 625s ok 234 /regex/match-simple-optimized/147 625s ok 235 /regex/match-simple-optimized/148 625s ok 236 /regex/match-simple-optimized/149 625s ok 237 /regex/match-simple-optimized/150 625s ok 238 /regex/match-simple-optimized/151 625s ok 239 /regex/match-simple-optimized/152 625s ok 240 /regex/match-simple-optimized/153 625s ok 241 /regex/match-simple-optimized/154 625s ok 242 /regex/match-simple-optimized/155 625s ok 243 /regex/match-simple-optimized/156 625s ok 244 /regex/match-simple-optimized/157 625s ok 245 /regex/match-simple-optimized/158 625s ok 246 /regex/match-simple-optimized/159 625s ok 247 /regex/match-simple-optimized/160 625s ok 248 /regex/match-simple-optimized/161 625s ok 249 /regex/match-simple-optimized/162 625s ok 250 /regex/match-simple-optimized/163 625s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 626s ok 251 /regex/match-simple-optimized/164 626s # End of match-simple-optimized tests 626s # Start of match tests 626s ok 252 /regex/match/165 626s ok 253 /regex/match/166 626s ok 254 /regex/match/167 626s ok 255 /regex/match/168 626s ok 256 /regex/match/169 626s ok 257 /regex/match/170 626s ok 258 /regex/match/171 626s ok 259 /regex/match/172 626s ok 260 /regex/match/173 626s ok 261 /regex/match/174 626s ok 262 /regex/match/175 626s ok 263 /regex/match/176 626s ok 264 /regex/match/177 626s ok 265 /regex/match/178 626s ok 266 /regex/match/179 626s ok 267 /regex/match/180 626s ok 268 /regex/match/181 626s ok 269 /regex/match/182 626s ok 270 /regex/match/183 626s ok 271 /regex/match/184 626s ok 272 /regex/match/185 626s ok 273 /regex/match/186 626s ok 274 /regex/match/187 626s ok 275 /regex/match/188 626s ok 276 /regex/match/189 626s ok 277 /regex/match/190 626s ok 278 /regex/match/191 626s ok 279 /regex/match/192 626s ok 280 /regex/match/193 626s ok 281 /regex/match/194 626s ok 282 /regex/match/195 626s ok 283 /regex/match/196 626s ok 284 /regex/match/197 626s ok 285 /regex/match/198 626s ok 286 /regex/match/199 626s ok 287 /regex/match/200 626s ok 288 /regex/match/201 626s ok 289 /regex/match/202 626s ok 290 /regex/match/203 626s ok 291 /regex/match/204 626s ok 292 /regex/match/205 626s ok 293 /regex/match/206 626s ok 294 /regex/match/207 626s ok 295 /regex/match/208 626s ok 296 /regex/match/209 626s ok 297 /regex/match/210 626s ok 298 /regex/match/211 626s ok 299 /regex/match/212 626s ok 300 /regex/match/213 626s ok 301 /regex/match/214 626s ok 302 /regex/match/215 626s ok 303 /regex/match/216 626s ok 304 /regex/match/217 626s ok 305 /regex/match/218 626s ok 306 /regex/match/219 626s ok 307 /regex/match/220 626s ok 308 /regex/match/221 626s ok 309 /regex/match/222 626s ok 310 /regex/match/223 626s ok 311 /regex/match/224 626s ok 312 /regex/match/225 626s ok 313 /regex/match/226 626s ok 314 /regex/match/227 626s ok 315 /regex/match/228 626s ok 316 /regex/match/229 626s ok 317 /regex/match/230 626s ok 318 /regex/match/231 626s ok 319 /regex/match/232 626s ok 320 /regex/match/233 626s ok 321 /regex/match/234 626s ok 322 /regex/match/235 626s ok 323 /regex/match/236 626s ok 324 /regex/match/237 626s ok 325 /regex/match/238 626s ok 326 /regex/match/239 626s ok 327 /regex/match/240 626s ok 328 /regex/match/241 626s ok 329 /regex/match/242 626s ok 330 /regex/match/243 626s ok 331 /regex/match/244 626s ok 332 /regex/match/245 626s ok 333 /regex/match/246 626s ok 334 /regex/match/partial281 626s ok 335 /regex/match/partial282 626s ok 336 /regex/match/partial283 626s ok 337 /regex/match/partial284 626s ok 338 /regex/match/partial285 626s ok 339 /regex/match/partial286 626s ok 340 /regex/match/partial287 626s ok 341 /regex/match/partial288 626s ok 342 /regex/match/partial289 626s ok 343 /regex/match/partial290 626s ok 344 /regex/match/partial291 626s ok 345 /regex/match/partial292 626s ok 346 /regex/match/partial293 626s ok 347 /regex/match/partial294 626s ok 348 /regex/match/partial295 626s ok 349 /regex/match/partial296 626s ok 350 /regex/match/partial297 626s ok 351 /regex/match/partial298 626s ok 352 /regex/match/partial299 626s ok 353 /regex/match/partial300 626s ok 354 /regex/match/partial301 626s ok 355 /regex/match/partial302 626s # Start of next0 tests 626s ok 356 /regex/match/next0/247 626s ok 357 /regex/match/next0/248 626s ok 358 /regex/match/next0/249 626s ok 359 /regex/match/next0/250 626s # End of next0 tests 626s # Start of next1 tests 626s ok 360 /regex/match/next1/251 626s ok 361 /regex/match/next1/252 626s ok 362 /regex/match/next1/253 626s ok 363 /regex/match/next1/254 626s ok 364 /regex/match/next1/255 626s # End of next1 tests 626s # Start of next2 tests 626s ok 365 /regex/match/next2/256 626s ok 366 /regex/match/next2/257 626s ok 367 /regex/match/next2/258 626s ok 368 /regex/match/next2/259 626s ok 369 /regex/match/next2/260 626s ok 370 /regex/match/next2/261 626s ok 371 /regex/match/next2/262 626s ok 372 /regex/match/next2/263 626s # End of next2 tests 626s # Start of next3 tests 626s ok 373 /regex/match/next3/264 626s ok 374 /regex/match/next3/265 626s ok 375 /regex/match/next3/266 626s ok 376 /regex/match/next3/267 626s ok 377 /regex/match/next3/268 626s ok 378 /regex/match/next3/269 626s # End of next3 tests 626s # Start of next4 tests 626s ok 379 /regex/match/next4/270 626s # End of next4 tests 626s # Start of count tests 626s ok 380 /regex/match/count/271 626s ok 381 /regex/match/count/272 626s ok 382 /regex/match/count/273 626s ok 383 /regex/match/count/274 626s ok 384 /regex/match/count/275 626s ok 385 /regex/match/count/276 626s ok 386 /regex/match/count/277 626s ok 387 /regex/match/count/278 626s ok 388 /regex/match/count/279 626s ok 389 /regex/match/count/280 626s # End of count tests 626s # Start of count-optimized tests 626s ok 390 /regex/match/count-optimized/271 626s ok 391 /regex/match/count-optimized/272 626s ok 392 /regex/match/count-optimized/273 626s ok 393 /regex/match/count-optimized/274 626s ok 394 /regex/match/count-optimized/275 626s ok 395 /regex/match/count-optimized/276 626s ok 396 /regex/match/count-optimized/277 626s ok 397 /regex/match/count-optimized/278 626s ok 398 /regex/match/count-optimized/279 626s ok 399 /regex/match/count-optimized/280 626s # End of count-optimized tests 626s # Start of partial-optimized tests 626s ok 400 /regex/match/partial-optimized/281 626s ok 401 /regex/match/partial-optimized/282 626s ok 402 /regex/match/partial-optimized/283 626s ok 403 /regex/match/partial-optimized/284 626s ok 404 /regex/match/partial-optimized/285 626s ok 405 /regex/match/partial-optimized/286 626s ok 406 /regex/match/partial-optimized/287 626s ok 407 /regex/match/partial-optimized/288 626s ok 408 /regex/match/partial-optimized/289 626s ok 409 /regex/match/partial-optimized/290 626s ok 410 /regex/match/partial-optimized/291 626s ok 411 /regex/match/partial-optimized/292 626s ok 412 /regex/match/partial-optimized/293 626s ok 413 /regex/match/partial-optimized/294 626s ok 414 /regex/match/partial-optimized/295 626s ok 415 /regex/match/partial-optimized/296 626s ok 416 /regex/match/partial-optimized/297 626s ok 417 /regex/match/partial-optimized/298 626s ok 418 /regex/match/partial-optimized/299 626s ok 419 /regex/match/partial-optimized/300 626s ok 420 /regex/match/partial-optimized/301 626s ok 421 /regex/match/partial-optimized/302 626s # End of partial-optimized tests 626s # Start of subpattern tests 626s ok 422 /regex/match/subpattern/303 626s ok 423 /regex/match/subpattern/304 626s ok 424 /regex/match/subpattern/305 626s ok 425 /regex/match/subpattern/306 626s ok 426 /regex/match/subpattern/307 626s ok 427 /regex/match/subpattern/308 626s ok 428 /regex/match/subpattern/309 626s ok 429 /regex/match/subpattern/310 626s ok 430 /regex/match/subpattern/311 626s ok 431 /regex/match/subpattern/312 626s ok 432 /regex/match/subpattern/313 626s ok 433 /regex/match/subpattern/314 626s ok 434 /regex/match/subpattern/315 626s # Start of named tests 626s # Start of dupnames tests 626s ok 435 /regex/match/subpattern/named/dupnames/325 626s ok 436 /regex/match/subpattern/named/dupnames/326 626s ok 437 /regex/match/subpattern/named/dupnames/327 626s ok 438 /regex/match/subpattern/named/dupnames/328 626s ok 439 /regex/match/subpattern/named/dupnames/329 626s # End of dupnames tests 626s # End of named tests 626s # End of subpattern tests 626s # Start of subpattern-optimized tests 626s ok 440 /regex/match/subpattern-optimized/303 626s ok 441 /regex/match/subpattern-optimized/304 626s ok 442 /regex/match/subpattern-optimized/305 626s ok 443 /regex/match/subpattern-optimized/306 626s ok 444 /regex/match/subpattern-optimized/307 626s ok 445 /regex/match/subpattern-optimized/308 626s ok 446 /regex/match/subpattern-optimized/309 626s ok 447 /regex/match/subpattern-optimized/310 626s ok 448 /regex/match/subpattern-optimized/311 626s ok 449 /regex/match/subpattern-optimized/312 626s ok 450 /regex/match/subpattern-optimized/313 626s ok 451 /regex/match/subpattern-optimized/314 626s ok 452 /regex/match/subpattern-optimized/315 626s # End of subpattern-optimized tests 626s # Start of named tests 626s # Start of subpattern tests 626s ok 453 /regex/match/named/subpattern/316 626s ok 454 /regex/match/named/subpattern/317 626s ok 455 /regex/match/named/subpattern/318 626s ok 456 /regex/match/named/subpattern/319 626s ok 457 /regex/match/named/subpattern/320 626s ok 458 /regex/match/named/subpattern/321 626s ok 459 /regex/match/named/subpattern/322 626s ok 460 /regex/match/named/subpattern/323 626s ok 461 /regex/match/named/subpattern/324 626s ok 462 /regex/match/named/subpattern/330 626s ok 463 /regex/match/named/subpattern/331 626s ok 464 /regex/match/named/subpattern/332 626s ok 465 /regex/match/named/subpattern/333 626s ok 466 /regex/match/named/subpattern/334 626s # End of subpattern tests 626s # End of named tests 626s # End of match tests 626s # Start of match-optimized tests 626s ok 467 /regex/match-optimized/165 626s ok 468 /regex/match-optimized/166 626s ok 469 /regex/match-optimized/167 626s ok 470 /regex/match-optimized/168 626s ok 471 /regex/match-optimized/169 626s ok 472 /regex/match-optimized/170 626s ok 473 /regex/match-optimized/171 626s ok 474 /regex/match-optimized/172 626s ok 475 /regex/match-optimized/173 626s ok 476 /regex/match-optimized/174 626s ok 477 /regex/match-optimized/175 626s ok 478 /regex/match-optimized/176 626s ok 479 /regex/match-optimized/177 626s ok 480 /regex/match-optimized/178 626s ok 481 /regex/match-optimized/179 626s ok 482 /regex/match-optimized/180 626s ok 483 /regex/match-optimized/181 626s ok 484 /regex/match-optimized/182 626s ok 485 /regex/match-optimized/183 626s ok 486 /regex/match-optimized/184 626s ok 487 /regex/match-optimized/185 626s ok 488 /regex/match-optimized/186 626s ok 489 /regex/match-optimized/187 626s ok 490 /regex/match-optimized/188 626s ok 491 /regex/match-optimized/189 626s ok 492 /regex/match-optimized/190 626s ok 493 /regex/match-optimized/191 626s ok 494 /regex/match-optimized/192 626s ok 495 /regex/match-optimized/193 626s ok 496 /regex/match-optimized/194 626s ok 497 /regex/match-optimized/195 626s ok 498 /regex/match-optimized/196 626s ok 499 /regex/match-optimized/197 626s ok 500 /regex/match-optimized/198 626s ok 501 /regex/match-optimized/199 626s ok 502 /regex/match-optimized/200 626s ok 503 /regex/match-optimized/201 626s ok 504 /regex/match-optimized/202 626s ok 505 /regex/match-optimized/203 626s ok 506 /regex/match-optimized/204 626s ok 507 /regex/match-optimized/205 626s ok 508 /regex/match-optimized/206 626s ok 509 /regex/match-optimized/207 626s ok 510 /regex/match-optimized/208 626s ok 511 /regex/match-optimized/209 626s ok 512 /regex/match-optimized/210 626s ok 513 /regex/match-optimized/211 626s ok 514 /regex/match-optimized/212 626s ok 515 /regex/match-optimized/213 626s ok 516 /regex/match-optimized/214 626s ok 517 /regex/match-optimized/215 626s ok 518 /regex/match-optimized/216 626s ok 519 /regex/match-optimized/217 626s ok 520 /regex/match-optimized/218 626s ok 521 /regex/match-optimized/219 626s ok 522 /regex/match-optimized/220 626s ok 523 /regex/match-optimized/221 626s ok 524 /regex/match-optimized/222 626s ok 525 /regex/match-optimized/223 626s ok 526 /regex/match-optimized/224 626s ok 527 /regex/match-optimized/225 626s ok 528 /regex/match-optimized/226 626s ok 529 /regex/match-optimized/227 626s ok 530 /regex/match-optimized/228 626s ok 531 /regex/match-optimized/229 626s ok 532 /regex/match-optimized/230 626s ok 533 /regex/match-optimized/231 626s ok 534 /regex/match-optimized/232 626s ok 535 /regex/match-optimized/233 626s ok 536 /regex/match-optimized/234 626s ok 537 /regex/match-optimized/235 626s ok 538 /regex/match-optimized/236 626s ok 539 /regex/match-optimized/237 626s ok 540 /regex/match-optimized/238 626s ok 541 /regex/match-optimized/239 626s ok 542 /regex/match-optimized/240 626s ok 543 /regex/match-optimized/241 626s ok 544 /regex/match-optimized/242 626s ok 545 /regex/match-optimized/243 626s ok 546 /regex/match-optimized/244 626s ok 547 /regex/match-optimized/245 626s ok 548 /regex/match-optimized/246 626s # End of match-optimized tests 626s # Start of fetch-all0 tests 626s ok 549 /regex/fetch-all0/335 626s ok 550 /regex/fetch-all0/336 626s # End of fetch-all0 tests 626s # Start of fetch-all1 tests 626s ok 551 /regex/fetch-all1/337 626s ok 552 /regex/fetch-all1/338 626s ok 553 /regex/fetch-all1/339 626s # End of fetch-all1 tests 626s # Start of fetch-all2 tests 626s ok 554 /regex/fetch-all2/340 626s ok 555 /regex/fetch-all2/341 626s ok 556 /regex/fetch-all2/342 626s # End of fetch-all2 tests 626s # Start of fetch-all3 tests 626s ok 557 /regex/fetch-all3/343 626s ok 558 /regex/fetch-all3/344 626s ok 559 /regex/fetch-all3/345 626s ok 560 /regex/fetch-all3/346 626s ok 561 /regex/fetch-all3/347 626s # End of fetch-all3 tests 626s # Start of split tests 626s # Start of simple0 tests 626s ok 562 /regex/split/simple0/348 626s ok 563 /regex/split/simple0/349 626s ok 564 /regex/split/simple0/364 626s ok 565 /regex/split/simple0/365 626s # End of simple0 tests 626s # Start of simple1 tests 626s ok 566 /regex/split/simple1/350 626s ok 567 /regex/split/simple1/351 626s # End of simple1 tests 626s # Start of simple2 tests 626s ok 568 /regex/split/simple2/352 626s ok 569 /regex/split/simple2/358 626s ok 570 /regex/split/simple2/360 626s # End of simple2 tests 626s # Start of simple3 tests 626s ok 571 /regex/split/simple3/353 626s ok 572 /regex/split/simple3/354 626s ok 573 /regex/split/simple3/355 626s ok 574 /regex/split/simple3/356 626s ok 575 /regex/split/simple3/357 626s ok 576 /regex/split/simple3/359 626s ok 577 /regex/split/simple3/361 626s ok 578 /regex/split/simple3/362 626s ok 579 /regex/split/simple3/363 626s # End of simple3 tests 626s # End of split tests 626s # Start of split0 tests 626s ok 580 /regex/split0/366 626s ok 581 /regex/split0/368 626s # End of split0 tests 626s # Start of full-split0 tests 626s ok 582 /regex/full-split0/367 626s ok 583 /regex/full-split0/369 626s ok 584 /regex/full-split0/370 626s ok 585 /regex/full-split0/371 626s ok 586 /regex/full-split0/372 626s # End of full-split0 tests 626s # Start of split1 tests 626s ok 587 /regex/split1/373 626s ok 588 /regex/split1/376 626s # End of split1 tests 626s # Start of full-split1 tests 626s ok 589 /regex/full-split1/374 626s ok 590 /regex/full-split1/375 626s ok 591 /regex/full-split1/377 626s ok 592 /regex/full-split1/378 626s ok 593 /regex/full-split1/404 626s # End of full-split1 tests 626s # Start of split2 tests 626s ok 594 /regex/split2/379 626s ok 595 /regex/split2/383 626s ok 596 /regex/split2/395 626s # End of split2 tests 626s # Start of full-split2 tests 626s ok 597 /regex/full-split2/380 626s ok 598 /regex/full-split2/381 626s ok 599 /regex/full-split2/382 626s ok 600 /regex/full-split2/384 626s ok 601 /regex/full-split2/396 626s ok 602 /regex/full-split2/399 626s ok 603 /regex/full-split2/405 626s # End of full-split2 tests 626s # Start of split3 tests 626s ok 604 /regex/split3/385 626s ok 605 /regex/split3/387 626s ok 606 /regex/split3/389 626s ok 607 /regex/split3/391 626s ok 608 /regex/split3/393 626s ok 609 /regex/split3/397 626s ok 610 /regex/split3/400 626s ok 611 /regex/split3/402 626s # End of split3 tests 626s # Start of full-split3 tests 626s ok 612 /regex/full-split3/386 626s ok 613 /regex/full-split3/388 626s ok 614 /regex/full-split3/390 626s ok 615 /regex/full-split3/392 626s ok 616 /regex/full-split3/394 626s ok 617 /regex/full-split3/398 626s ok 618 /regex/full-split3/401 626s ok 619 /regex/full-split3/403 626s ok 620 /regex/full-split3/406 626s ok 621 /regex/full-split3/407 626s # End of full-split3 tests 626s # Start of check-repacement tests 626s ok 622 /regex/check-repacement/408 626s ok 623 /regex/check-repacement/409 626s ok 624 /regex/check-repacement/410 626s ok 625 /regex/check-repacement/411 626s ok 626 /regex/check-repacement/412 626s ok 627 /regex/check-repacement/413 626s ok 628 /regex/check-repacement/414 626s ok 629 /regex/check-repacement/415 626s # End of check-repacement tests 626s # Start of expand tests 626s ok 630 /regex/expand/416 626s ok 631 /regex/expand/417 626s ok 632 /regex/expand/418 626s ok 633 /regex/expand/419 626s ok 634 /regex/expand/420 626s ok 635 /regex/expand/421 626s ok 636 /regex/expand/422 626s ok 637 /regex/expand/423 626s ok 638 /regex/expand/424 626s ok 639 /regex/expand/425 626s ok 640 /regex/expand/426 626s ok 641 /regex/expand/427 626s ok 642 /regex/expand/428 626s ok 643 /regex/expand/429 626s ok 644 /regex/expand/430 626s ok 645 /regex/expand/431 626s ok 646 /regex/expand/432 626s ok 647 /regex/expand/433 626s ok 648 /regex/expand/434 626s ok 649 /regex/expand/435 626s ok 650 /regex/expand/436 626s ok 651 /regex/expand/437 626s ok 652 /regex/expand/438 626s ok 653 /regex/expand/439 626s ok 654 /regex/expand/440 626s ok 655 /regex/expand/441 626s ok 656 /regex/expand/442 626s ok 657 /regex/expand/443 626s ok 658 /regex/expand/444 626s ok 659 /regex/expand/445 626s ok 660 /regex/expand/446 626s ok 661 /regex/expand/447 626s ok 662 /regex/expand/448 626s ok 663 /regex/expand/449 626s ok 664 /regex/expand/450 626s ok 665 /regex/expand/451 626s ok 666 /regex/expand/452 626s ok 667 /regex/expand/453 626s ok 668 /regex/expand/454 626s ok 669 /regex/expand/455 626s ok 670 /regex/expand/456 626s ok 671 /regex/expand/457 626s ok 672 /regex/expand/458 626s ok 673 /regex/expand/459 626s ok 674 /regex/expand/460 626s ok 675 /regex/expand/461 626s ok 676 /regex/expand/462 626s ok 677 /regex/expand/463 626s ok 678 /regex/expand/464 626s ok 679 /regex/expand/465 626s ok 680 /regex/expand/466 626s ok 681 /regex/expand/467 626s ok 682 /regex/expand/468 626s ok 683 /regex/expand/469 626s ok 684 /regex/expand/470 626s ok 685 /regex/expand/471 626s ok 686 /regex/expand/472 626s ok 687 /regex/expand/473 626s ok 688 /regex/expand/474 626s ok 689 /regex/expand/475 626s ok 690 /regex/expand/476 626s ok 691 /regex/expand/477 626s ok 692 /regex/expand/478 626s ok 693 /regex/expand/479 626s ok 694 /regex/expand/480 626s ok 695 /regex/expand/481 626s # End of expand tests 626s # Start of replace tests 626s ok 696 /regex/replace/482 626s ok 697 /regex/replace/483 626s ok 698 /regex/replace/484 626s ok 699 /regex/replace/485 626s ok 700 /regex/replace/486 626s ok 701 /regex/replace/487 626s ok 702 /regex/replace/488 626s ok 703 /regex/replace/489 626s ok 704 /regex/replace/490 626s ok 705 /regex/replace/491 626s ok 706 /regex/replace/492 626s ok 707 /regex/replace/493 626s ok 708 /regex/replace/494 626s ok 709 /regex/replace/495 626s ok 710 /regex/replace/496 626s ok 711 /regex/replace/497 626s ok 712 /regex/replace/498 626s ok 713 /regex/replace/499 626s ok 714 /regex/replace/500 626s ok 715 /regex/replace/501 626s ok 716 /regex/replace/502 626s ok 717 /regex/replace/503 626s ok 718 /regex/replace/504 626s ok 719 /regex/replace/505 626s ok 720 /regex/replace/506 626s ok 721 /regex/replace/507 626s ok 722 /regex/replace/508 626s ok 723 /regex/replace/509 626s # End of replace tests 626s # Start of replace-optimized tests 626s ok 724 /regex/replace-optimized/482 626s ok 725 /regex/replace-optimized/483 626s ok 726 /regex/replace-optimized/484 626s ok 727 /regex/replace-optimized/485 626s ok 728 /regex/replace-optimized/486 626s ok 729 /regex/replace-optimized/487 626s ok 730 /regex/replace-optimized/488 626s ok 731 /regex/replace-optimized/489 626s ok 732 /regex/replace-optimized/490 626s ok 733 /regex/replace-optimized/491 626s ok 734 /regex/replace-optimized/492 626s ok 735 /regex/replace-optimized/493 626s ok 736 /regex/replace-optimized/494 626s ok 737 /regex/replace-optimized/495 626s ok 738 /regex/replace-optimized/496 626s ok 739 /regex/replace-optimized/497 626s ok 740 /regex/replace-optimized/498 626s ok 741 /regex/replace-optimized/499 626s ok 742 /regex/replace-optimized/500 626s ok 743 /regex/replace-optimized/501 626s ok 744 /regex/replace-optimized/502 626s ok 745 /regex/replace-optimized/503 626s ok 746 /regex/replace-optimized/504 626s ok 747 /regex/replace-optimized/505 626s ok 748 /regex/replace-optimized/506 626s ok 749 /regex/replace-optimized/507 626s ok 750 /regex/replace-optimized/508 626s ok 751 /regex/replace-optimized/509 626s # End of replace-optimized tests 626s # Start of replace-literally tests 626s ok 752 /regex/replace-literally/510 626s ok 753 /regex/replace-literally/511 626s ok 754 /regex/replace-literally/512 626s ok 755 /regex/replace-literally/513 626s ok 756 /regex/replace-literally/514 626s ok 757 /regex/replace-literally/515 626s ok 758 /regex/replace-literally/516 626s ok 759 /regex/replace-literally/517 626s ok 760 /regex/replace-literally/518 626s ok 761 /regex/replace-literally/519 626s ok 762 /regex/replace-literally/520 626s ok 763 /regex/replace-literally/521 626s ok 764 /regex/replace-literally/522 626s ok 765 /regex/replace-literally/523 626s ok 766 /regex/replace-literally/524 626s ok 767 /regex/replace-literally/525 626s ok 768 /regex/replace-literally/526 626s ok 769 /regex/replace-literally/527 626s ok 770 /regex/replace-literally/528 626s ok 771 /regex/replace-literally/529 626s # End of replace-literally tests 626s # Start of string-number tests 626s ok 772 /regex/string-number/530 626s ok 773 /regex/string-number/531 626s ok 774 /regex/string-number/532 626s ok 775 /regex/string-number/533 626s ok 776 /regex/string-number/534 626s ok 777 /regex/string-number/535 626s ok 778 /regex/string-number/536 626s ok 779 /regex/string-number/537 626s ok 780 /regex/string-number/538 626s ok 781 /regex/string-number/539 626s ok 782 /regex/string-number/540 626s ok 783 /regex/string-number/541 626s ok 784 /regex/string-number/542 626s ok 785 /regex/string-number/543 626s ok 786 /regex/string-number/544 626s # End of string-number tests 626s # Start of escape_nul tests 626s ok 787 /regex/escape_nul/545 626s ok 788 /regex/escape_nul/546 626s ok 789 /regex/escape_nul/547 626s ok 790 /regex/escape_nul/548 626s ok 791 /regex/escape_nul/549 626s ok 792 /regex/escape_nul/550 626s ok 793 /regex/escape_nul/551 626s ok 794 /regex/escape_nul/552 626s ok 795 /regex/escape_nul/553 626s ok 796 /regex/escape_nul/554 626s ok 797 /regex/escape_nul/555 626s ok 798 /regex/escape_nul/556 626s ok 799 /regex/escape_nul/557 626s ok 800 /regex/escape_nul/558 626s ok 801 /regex/escape_nul/559 626s # End of escape_nul tests 626s # Start of escape tests 626s ok 802 /regex/escape/560 626s ok 803 /regex/escape/561 626s ok 804 /regex/escape/562 626s ok 805 /regex/escape/563 626s ok 806 /regex/escape/564 626s ok 807 /regex/escape/565 626s ok 808 /regex/escape/566 626s ok 809 /regex/escape/567 626s ok 810 /regex/escape/568 626s ok 811 /regex/escape/569 626s ok 812 /regex/escape/570 626s ok 813 /regex/escape/571 626s ok 814 /regex/escape/572 626s ok 815 /regex/escape/573 626s ok 816 /regex/escape/574 626s ok 817 /regex/escape/575 626s ok 818 /regex/escape/576 626s ok 819 /regex/escape/577 626s # End of escape tests 626s # Start of match-all0 tests 626s ok 820 /regex/match-all0/578 626s ok 821 /regex/match-all0/580 626s # End of match-all0 tests 626s # Start of match-all-full0 tests 626s ok 822 /regex/match-all-full0/579 626s ok 823 /regex/match-all-full0/581 626s ok 824 /regex/match-all-full0/582 626s ok 825 /regex/match-all-full0/583 626s # End of match-all-full0 tests 626s # Start of match-all1 tests 626s ok 826 /regex/match-all1/584 626s ok 827 /regex/match-all1/586 626s ok 828 /regex/match-all1/591 626s # End of match-all1 tests 626s # Start of match-all-full1 tests 626s ok 829 /regex/match-all-full1/585 626s ok 830 /regex/match-all-full1/587 626s ok 831 /regex/match-all-full1/588 626s ok 832 /regex/match-all-full1/589 626s ok 833 /regex/match-all-full1/590 626s ok 834 /regex/match-all-full1/592 626s # End of match-all-full1 tests 626s # Start of match-all2 tests 626s ok 835 /regex/match-all2/593 626s ok 836 /regex/match-all2/595 626s ok 837 /regex/match-all2/597 626s # End of match-all2 tests 626s # Start of match-all-full2 tests 626s ok 838 /regex/match-all-full2/594 626s ok 839 /regex/match-all-full2/596 626s ok 840 /regex/match-all-full2/598 626s # End of match-all-full2 tests 626s # Start of match-all3 tests 626s ok 841 /regex/match-all3/599 626s ok 842 /regex/match-all3/601 626s # End of match-all3 tests 626s # Start of match-all-full3 tests 626s ok 843 /regex/match-all-full3/600 626s ok 844 /regex/match-all-full3/602 626s # End of match-all-full3 tests 626s # Start of match-notempty tests 626s ok 845 /regex/match-notempty/603 626s # End of match-notempty tests 626s # Start of match-notempty-optimized tests 626s ok 846 /regex/match-notempty-optimized/603 626s # End of match-notempty-optimized tests 626s # Start of match-notempty-atstart tests 626s ok 847 /regex/match-notempty-atstart/604 626s # End of match-notempty-atstart tests 626s # Start of match-notempty-atstart-optimized tests 626s ok 848 /regex/match-notempty-atstart-optimized/604 626s # End of match-notempty-atstart-optimized tests 626s # End of regex tests 626s ok - glib/regex.test 626s # Running test: glib/asyncqueue.test 626s TAP version 13 626s # random seed: R02Sb4172db484f1781269d42182bd9b7e1a 626s 1..7 626s # Start of asyncqueue tests 626s ok 1 /asyncqueue/basics 626s ok 2 /asyncqueue/sort 626s ok 3 /asyncqueue/destroy 626s ok 4 /asyncqueue/threads 626s ok 5 /asyncqueue/timed 626s ok 6 /asyncqueue/remove 626s ok 7 /asyncqueue/push_front 626s # End of asyncqueue tests 626s ok - glib/asyncqueue.test 626s # Running test: glib/notify-init.test 626s TAP version 13 626s # random seed: R02S82766a4f11fa6d6150e926297fd0e2b1 626s 1..1 626s # Start of properties tests 626s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 626s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 626s ok 1 /properties/notify-in-init 626s # End of properties tests 626s ok - glib/notify-init.test 626s # Running test: glib/list.test 626s TAP version 13 626s # random seed: R02S98b61212c7498d28070370179b41bf25 626s 1..20 626s # Start of list tests 626s ok 1 /list/sort 626s ok 2 /list/sort-with-data 626s ok 3 /list/insert-before-link 626s ok 4 /list/insert-sorted 626s ok 5 /list/insert-sorted-with-data 626s ok 6 /list/reverse 626s ok 7 /list/nth 626s ok 8 /list/concat 626s ok 9 /list/remove 626s ok 10 /list/remove-all 626s ok 11 /list/first-last 626s ok 12 /list/insert 626s ok 13 /list/free-full 626s ok 14 /list/copy 626s ok 15 /list/copy-deep 626s ok 16 /list/delete-link 626s ok 17 /list/prepend 626s ok 18 /list/position 626s ok 19 /list/double-free 626s # Start of sort tests 626s ok 20 /list/sort/stable 626s # End of sort tests 626s # End of list tests 626s ok - glib/list.test 626s # Running test: glib/markup-subparser.test 626s TAP version 13 626s # random seed: R02S5cfc0e1caddeded32a4ac1000aeec5ce 626s 1..14 626s # Start of glib tests 626s # Start of markup tests 626s # Start of subparser tests 626s # Start of success tests 626s ok 1 /glib/markup/subparser/success/0 626s ok 2 /glib/markup/subparser/success/1 626s ok 3 /glib/markup/subparser/success/2 626s ok 4 /glib/markup/subparser/success/3 626s ok 5 /glib/markup/subparser/success/4 626s ok 6 /glib/markup/subparser/success/5 626s ok 7 /glib/markup/subparser/success/6 626s # End of success tests 626s # Start of failure tests 626s ok 8 /glib/markup/subparser/failure/0 626s ok 9 /glib/markup/subparser/failure/1 626s ok 10 /glib/markup/subparser/failure/2 626s ok 11 /glib/markup/subparser/failure/3 626s ok 12 /glib/markup/subparser/failure/4 626s ok 13 /glib/markup/subparser/failure/5 626s ok 14 /glib/markup/subparser/failure/6 626s # End of failure tests 626s # End of subparser tests 626s # End of markup tests 626s # End of glib tests 626s ok - glib/markup-subparser.test 626s # Running test: glib/atomic.test 626s TAP version 13 626s # random seed: R02S30ba65584ca6236a5543e7c091058963 626s 1..2 626s # Start of atomic tests 626s ok 1 /atomic/types 626s ok 2 /atomic/threaded 626s # End of atomic tests 626s ok - glib/atomic.test 626s # Running test: glib/convert.test 626s TAP version 13 626s # random seed: R02S050b87a87e15e21dfd170a51c418abcf 626s 1..14 626s # Start of conversion tests 626s ok 1 /conversion/no-conv 626s ok 2 /conversion/iconv-state 626s ok 3 /conversion/illegal-sequence 626s ok 4 /conversion/byte-order 626s ok 5 /conversion/unicode 626s ok 6 /conversion/filename-utf8 626s ok 7 /conversion/filename-display 626s ok 8 /conversion/convert-embedded-nul 626s # Start of locale-to-utf8 tests 626s ok 9 /conversion/locale-to-utf8/embedded-nul 626s # Start of embedded-nul tests 626s # Start of subprocess tests 626s # End of subprocess tests 626s # End of embedded-nul tests 626s # End of locale-to-utf8 tests 626s # Start of locale-from-utf8 tests 626s ok 10 /conversion/locale-from-utf8/embedded-nul 626s # Start of embedded-nul tests 626s # Start of subprocess tests 626s # End of subprocess tests 626s # End of embedded-nul tests 626s # End of locale-from-utf8 tests 626s # Start of filename-to-utf8 tests 626s ok 11 /conversion/filename-to-utf8/embedded-nul 626s # Start of embedded-nul tests 626s # Start of subprocess tests 626s # End of subprocess tests 626s # End of embedded-nul tests 626s # End of filename-to-utf8 tests 626s # Start of filename-from-utf8 tests 626s ok 12 /conversion/filename-from-utf8/embedded-nul 626s # Start of embedded-nul tests 626s # Start of subprocess tests 626s # End of subprocess tests 626s # End of embedded-nul tests 626s # End of filename-from-utf8 tests 626s # Start of filename-from-uri tests 626s ok 13 /conversion/filename-from-uri/query-is-ignored 626s ok 14 /conversion/filename-from-uri/fragment-is-ignored 626s # End of filename-from-uri tests 626s # End of conversion tests 626s ok - glib/convert.test 626s # Running test: glib/cmph-bdz.test 626s TAP version 13 626s # random seed: R02Sd5b7ec0df169f843a8ce88ef79dd17dc 626s 1..2 626s # Start of cmph-bdz tests 626s ok 1 /cmph-bdz/search 626s ok 2 /cmph-bdz/search-packed 626s # End of cmph-bdz tests 626s ok - glib/cmph-bdz.test 626s # Running test: glib/mem-overflow.test 626s TAP version 13 626s # random seed: R02S51f5e42375d75ecc3d72329e35c0b02e 626s 1..2 626s # Start of mem tests 626s ok 1 /mem/overflow 626s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 626s ok 2 /mem/empty-alloc 626s # Start of overflow tests 626s # Start of subprocess tests 626s # End of subprocess tests 626s # End of overflow tests 626s # Start of empty-alloc tests 626s # End of empty-alloc tests 626s # End of mem tests 626s ok - glib/mem-overflow.test 626s # Running test: glib/resolver-parsing.test 626s TAP version 13 626s # random seed: R02S0332d45f50361bbeaf27c0eda81e0ba4 626s 1..20 626s # Start of gresolver tests 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/invalid-header/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/invalid-header/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/invalid-header/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/invalid-header/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/invalid-header/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/invalid-header/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/invalid-header/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/invalid-header/.dirs/runtime 626s ok 1 /gresolver/invalid-header 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/unknown-record-type/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/unknown-record-type/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/unknown-record-type/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/unknown-record-type/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/unknown-record-type/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/unknown-record-type/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/unknown-record-type/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/unknown-record-type/.dirs/runtime 626s # GLib-GIO-DEBUG: Unrecognised DNS record type 20 626s ok 2 /gresolver/unknown-record-type 626s # Start of mx tests 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/valid/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/valid/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/mx/valid/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/valid/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/mx/valid/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/valid/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/valid/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/valid/.dirs/runtime 626s ok 3 /gresolver/mx/valid 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/.dirs/runtime 626s ok 4 /gresolver/mx/invalid 626s # Start of invalid tests 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short/.dirs/runtime 626s ok 5 /gresolver/mx/invalid/too-short 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short2/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short2/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short2/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short2/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short2/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short2/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short2/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/mx/invalid/too-short2/.dirs/runtime 626s ok 6 /gresolver/mx/invalid/too-short2 626s # End of invalid tests 626s # End of mx tests 626s # Start of ns tests 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/ns/valid/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/ns/valid/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/ns/valid/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/ns/valid/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/ns/valid/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/ns/valid/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/ns/valid/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/ns/valid/.dirs/runtime 626s ok 7 /gresolver/ns/valid 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/ns/invalid/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/ns/invalid/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/ns/invalid/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/ns/invalid/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/ns/invalid/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/ns/invalid/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/ns/invalid/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/ns/invalid/.dirs/runtime 626s ok 8 /gresolver/ns/invalid 626s # End of ns tests 626s # Start of soa tests 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/valid/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/valid/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/soa/valid/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/valid/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/soa/valid/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/valid/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/valid/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/valid/.dirs/runtime 626s ok 9 /gresolver/soa/valid 626s # Start of invalid tests 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/mname/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/mname/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/mname/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/mname/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/mname/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/mname/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/mname/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/mname/.dirs/runtime 626s ok 10 /gresolver/soa/invalid/mname 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/rname/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/rname/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/rname/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/rname/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/rname/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/rname/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/rname/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/rname/.dirs/runtime 626s ok 11 /gresolver/soa/invalid/rname 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/too-short/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/too-short/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/too-short/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/too-short/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/too-short/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/too-short/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/too-short/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/soa/invalid/too-short/.dirs/runtime 626s ok 12 /gresolver/soa/invalid/too-short 626s # End of invalid tests 626s # End of soa tests 626s # Start of srv tests 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/valid/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/valid/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/srv/valid/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/valid/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/srv/valid/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/valid/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/valid/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/valid/.dirs/runtime 626s ok 13 /gresolver/srv/valid 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/.dirs/runtime 626s ok 14 /gresolver/srv/invalid 626s # Start of invalid tests 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short/.dirs/runtime 626s ok 15 /gresolver/srv/invalid/too-short 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short2/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short2/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short2/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short2/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short2/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short2/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short2/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/srv/invalid/too-short2/.dirs/runtime 626s ok 16 /gresolver/srv/invalid/too-short2 626s # End of invalid tests 626s # End of srv tests 626s # Start of txt tests 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/.dirs/runtime 626s ok 17 /gresolver/txt/valid 626s # Start of valid tests 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/multiple-strings/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/multiple-strings/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/multiple-strings/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/multiple-strings/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/multiple-strings/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/valid/multiple-strings/.dirs/runtime 626s ok 18 /gresolver/txt/valid/multiple-strings 626s # End of valid tests 626s # Start of invalid tests 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/empty/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/empty/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/empty/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/empty/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/empty/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/empty/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/empty/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/empty/.dirs/runtime 626s ok 19 /gresolver/txt/invalid/empty 626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/overflow/.dirs/home 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/overflow/.dirs/cache 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/overflow/.dirs/system-config2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/overflow/.dirs/config 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/overflow/.dirs/system-data2 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/overflow/.dirs/data 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/overflow/.dirs/state 626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_T8LQK2/gresolver/txt/invalid/overflow/.dirs/runtime 626s ok 20 /gresolver/txt/invalid/overflow 626s # End of invalid tests 626s # End of txt tests 626s # End of gresolver tests 626s ok - glib/resolver-parsing.test 626s # Running test: glib/cxx.test 626s TAP version 13 626s # random seed: R02S47434d080731d1b9489fa295b67b70ce 626s 1..2 626s # Start of gtask tests 626s # 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. 626s ok 1 /gtask/name 626s # Start of name tests 626s # 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. 626s ok 2 /gtask/name/macro-wrapper 626s # End of name tests 626s # End of gtask tests 626s ok - glib/cxx.test 626s # Running test: glib/thread.test 626s TAP version 13 626s # random seed: R02S58e79ce0f7fcf3aeacbf0e3bde25c65f 626s 1..7 626s # Start of thread tests 626s ok 1 /thread/thread1 626s ok 2 /thread/thread2 626s ok 3 /thread/thread3 626s ok 4 /thread/thread4 626s ok 5 /thread/thread5 626s ok 6 /thread/thread6 626s ok 7 /thread/thread7 626s # End of thread tests 626s ok - glib/thread.test 626s # Running test: glib/strfuncs.test 626s TAP version 13 626s # random seed: R02S1ce28c01835c4b69d08ded707581f52f 626s 1..50 626s # Start of strfuncs tests 626s ok 1 /strfuncs/ascii-strcasecmp 626s ok 2 /strfuncs/ascii_strdown 626s ok 3 /strfuncs/ascii_strdup 626s ok 4 /strfuncs/ascii_strtod 626s ok 5 /strfuncs/bounds-check 626s ok 6 /strfuncs/has-prefix 626s ok 7 /strfuncs/has-prefix-macro 626s ok 8 /strfuncs/has-suffix 626s ok 9 /strfuncs/has-suffix-macro 626s ok 10 /strfuncs/memdup 626s ok 11 /strfuncs/memdup2 626s ok 12 /strfuncs/set_str 626s ok 13 /strfuncs/stpcpy 626s ok 14 /strfuncs/str_match_string 626s ok 15 /strfuncs/str_tokenize_and_fold 626s ok 16 /strfuncs/strcanon 626s ok 17 /strfuncs/strchomp 626s ok 18 /strfuncs/strchug 626s ok 19 /strfuncs/strcompress-strescape 626s ok 20 /strfuncs/strconcat 626s ok 21 /strfuncs/strdelimit 626s ok 22 /strfuncs/strdup 626s ok 23 /strfuncs/strdup-printf 626s ok 24 /strfuncs/strdupv 626s ok 25 /strfuncs/strerror 626s ok 26 /strfuncs/strip-context 626s ok 27 /strfuncs/strjoin 626s ok 28 /strfuncs/strjoinv 626s ok 29 /strfuncs/strlcat 626s ok 30 /strfuncs/strlcpy 626s ok 31 /strfuncs/strncasecmp 626s ok 32 /strfuncs/strndup 626s ok 33 /strfuncs/strnfill 626s ok 34 /strfuncs/strreverse 626s ok 35 /strfuncs/strsignal 626s ok 36 /strfuncs/strsplit 626s ok 37 /strfuncs/strsplit-set 626s ok 38 /strfuncs/strstr 626s ok 39 /strfuncs/strtod 626s ok 40 /strfuncs/strtoull-strtoll 626s ok 41 /strfuncs/strup 626s ok 42 /strfuncs/strv-contains 626s ok 43 /strfuncs/strv-equal 626s ok 44 /strfuncs/strv-length 626s ok 45 /strfuncs/test-is-to-digit 626s ok 46 /strfuncs/transliteration 626s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 626s ok 47 /strfuncs/str-equal 626s # Start of ascii-string-to-num tests 626s ok 48 /strfuncs/ascii-string-to-num/pathological 626s ok 49 /strfuncs/ascii-string-to-num/usual 626s # End of ascii-string-to-num tests 626s # Start of strdup tests 626s ok 50 /strfuncs/strdup/inline 626s # End of strdup tests 626s # End of strfuncs tests 626s ok - glib/strfuncs.test 626s # Running test: glib/date.test 626s TAP version 13 626s # random seed: R02S685bf518fe45a18341da41afd94664d0 626s 1..121 626s # Start of date tests 626s ok 1 /date/basic 626s ok 2 /date/empty 626s ok 3 /date/dmy 626s ok 4 /date/julian 626s ok 5 /date/compare 626s ok 6 /date/dates 626s ok 7 /date/strftime 626s ok 8 /date/two-digit-years 626s ok 9 /date/parse 626s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 626s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 626s ok 11 /date/month_substring 626s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 626s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 626s ok 13 /date/clamp 626s ok 14 /date/order 626s ok 15 /date/copy 626s # Vector 0: 0000-00-00, invalid 626s # Vector 1: 0001-01-01, valid 626s # Vector 2: 0000-01-01, invalid 626s # Vector 3: 2000-02-30, invalid 626s # Vector 4: 2000-02-29, valid 626s # Vector 5: 2001-02-29, invalid 626s # Vector 6: 65535-01-01, valid 626s ok 16 /date/valid-dmy 626s # Start of parse tests 626s # Test 0 626s # Test 1 626s ok 17 /date/parse/invalid 626s # End of parse tests 626s # Start of year tests 626s ok 18 /date/year/1 626s ok 19 /date/year/2 626s ok 20 /date/year/3 626s ok 21 /date/year/4 626s ok 22 /date/year/5 626s ok 23 /date/year/6 626s ok 24 /date/year/7 626s ok 25 /date/year/8 626s ok 26 /date/year/9 626s ok 27 /date/year/10 626s ok 28 /date/year/11 626s ok 29 /date/year/12 626s ok 30 /date/year/13 626s ok 31 /date/year/14 626s ok 32 /date/year/98 626s ok 33 /date/year/99 626s ok 34 /date/year/100 626s ok 35 /date/year/101 626s ok 36 /date/year/102 626s ok 37 /date/year/103 626s ok 38 /date/year/397 626s ok 39 /date/year/398 626s ok 40 /date/year/399 626s ok 41 /date/year/400 626s ok 42 /date/year/401 626s ok 43 /date/year/402 626s ok 44 /date/year/403 626s ok 45 /date/year/404 626s ok 46 /date/year/405 626s ok 47 /date/year/406 626s ok 48 /date/year/1598 626s ok 49 /date/year/1599 626s ok 50 /date/year/1600 626s ok 51 /date/year/1601 626s ok 52 /date/year/1602 626s ok 53 /date/year/1650 626s ok 54 /date/year/1651 626s ok 55 /date/year/1897 626s ok 56 /date/year/1898 626s ok 57 /date/year/1899 626s ok 58 /date/year/1900 626s ok 59 /date/year/1901 626s ok 60 /date/year/1902 626s ok 61 /date/year/1903 626s ok 62 /date/year/1961 626s ok 63 /date/year/1962 626s ok 64 /date/year/1963 626s ok 65 /date/year/1964 626s ok 66 /date/year/1965 626s ok 67 /date/year/1967 626s ok 68 /date/year/1968 626s ok 69 /date/year/1969 626s ok 70 /date/year/1970 626s ok 71 /date/year/1971 626s ok 72 /date/year/1972 626s ok 73 /date/year/1973 627s ok 74 /date/year/1974 627s ok 75 /date/year/1975 627s ok 76 /date/year/1976 627s ok 77 /date/year/1977 627s ok 78 /date/year/1978 627s ok 79 /date/year/1979 627s ok 80 /date/year/1980 627s ok 81 /date/year/1981 627s ok 82 /date/year/1982 627s ok 83 /date/year/1983 627s ok 84 /date/year/1984 627s ok 85 /date/year/1985 627s ok 86 /date/year/1986 627s ok 87 /date/year/1987 627s ok 88 /date/year/1988 627s ok 89 /date/year/1989 627s ok 90 /date/year/1990 627s ok 91 /date/year/1991 627s ok 92 /date/year/1992 627s ok 93 /date/year/1993 627s ok 94 /date/year/1994 627s ok 95 /date/year/1995 627s ok 96 /date/year/1996 627s ok 97 /date/year/1997 627s ok 98 /date/year/1998 627s ok 99 /date/year/1999 627s ok 100 /date/year/2000 627s ok 101 /date/year/2001 627s ok 102 /date/year/2002 627s ok 103 /date/year/2003 627s ok 104 /date/year/2004 627s ok 105 /date/year/2005 627s ok 106 /date/year/2006 627s ok 107 /date/year/2007 627s ok 108 /date/year/2008 627s ok 109 /date/year/2009 627s ok 110 /date/year/2010 627s ok 111 /date/year/2011 627s ok 112 /date/year/2012 627s ok 113 /date/year/3000 627s ok 114 /date/year/3001 627s ok 115 /date/year/3002 627s ok 116 /date/year/3998 627s ok 117 /date/year/3999 627s ok 118 /date/year/4000 627s ok 119 /date/year/4001 627s ok 120 /date/year/4002 627s ok 121 /date/year/4003 627s # End of year tests 627s # End of date tests 627s ok - glib/date.test 627s # Running test: glib/queue.test 627s TAP version 13 627s # random seed: R02S3a88d74b1a0b6eb3b75c451bdd2f08c9 627s 1..12 627s # Start of queue tests 627s ok 1 /queue/basic 627s ok 2 /queue/copy 627s ok 3 /queue/off-by-one 627s ok 4 /queue/find-custom 627s ok 5 /queue/static 627s ok 6 /queue/clear 627s ok 7 /queue/free-full 627s ok 8 /queue/clear-full 627s ok 9 /queue/insert-sibling-link 627s ok 10 /queue/push-nth-link 627s # Start of clear-full tests 627s ok 11 /queue/clear-full/noop 627s # End of clear-full tests 627s # Start of random tests 627s ok 12 /queue/random/seed:479951166 627s # End of random tests 627s # End of queue tests 627s ok - glib/queue.test 627s # Running test: glib/utf8-misc.test 627s TAP version 13 627s # random seed: R02S825ec42f0e5136040c14dfbc6aecac23 627s 1..7 627s # Start of utf8 tests 627s ok 1 /utf8/strlen 627s ok 2 /utf8/strncpy 627s ok 3 /utf8/strrchr 627s ok 4 /utf8/reverse 627s ok 5 /utf8/substring 627s ok 6 /utf8/make-valid 627s ok 7 /utf8/truncate-middle 627s # End of utf8 tests 627s ok - glib/utf8-misc.test 627s # Running test: glib/thread-pool.test 627s TAP version 13 627s # random seed: R02Sdc2c7af430938cd720cf53a25e9a1732 627s 1..5 627s # Start of thread_pool tests 627s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 627s ok 1 /thread_pool/shared 627s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 627s ok 2 /thread_pool/exclusive 627s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 627s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 627s ok 3 /thread_pool/create_shared_after_exclusive 627s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 627s ok 4 /thread_pool/create_full 627s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 627s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 627s ok 5 /thread_pool/create_exclusive_after_shared 627s # End of thread_pool tests 627s ok - glib/thread-pool.test 627s # Running test: glib/testfilemonitor.test 627s TAP version 13 627s # random seed: R02Scbcbf62202c6149d34c89cbc79408d4c 627s 1..8 627s # Start of monitor tests 627s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 627s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 627s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 627s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 627s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 627s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 627s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 627s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 627s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 627s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 627s # Start of file tests 627s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 627s # End of file tests 627s # End of monitor tests 627s ok - glib/testfilemonitor.test 627s # Running test: glib/error.test 627s TAP version 13 627s # random seed: R02S6721f53641b2540c6df4bb095318fef8 627s 1..3 627s # Start of error tests 627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_V28XK2/error/from-errno/.dirs/home 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_V28XK2/error/from-errno/.dirs/cache 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_V28XK2/error/from-errno/.dirs/system-config1:/tmp/test_error_V28XK2/error/from-errno/.dirs/system-config2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_V28XK2/error/from-errno/.dirs/config 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_V28XK2/error/from-errno/.dirs/system-data1:/tmp/test_error_V28XK2/error/from-errno/.dirs/system-data2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_V28XK2/error/from-errno/.dirs/data 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_V28XK2/error/from-errno/.dirs/state 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_V28XK2/error/from-errno/.dirs/runtime 627s ok 1 /error/from-errno 627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_V28XK2/error/from-file-error/.dirs/home 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_V28XK2/error/from-file-error/.dirs/cache 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_V28XK2/error/from-file-error/.dirs/system-config1:/tmp/test_error_V28XK2/error/from-file-error/.dirs/system-config2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_V28XK2/error/from-file-error/.dirs/config 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_V28XK2/error/from-file-error/.dirs/system-data1:/tmp/test_error_V28XK2/error/from-file-error/.dirs/system-data2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_V28XK2/error/from-file-error/.dirs/data 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_V28XK2/error/from-file-error/.dirs/state 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_V28XK2/error/from-file-error/.dirs/runtime 627s ok 2 /error/from-file-error 627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_V28XK2/error/from-win32-error/.dirs/home 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_V28XK2/error/from-win32-error/.dirs/cache 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_V28XK2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_V28XK2/error/from-win32-error/.dirs/system-config2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_V28XK2/error/from-win32-error/.dirs/config 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_V28XK2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_V28XK2/error/from-win32-error/.dirs/system-data2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_V28XK2/error/from-win32-error/.dirs/data 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_V28XK2/error/from-win32-error/.dirs/state 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_V28XK2/error/from-win32-error/.dirs/runtime 627s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 627s # End of error tests 627s ok - glib/error.test 627s # Running test: glib/buffered-input-stream.test 627s TAP version 13 627s # random seed: R02S1271942bcd7574e174f73f5a11e117a7 627s 1..10 627s # Start of buffered-input-stream tests 627s ok 1 /buffered-input-stream/peek 627s ok 2 /buffered-input-stream/peek-buffer 627s ok 3 /buffered-input-stream/set-buffer-size 627s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 627s ok 4 /buffered-input-stream/read-byte 627s ok 5 /buffered-input-stream/read 627s ok 6 /buffered-input-stream/read-async 627s ok 7 /buffered-input-stream/skip 627s ok 8 /buffered-input-stream/skip-async 627s ok 9 /buffered-input-stream/seek 627s # End of buffered-input-stream tests 627s # Start of filter-input-stream tests 627s ok 10 /filter-input-stream/close 627s # End of filter-input-stream tests 627s ok - glib/buffered-input-stream.test 627s # Running test: glib/memchunk.test 627s TAP version 13 627s # random seed: R02Sa0a6d4fa725bb3cfd72a2d552eaad95b 627s 1..1 627s # Start of memchunk tests 627s ok 1 /memchunk/basic 627s # End of memchunk tests 627s ok - glib/memchunk.test 627s # Running test: glib/registered-type-info.test 627s TAP version 13 627s # random seed: R02Sf5f119e665a41f50142a1baaba1c465c 627s 1..1 627s # Start of registered-type-info tests 627s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_15YXK2/registered-type-info/boxed/.dirs/home 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_15YXK2/registered-type-info/boxed/.dirs/cache 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_15YXK2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_15YXK2/registered-type-info/boxed/.dirs/system-config2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_15YXK2/registered-type-info/boxed/.dirs/config 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_15YXK2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_15YXK2/registered-type-info/boxed/.dirs/system-data2 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_15YXK2/registered-type-info/boxed/.dirs/data 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_15YXK2/registered-type-info/boxed/.dirs/state 627s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_15YXK2/registered-type-info/boxed/.dirs/runtime 627s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 627s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 627s # Expecting CClosure to not be boxed 627s # Expecting TypeCValue to not be boxed 627s # Expecting InitiallyUnownedClass to not be boxed 627s # Expecting BookmarkFile to be boxed 627s # Expecting Closure to be boxed 627s # Expecting Object to not be boxed 627s ok 1 /registered-type-info/boxed 627s # End of registered-type-info tests 627s ok - glib/registered-type-info.test 627s # Running test: glib/mappedfile.test 627s TAP version 13 627s # random seed: R02S4ef983255cfc96f258944b80c461e568 627s 1..7 627s # Start of mappedfile tests 627s ok 1 /mappedfile/basic 627s ok 2 /mappedfile/empty 627s ok 3 /mappedfile/device 627s ok 4 /mappedfile/nonexisting 627s ok 5 /mappedfile/writable 627s ok 6 /mappedfile/writable_fd 627s ok 7 /mappedfile/gbytes 627s # End of mappedfile tests 627s ok - glib/mappedfile.test 627s # Running test: glib/pollable.test 627s TAP version 13 627s # random seed: R02S51a1ec23b0bece7ac40b5cc740333778 627s 1..6 627s # Start of pollable tests 627s ok 1 /pollable/converter 627s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 627s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3a2587a0 and GSocketClientAsyncConnectData 0x2aa3a24bad0 627s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 627s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 627s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa3a259820 for GSocketClientAsyncConnectData 0x2aa3a24bad0 627s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 627s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 627s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 627s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 627s ok 2 /pollable/socket 627s # Start of unix tests 627s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 627s ok 3 /pollable/unix/pipe 627s # /pollable/unix/pty summary: Test that PTYs are considered pollable 627s ok 4 /pollable/unix/pty 627s # /pollable/unix/file summary: Test that regular files are not considered pollable 627s ok 5 /pollable/unix/file 627s # /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 627s ok 6 /pollable/unix/nulldev 627s # End of unix tests 627s # End of pollable tests 627s ok - glib/pollable.test 627s # Running test: glib/dir.test 627s TAP version 13 627s # random seed: R02S0551287d9c77553dbfbecef1d30a2bb7 627s 1..3 627s # Start of dir tests 627s ok 1 /dir/read 627s ok 2 /dir/nonexisting 627s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 627s ok 3 /dir/refcounting 627s # End of dir tests 627s ok - glib/dir.test 627s # Running test: glib/cancellable.test 627s TAP version 13 627s # random seed: R02S56f6cd1f2af27f1f24c6d2bc5fd4a7ee 627s 1..10 627s # Start of cancellable tests 627s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 627s ok 2 /cancellable/null 627s # /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 627s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 627s # /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 627s ok 4 /cancellable/resets-on-cancel-callback-hangs 627s ok 5 /cancellable/poll-fd 627s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 627s ok 6 /cancellable/poll-fd-cancelled 627s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 627s ok 7 /cancellable/poll-fd-cancelled-threaded 627s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 627s ok 8 /cancellable/cancel-reset-races 627s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 627s ok 9 /cancellable/cancel-reset-connect-races 627s # End of cancellable tests 627s # Start of cancellable-source tests 627s # /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) 627s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 628s ok 10 /cancellable-source/threaded-dispose 628s # slow test /cancellable-source/threaded-dispose executed in 0.54 secs 628s # End of cancellable-source tests 628s ok - glib/cancellable.test 628s # Running test: glib/sleepy-stream.test 628s TAP version 13 628s # random seed: R02Sd53dfb3e4581424af52276d84cd15fc2 628s 1..2 628s # Start of filter-stream tests 628s ok 1 /filter-stream/input 628s ok 2 /filter-stream/async 628s # End of filter-stream tests 628s ok - glib/sleepy-stream.test 628s # Running test: glib/macros-c-17.test 628s TAP version 13 628s # random seed: R02S5cbef23b39954fc5c82e77f50fa9f455 628s 1..4 628s # Start of C tests 628s ok 1 /C/standard-17 628s # End of C tests 628s # Start of alignof tests 628s ok 2 /alignof/fallback 628s # End of alignof tests 628s # Start of assert tests 628s ok 3 /assert/static 628s # End of assert tests 628s # Start of struct tests 628s ok 4 /struct/sizeof_member 628s # End of struct tests 628s ok - glib/macros-c-17.test 628s # Running test: glib/properties.test 628s TAP version 13 628s # random seed: R02Sdb5da902dea41d174053138008c059b3 628s 1..13 628s # Start of properties tests 628s ok 1 /properties/install 628s ok 2 /properties/install-many 628s ok 3 /properties/notify 628s ok 4 /properties/notify-queue 628s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 628s ok 5 /properties/construct 628s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 628s # Test g_object_get_property with an initialized value 628s # Test g_object_get_property with an uninitialized value 628s # Test g_object_get_property with a transformable value 628s ok 6 /properties/get-property 628s ok 7 /properties/testv_with_no_properties 628s ok 8 /properties/testv_with_valid_properties 628s ok 9 /properties/testv_with_invalid_property_type 628s ok 10 /properties/testv_with_invalid_property_names 628s ok 11 /properties/testv_getv 628s ok 12 /properties/testv_notify_queue 628s # Start of set-property tests 628s # Start of variant tests 628s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 628s ok 13 /properties/set-property/variant/floating 628s # End of variant tests 628s # End of set-property tests 628s # End of properties tests 628s ok - glib/properties.test 628s # Running test: glib/utils-c-11.test 628s TAP version 13 628s # random seed: R02S3027655ee829d64bd310cbe380083568 628s 1..40 628s # Start of utils tests 628s ok 1 /utils/language-names 628s ok 2 /utils/locale-variants 628s ok 3 /utils/version 628s ok 4 /utils/appname 628s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 628s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 628s ok 5 /utils/prgname-thread-safety 628s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 628s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 628s ok 6 /utils/tmpdir 628s ok 7 /utils/basic_bits 628s ok 8 /utils/bits 628s ok 9 /utils/swap 628s ok 10 /utils/find-program 628s ok 11 /utils/find-program-for-path 628s ok 12 /utils/debug 628s ok 13 /utils/codeset 628s ok 14 /utils/codeset2 628s ok 15 /utils/console-charset 628s ok 16 /utils/gettext 628s ok 17 /utils/username 628s ok 18 /utils/realname 628s ok 19 /utils/hostname 628s ok 20 /utils/xdgdirs 628s ok 21 /utils/specialdir 628s # NAME: Ubuntu 628s ok 22 /utils/os-info 628s ok 23 /utils/clear-pointer 628s ok 24 /utils/clear-pointer-cast 628s ok 25 /utils/take-pointer 628s ok 26 /utils/clear-source 628s ok 27 /utils/misc-mem 628s # /utils/aligned-mem summary: Aligned memory allocator 628s # Alignment must not be zero 628s # Alignment must be a power of two 628s # Alignment must be a multiple of sizeof(void*) 628s ok 28 /utils/aligned-mem 628s # /utils/free-sized summary: Check that g_free_sized() works 628s ok 29 /utils/free-sized 628s ok 30 /utils/nullify 628s ok 31 /utils/atexit 628s ok 32 /utils/check-setuid 628s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 628s ok 33 /utils/int-limits 628s ok 34 /utils/clear-list 628s ok 35 /utils/clear-slist 628s # Start of specialdir tests 628s ok 36 /utils/specialdir/desktop 628s # End of specialdir tests 628s # Start of clear-pointer tests 628s ok 37 /utils/clear-pointer/side-effects 628s # End of clear-pointer tests 628s # Start of aligned-mem tests 628s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 628s ok 38 /utils/aligned-mem/alignment 628s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 628s ok 39 /utils/aligned-mem/zeroed 628s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 628s ok 40 /utils/aligned-mem/free-sized 628s # Start of subprocess tests 628s # End of subprocess tests 628s # End of aligned-mem tests 628s # End of utils tests 628s ok - glib/utils-c-11.test 628s # Running test: glib/private.test 628s TAP version 13 628s # random seed: R02S552859987cc21ae82ab89c79d8c1e6b9 628s 1..8 628s # Start of thread tests 628s ok 1 /thread/private1 629s # Executing: glib/private.test 629s ok 2 /thread/private2 629s # slow test /thread/private2 executed in 1.14 secs 629s ok 3 /thread/private3 629s ok 4 /thread/staticprivate1 629s ok 5 /thread/staticprivate2 629s ok 6 /thread/staticprivate3 630s ok 7 /thread/staticprivate4 630s # slow test /thread/staticprivate4 executed in 1.14 secs 630s ok 8 /thread/staticprivate5 630s # End of thread tests 630s ok - glib/private.test 630s # Running test: glib/task.test 630s TAP version 13 630s # random seed: R02S7d9208049f35680ef6df55ad73877064 630s 1..36 630s # Start of gtask tests 630s ok 1 /gtask/basic 630s ok 2 /gtask/error 630s ok 3 /gtask/error-literal 630s ok 4 /gtask/error-literal-from-variable 630s ok 5 /gtask/return-from-same-iteration 630s ok 6 /gtask/return-from-toplevel 630s ok 7 /gtask/return-from-anon-thread 630s ok 8 /gtask/return-from-wrong-thread 630s ok 9 /gtask/no-callback 630s ok 10 /gtask/report-error 630s ok 11 /gtask/priority 630s ok 12 /gtask/name 630s ok 13 /gtask/static-name 630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 630s ok 14 /gtask/asynchronous-cancellation 630s ok 15 /gtask/check-cancellable 630s ok 16 /gtask/return-if-cancelled 630s ok 17 /gtask/run-in-thread 630s ok 18 /gtask/run-in-thread-sync 630s ok 19 /gtask/run-in-thread-priority 631s ok 20 /gtask/run-in-thread-nested 631s ok 21 /gtask/run-in-thread-overflow 631s # slow test /gtask/run-in-thread-overflow executed in 0.52 secs 631s # GLib-GIO-DEBUG: GTask 0x2aa041a76f0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 631s # GLib-GIO-DEBUG: GTask 0x2aa041a6f60 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 631s ok 22 /gtask/return-on-cancel 631s # GLib-GIO-DEBUG: GTask 0x2aa041a77d0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 631s # GLib-GIO-DEBUG: GTask 0x2aa041a74f0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 631s ok 23 /gtask/return-on-cancel-sync 631s ok 24 /gtask/return-on-cancel-atomic 631s ok 25 /gtask/return-pointer 631s ok 26 /gtask/return-value 631s ok 27 /gtask/return-prefixed-error 631s ok 28 /gtask/object-keepalive 631s ok 29 /gtask/legacy-error 631s ok 30 /gtask/finalize-without-return 631s # Start of name tests 631s ok 31 /gtask/name/macro-wrapper 631s # End of name tests 631s # Start of return tests 631s ok 32 /gtask/return/error-first 631s ok 33 /gtask/return/value-first 631s # Start of in-idle tests 631s ok 34 /gtask/return/in-idle/error-first 631s ok 35 /gtask/return/in-idle/value-first 631s # End of in-idle tests 631s # End of return tests 631s # Start of attach-source tests 631s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 631s ok 36 /gtask/attach-source/set-name 631s # End of attach-source tests 631s # End of gtask tests 631s ok - glib/task.test 631s # Running test: glib/uri.test 631s TAP version 13 631s # random seed: R02S4d347530de02118c80dc0766118ef1e9 631s 1..24 631s # Start of uri tests 631s ok 1 /uri/file-to-uri 631s ok 2 /uri/file-from-uri 631s ok 3 /uri/file-roundtrip 631s ok 4 /uri/list 631s # Test 0: %2Babc %4F 631s # Test 1: %2Babc %4F 631s # Test 2: %00abc %4F 631s # Test 3: /cursors/none.png 631s # Test 4: /cursors%2fbad-subdir/none.png 631s # Test 5: %0 631s # Test 6: %ra 631s # Test 7: %2r 631s # Test 8: Timm B?der 631s # Test 9: (null) 631s ok 5 /uri/unescape-string 631s ok 6 /uri/unescape-segment 631s # Test 0: abcdefgABCDEFG._~ 631s # Test 1: :+ \\?# 631s # Test 2: a+b:c 631s # Test 3: a+b:c\303\234 631s # Test 4: \374;\322 631s # Test 5: \303\261\303( 631s ok 7 /uri/escape-string 631s ok 8 /uri/escape-bytes 631s ok 9 /uri/scheme 631s ok 10 /uri/build 631s ok 11 /uri/split 631s ok 12 /uri/is_valid 631s ok 13 /uri/to-string 631s ok 14 /uri/join 631s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 631s # Combination 0 631s # Combination 1 631s # Combination 2 631s # Combination 3 631s # Combination 4 631s # Combination 5 631s # Combination 6 631s # Combination 7 631s # Combination 8 631s # Combination 9 631s # Combination 10 631s # Combination 11 631s # Combination 12 631s # Combination 13 631s # Combination 14 631s # Combination 15 631s # Combination 16 631s # Combination 17 631s # Combination 18 631s # Combination 19 631s # Combination 20 631s # Combination 21 631s # Combination 22 631s # Combination 23 631s # Combination 24 631s # Combination 25 631s # Combination 26 631s # Combination 27 631s # Combination 28 631s # Combination 29 631s # Combination 30 631s # Combination 31 631s # Combination 32 631s # Combination 33 631s # Combination 34 631s # Combination 35 631s # Combination 36 631s # Combination 37 631s # Combination 38 631s # Combination 39 631s # Combination 40 631s # Combination 41 631s # Combination 42 631s # Combination 43 631s # Combination 44 631s # Combination 45 631s # Combination 46 631s # Combination 47 631s # Combination 48 631s # Combination 49 631s # Combination 50 631s # Combination 51 631s # Combination 52 631s # Combination 53 631s # Combination 54 631s # Combination 55 631s # Combination 56 631s # Combination 57 631s # Combination 58 631s # Combination 59 631s # Combination 60 631s # Combination 61 631s # Combination 62 631s # Combination 63 631s # Combination 64 631s # Combination 65 631s # Combination 66 631s # Combination 67 631s # Combination 68 631s # Combination 69 631s # Combination 70 631s # Combination 71 631s # Combination 72 631s # Combination 73 631s # Combination 74 631s # Combination 75 631s # Combination 76 631s # Combination 77 631s # Combination 78 631s # Combination 79 631s # Combination 80 631s # Combination 81 631s # Combination 82 631s # Combination 83 631s # Combination 84 631s # Combination 85 631s # Combination 86 631s # Combination 87 631s # Combination 88 631s # Combination 89 631s # Combination 90 631s # Combination 91 631s # Combination 92 631s # Combination 93 631s # Combination 94 631s # Combination 95 631s # Combination 96 631s # Combination 97 631s # Combination 98 631s # Combination 99 631s # Combination 100 631s # Combination 101 631s # Combination 102 631s # Combination 103 631s # Combination 104 631s # Combination 105 631s # Combination 106 631s # Combination 107 631s # Combination 108 631s # Combination 109 631s # Combination 110 631s # Combination 111 631s # Combination 112 631s # Combination 113 631s # Combination 114 631s # Combination 115 631s # Combination 116 631s # Combination 117 631s # Combination 118 631s # Combination 119 631s # Combination 120 631s # Combination 121 631s # Combination 122 631s # Combination 123 631s # Combination 124 631s # Combination 125 631s # Combination 126 631s # Combination 127 631s # Combination 128 631s # Combination 129 631s # Combination 130 631s # Combination 131 631s # Combination 132 631s # Combination 133 631s # Combination 134 631s # Combination 135 631s # Combination 136 631s # Combination 137 631s # Combination 138 631s # Combination 139 631s # Combination 140 631s # Combination 141 631s # Combination 142 631s # Combination 143 631s # Combination 144 631s # Combination 145 631s # Combination 146 631s # Combination 147 631s # Combination 148 631s # Combination 149 631s # Combination 150 631s # Combination 151 631s # Combination 152 631s # Combination 153 631s # Combination 154 631s # Combination 155 631s # Combination 156 631s # Combination 157 631s # Combination 158 631s # Combination 159 631s # Combination 160 631s # Combination 161 631s # Combination 162 631s # Combination 163 631s # Combination 164 631s # Combination 165 631s # Combination 166 631s # Combination 167 631s # Combination 168 631s # Combination 169 631s # Combination 170 631s # Combination 171 631s # Combination 172 631s # Combination 173 631s # Combination 174 631s # Combination 175 631s # Combination 176 631s # Combination 177 631s # Combination 178 631s # Combination 179 631s # Combination 180 631s # Combination 181 631s # Combination 182 631s # Combination 183 631s # Combination 184 631s # Combination 185 631s # Combination 186 631s # Combination 187 631s # Combination 188 631s # Combination 189 631s # Combination 190 631s # Combination 191 631s # Combination 192 631s # Combination 193 631s # Combination 194 631s # Combination 195 631s # Combination 196 631s # Combination 197 631s # Combination 198 631s # Combination 199 631s # Combination 200 631s # Combination 201 631s # Combination 202 631s # Combination 203 631s # Combination 204 631s # Combination 205 631s # Combination 206 631s # Combination 207 631s # Combination 208 631s # Combination 209 631s # Combination 210 631s # Combination 211 631s # Combination 212 631s # Combination 213 631s # Combination 214 631s # Combination 215 631s # Combination 216 631s # Combination 217 631s # Combination 218 631s # Combination 219 631s # Combination 220 631s # Combination 221 631s # Combination 222 631s # Combination 223 631s # Combination 224 631s # Combination 225 631s # Combination 226 631s # Combination 227 631s # Combination 228 631s # Combination 229 631s # Combination 230 631s # Combination 231 631s # Combination 232 631s # Combination 233 631s # Combination 234 631s # Combination 235 631s # Combination 236 631s # Combination 237 631s # Combination 238 631s # Combination 239 631s # Combination 240 631s # Combination 241 631s # Combination 242 631s # Combination 243 631s # Combination 244 631s # Combination 245 631s # Combination 246 631s # Combination 247 631s # Combination 248 631s # Combination 249 631s # Combination 250 631s # Combination 251 631s # Combination 252 631s # Combination 253 631s # Combination 254 631s # Combination 255 631s ok 15 /uri/join-split-round-trip 631s ok 16 /uri/normalize 631s # Start of unescape-bytes tests 631s # Test 0: %00%00 631s # Test 1: /cursors/none.png 631s # Test 2: /cursors%2fbad-subdir/none.png 631s # Test 3: %% 631s # Test 4: % 631s ok 17 /uri/unescape-bytes/nul-terminated 631s # Test 0: %00%00 631s # Test 1: /cursors/none.png 631s # Test 2: /cursors%2fbad-subdir/none.png 631s # Test 3: %% 631s # Test 4: % 631s ok 18 /uri/unescape-bytes/length 631s # End of unescape-bytes tests 631s # Start of parsing tests 631s # Test 0: foo: 631s # Test 1: file:/dev/null 631s # Test 2: file:///dev/null 631s # Test 3: ftp://user@host/path 631s # Test 4: ftp://user@host:9999/path 631s # Test 5: ftp://user:password@host/path 631s # Test 6: ftp://user:password@host:9999/path 631s # Test 7: ftp://user:password@host 631s # Test 8: http://us%65r@host 631s # Test 9: http://us%40r@host 631s # Test 10: http://us%3ar@host 631s # Test 11: http://us%2fr@host 631s # Test 12: http://us%3fr@host 631s # Test 13: http://host?query 631s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 631s # 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 631s # Test 16: http://space/%20 631s # Test 17: http://delims/%3C%3E%23%25%22 631s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 631s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 631s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 631s # Test 21: http://[3ffe:2a00:100:7031::1] 631s # Test 22: http://[1080::8:800:200C:417A]/foo 631s # Test 23: http://[::192.9.5.5]/ipng 631s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 631s # Test 25: http://[2010:836B:4179::836B:4179] 631s # Test 26: http://host/path with spaces 631s # Test 27: http://host/path 631s # Test 28: http://host/path 631s # Test 29: http://host 631s # Test 30: http://host:999 631s # Test 31: http://host/pa 631s # th 631s # Test 32: http: 631s # //host/path 631s # Test 33: http:// host/path 631s # Test 34: http://host/path? 631s # Test 35: http://host/path# 631s # Test 36: http://host/path% 631s # Test 37: http://h%ost/path 631s # Test 38: http://host/path%% 631s # Test 39: http://host/path%%% 631s # Test 40: http://host/path%/x/ 631s # Test 41: http://host/path%0x/ 631s # Test 42: http://host/path%ax 631s # Test 43: http://host/p?th/ 631s # Test 44: HTTP://////////////// 631s # Test 45: http://@host 631s # Test 46: http://:@host 631s # Test 47: scheme://foo%3Abar._webdav._tcp.local 631s # Test 48: http://example.com/.. 631s # Test 49: foo0://host/path 631s # Test 50: f0.o://host/path 631s # Test 51: http++://host/path 631s # Test 52: http-ish://host/path 631s # Test 53: http://[fe80::dead:beef%]/ 631s # Test 54: http://[fe80::dead:beef%em1]/ 631s # Test 55: http://[fe80::dead:beef%em1]/ 631s # Test 56: http://[fe80::dead:beef%25em1]/ 631s # Test 57: http://[fe80::dead:beef%25em1%20]/ 631s # Test 58: http://[fe80::dead:beef%25em%31]/ 631s # Test 59: http://[fe80::dead:beef%10]/ 631s # Test 60: http://[fe80::dead:beef%10]/ 631s # Test 61: http://[fe80::dead:beef%25]/ 631s # Test 62: http://[fe80::dead:beef%25]/ 631s # Test 63: http://[192.168.0.1%25em1]/ 631s # Test 64: http://[fe80::dead:beef%2em1]/ 631s # Test 65: http://[fe80::dead:beef%2em1]/ 631s # Test 66: http://[fe80::dead:beef%25em1%00]/ 631s # Test 67: http://[fe80::dead:beef%25em1%00]/ 631s # Test 68: http://xn--mixed-?p/ 631s ok 19 /uri/parsing/absolute 631s ok 20 /uri/parsing/relative 631s # End of parsing tests 631s # Start of iter-params tests 631s # URI 0: p1=foo&p2=bar;p3=baz 631s # URI 1: p1=foo&p2=bar 631s # URI 2: p1=foo&&P1=bar 631s # URI 3: %00=foo 631s # URI 4: p1=%00 631s # URI 5: p1=foo&p1=bar 631s # URI 6: p1=foo&P1=bar 631s # URI 7: =% 631s # URI 8: = 631s # URI 9: foo 631s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 631s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 631s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 631s ok 21 /uri/iter-params/nul-terminated 631s # URI 0: p1=foo&p2=bar;p3=baz 631s # URI 1: p1=foo&p2=bar 631s # URI 2: p1=foo&&P1=bar 631s # URI 3: %00=foo 631s # URI 4: p1=%00 631s # URI 5: p1=foo&p1=bar 631s # URI 6: p1=foo&P1=bar 631s # URI 7: =% 631s # URI 8: = 631s # URI 9: foo 631s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 631s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 631s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 631s ok 22 /uri/iter-params/length 631s # End of iter-params tests 631s # Start of parse-params tests 631s # URI 0: p1=foo&p2=bar;p3=baz 631s # URI 1: p1=foo&p2=bar 631s # URI 2: p1=foo&&P1=bar 631s # URI 3: %00=foo 631s # URI 4: p1=%00 631s # URI 5: p1=foo&p1=bar 631s # URI 6: p1=foo&P1=bar 631s # URI 7: =% 631s # URI 8: = 631s # URI 9: foo 631s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 631s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 631s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 631s ok 23 /uri/parse-params/nul-terminated 631s # URI 0: p1=foo&p2=bar;p3=baz 631s # URI 1: p1=foo&p2=bar 631s # URI 2: p1=foo&&P1=bar 631s # URI 3: %00=foo 631s # URI 4: p1=%00 631s # URI 5: p1=foo&p1=bar 631s # URI 6: p1=foo&P1=bar 631s # URI 7: =% 631s # URI 8: = 631s # URI 9: foo 631s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 631s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 631s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 631s ok 24 /uri/parse-params/length 631s # End of parse-params tests 631s # End of uri tests 631s ok - glib/uri.test 631s # Running test: glib/pathbuf.test 631s TAP version 13 631s # random seed: R02S441be9e474e0d3a3917840cafdecb96a 631s 1..3 631s # Start of pathbuf tests 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_FOJQK2/pathbuf/init/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_FOJQK2/pathbuf/init/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_FOJQK2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_FOJQK2/pathbuf/init/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_FOJQK2/pathbuf/init/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_FOJQK2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_FOJQK2/pathbuf/init/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_FOJQK2/pathbuf/init/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_FOJQK2/pathbuf/init/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_FOJQK2/pathbuf/init/.dirs/runtime 631s # Initializing empty path buf 631s # Initializing with empty path 631s # Initializing with full path 631s # Initializing with no path 631s # Allocating GPathBuf on the heap 631s ok 1 /pathbuf/init 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_FOJQK2/pathbuf/push-pop/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_FOJQK2/pathbuf/push-pop/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_FOJQK2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_FOJQK2/pathbuf/push-pop/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_FOJQK2/pathbuf/push-pop/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_FOJQK2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_FOJQK2/pathbuf/push-pop/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_FOJQK2/pathbuf/push-pop/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_FOJQK2/pathbuf/push-pop/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_FOJQK2/pathbuf/push-pop/.dirs/runtime 631s # Pushing relative path component 631s # Pushing absolute path component 631s # Popping a path component 631s # Can't pop the last element of a path buffer 631s ok 2 /pathbuf/push-pop 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_FOJQK2/pathbuf/filename-extension/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_FOJQK2/pathbuf/filename-extension/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_FOJQK2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_FOJQK2/pathbuf/filename-extension/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_FOJQK2/pathbuf/filename-extension/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_FOJQK2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_FOJQK2/pathbuf/filename-extension/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_FOJQK2/pathbuf/filename-extension/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_FOJQK2/pathbuf/filename-extension/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_FOJQK2/pathbuf/filename-extension/.dirs/runtime 631s ok 3 /pathbuf/filename-extension 631s # End of pathbuf tests 631s ok - glib/pathbuf.test 631s # Running test: glib/shell.test 631s TAP version 13 631s # random seed: R02S345170fc4b45631563617cd1d7ba47a1 631s 1..51 631s # Start of shell tests 631s # Start of cmdline tests 631s test cmdline: foo bar 631s ok 1 /shell/cmdline/0 631s test cmdline: foo 'bar' 631s ok 2 /shell/cmdline/1 631s test cmdline: foo "bar" 631s ok 3 /shell/cmdline/2 631s test cmdline: foo '' 'bar' 631s ok 4 /shell/cmdline/3 631s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 631s ok 5 /shell/cmdline/4 631s test cmdline: foo blah foo bar baz 631s ok 6 /shell/cmdline/5 631s test cmdline: foo ' spaces more spaces lots of spaces in this ' 631s ok 7 /shell/cmdline/6 631s test cmdline: foo \ 631s bar 631s ok 8 /shell/cmdline/7 631s test cmdline: foo '' '' 631s ok 9 /shell/cmdline/8 631s test cmdline: foo \" la la la 631s ok 10 /shell/cmdline/9 631s test cmdline: foo \ foo woo woo\ 631s ok 11 /shell/cmdline/10 631s test cmdline: foo "yada yada \$\"" 631s ok 12 /shell/cmdline/11 631s test cmdline: foo "c:\\" 631s ok 13 /shell/cmdline/12 631s test cmdline: foo # bla bla bla 631s bar 631s ok 14 /shell/cmdline/13 631s test cmdline: foo a#b 631s ok 15 /shell/cmdline/14 631s test cmdline: #foo 631s ok 16 /shell/cmdline/15 631s test cmdline: foo bar \ 631s ok 17 /shell/cmdline/16 631s test cmdline: foo 'bar baz 631s ok 18 /shell/cmdline/17 631s test cmdline: foo '"bar" baz 631s ok 19 /shell/cmdline/18 631s test cmdline: 631s ok 20 /shell/cmdline/19 631s test cmdline: 631s ok 21 /shell/cmdline/20 631s test cmdline: # foo bar 631s ok 22 /shell/cmdline/21 631s test cmdline: foo '/bar/summer'\''09 tours.pdf' 631s ok 23 /shell/cmdline/22 631s # End of cmdline tests 631s # Start of quote tests 631s ok 24 /shell/quote/0 631s ok 25 /shell/quote/1 631s ok 26 /shell/quote/2 631s ok 27 /shell/quote/3 631s ok 28 /shell/quote/4 631s ok 29 /shell/quote/5 631s ok 30 /shell/quote/6 631s # End of quote tests 631s # Start of unquote tests 631s ok 31 /shell/unquote/0 631s ok 32 /shell/unquote/1 631s ok 33 /shell/unquote/2 631s ok 34 /shell/unquote/3 631s ok 35 /shell/unquote/4 631s ok 36 /shell/unquote/5 631s ok 37 /shell/unquote/6 631s ok 38 /shell/unquote/7 631s ok 39 /shell/unquote/8 631s ok 40 /shell/unquote/9 631s ok 41 /shell/unquote/10 631s ok 42 /shell/unquote/11 631s ok 43 /shell/unquote/12 631s ok 44 /shell/unquote/13 631s ok 45 /shell/unquote/14 631s ok 46 /shell/unquote/15 631s ok 47 /shell/unquote/16 631s ok 48 /shell/unquote/17 631s ok 49 /shell/unquote/18 631s ok 50 /shell/unquote/19 631s ok 51 /shell/unquote/20 631s # End of unquote tests 631s # End of shell tests 631s ok - glib/shell.test 631s # Running test: glib/utils-c-17.test 631s TAP version 13 631s # random seed: R02S6e288b0ea6a11410ff8b0cb067404d70 631s 1..40 631s # Start of utils tests 631s ok 1 /utils/language-names 631s ok 2 /utils/locale-variants 631s ok 3 /utils/version 631s ok 4 /utils/appname 631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 631s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 631s ok 5 /utils/prgname-thread-safety 631s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 631s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 631s ok 6 /utils/tmpdir 631s ok 7 /utils/basic_bits 631s ok 8 /utils/bits 631s ok 9 /utils/swap 631s ok 10 /utils/find-program 631s ok 11 /utils/find-program-for-path 631s ok 12 /utils/debug 631s ok 13 /utils/codeset 631s ok 14 /utils/codeset2 631s ok 15 /utils/console-charset 631s ok 16 /utils/gettext 631s ok 17 /utils/username 631s ok 18 /utils/realname 631s ok 19 /utils/hostname 631s ok 20 /utils/xdgdirs 631s ok 21 /utils/specialdir 631s # NAME: Ubuntu 631s ok 22 /utils/os-info 631s ok 23 /utils/clear-pointer 631s ok 24 /utils/clear-pointer-cast 631s ok 25 /utils/take-pointer 631s ok 26 /utils/clear-source 631s ok 27 /utils/misc-mem 631s # /utils/aligned-mem summary: Aligned memory allocator 631s # Alignment must not be zero 631s # Alignment must be a power of two 631s # Alignment must be a multiple of sizeof(void*) 631s ok 28 /utils/aligned-mem 631s # /utils/free-sized summary: Check that g_free_sized() works 631s ok 29 /utils/free-sized 631s ok 30 /utils/nullify 631s ok 31 /utils/atexit 631s ok 32 /utils/check-setuid 631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 631s ok 33 /utils/int-limits 631s ok 34 /utils/clear-list 631s ok 35 /utils/clear-slist 631s # Start of specialdir tests 631s ok 36 /utils/specialdir/desktop 631s # End of specialdir tests 631s # Start of clear-pointer tests 631s ok 37 /utils/clear-pointer/side-effects 631s # End of clear-pointer tests 631s # Start of aligned-mem tests 631s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 631s ok 38 /utils/aligned-mem/alignment 631s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 631s ok 39 /utils/aligned-mem/zeroed 631s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 631s ok 40 /utils/aligned-mem/free-sized 631s # Start of subprocess tests 631s # End of subprocess tests 631s # End of aligned-mem tests 631s # End of utils tests 631s ok - glib/utils-c-17.test 631s # Running test: glib/portal-support-flatpak-full.test 631s TAP version 13 631s # random seed: R02S14b037081f32410f953072419ed18c0d 631s 1..1 631s # Start of portal-support tests 631s # Start of flatpak tests 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_TZSLK2/portal-support/flatpak/full/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_TZSLK2/portal-support/flatpak/full/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_TZSLK2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_TZSLK2/portal-support/flatpak/full/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_TZSLK2/portal-support/flatpak/full/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_TZSLK2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_TZSLK2/portal-support/flatpak/full/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_TZSLK2/portal-support/flatpak/full/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_TZSLK2/portal-support/flatpak/full/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_TZSLK2/portal-support/flatpak/full/.dirs/runtime 631s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_TZSLK2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 631s ok 1 /portal-support/flatpak/full 631s # End of flatpak tests 631s # End of portal-support tests 631s ok - glib/portal-support-flatpak-full.test 631s # Running test: glib/tls-interaction.test 631s TAP version 13 631s # random seed: R02S546de9c818a787be72d0ad60e8eab97b 631s 1..42 631s # Start of tls-interaction tests 631s # Start of ask-password tests 631s # Start of invoke-with-loop tests 631s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 631s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 631s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 631s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 631s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 631s # End of invoke-with-loop tests 631s # Start of invoke-without-loop tests 631s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 631s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 631s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 631s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 631s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 631s # End of invoke-without-loop tests 631s # Start of invoke-in-loop tests 631s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 631s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 631s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 631s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 631s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 631s # End of invoke-in-loop tests 631s # Start of sync tests 631s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 631s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 631s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 631s # End of sync tests 631s # Start of async tests 631s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 631s ok 20 /tls-interaction/ask-password/async/async-implementation-success 631s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 631s # End of async tests 631s # End of ask-password tests 631s # Start of request-certificate tests 631s # Start of invoke-with-loop tests 631s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 631s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 631s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 631s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 631s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 631s # End of invoke-with-loop tests 631s # Start of invoke-without-loop tests 631s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 631s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 631s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 631s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 631s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 631s # End of invoke-without-loop tests 631s # Start of invoke-in-loop tests 631s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 631s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 631s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 631s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 631s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 631s # End of invoke-in-loop tests 631s # Start of sync tests 631s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 631s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 631s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 631s # End of sync tests 631s # Start of async tests 631s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 631s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 631s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 631s # End of async tests 631s # End of request-certificate tests 631s # End of tls-interaction tests 631s ok - glib/tls-interaction.test 631s # Running test: glib/cxx-03.test 631s TAP version 13 631s # random seed: R02Sc5b4179f73ff3bed3276e4672082d2fd 631s 1..2 631s # Start of gtask tests 631s # 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. 631s ok 1 /gtask/name 631s # Start of name tests 631s # 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. 631s ok 2 /gtask/name/macro-wrapper 631s # End of name tests 631s # End of gtask tests 631s ok - glib/cxx-03.test 631s # Running test: glib/null-settings-backend.test 631s TAP version 13 631s # random seed: R02Sc191f85a3937abfc027ceb3607989c2e 631s 1..1 631s # Start of null-settings-backend tests 631s ok 1 /null-settings-backend/extension-point-registered 631s # End of null-settings-backend tests 631s ok - glib/null-settings-backend.test 631s # Running test: glib/dynamictype.test 631s TAP version 13 631s # random seed: R02S7e53a7a905c79a435a8ef8db350106d5 631s 1..2 631s # Start of gobject tests 631s ok 1 /gobject/dynamic-type 631s # Start of dynamic-type tests 631s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 631s ok 2 /gobject/dynamic-type/query 631s # End of dynamic-type tests 631s # End of gobject tests 631s ok - glib/dynamictype.test 631s # Running test: glib/glistmodel.test 631s TAP version 13 631s # random seed: R02S4320dcfa26e082ccb8f9a868e67177fc 631s 1..18 631s # Start of glistmodel tests 631s # Start of store tests 631s ok 1 /glistmodel/store/properties 631s ok 2 /glistmodel/store/non-gobjects 631s ok 3 /glistmodel/store/boundaries 631s ok 4 /glistmodel/store/refcounts 631s ok 5 /glistmodel/store/sorted 631s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 631s ok 6 /glistmodel/store/splice-replace-middle 631s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 631s ok 7 /glistmodel/store/splice-replace-all 631s ok 8 /glistmodel/store/splice-noop 631s ok 9 /glistmodel/store/splice-remove-multiple 631s ok 10 /glistmodel/store/splice-add-multiple 631s ok 11 /glistmodel/store/splice-wrong-type 631s ok 12 /glistmodel/store/item-type 631s ok 13 /glistmodel/store/remove-all 631s ok 14 /glistmodel/store/sort 631s ok 15 /glistmodel/store/get-item-cache 631s ok 16 /glistmodel/store/items-changed 631s ok 17 /glistmodel/store/past-end 631s ok 18 /glistmodel/store/find 631s # End of store tests 631s # End of glistmodel tests 631s ok - glib/glistmodel.test 631s # Running test: glib/socket-service.test 631s TAP version 13 631s # random seed: R02Sabbc4eed6299c9c385932e6932e61a12 631s 1..4 631s # Start of socket-service tests 631s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 631s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1dbea330 and GSocketClientAsyncConnectData 0x2aa1dbe2620 631s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 631s ok 1 /socket-service/start-stop 631s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1dbebe90 and GSocketClientAsyncConnectData 0x2aa1dbebc30 631s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 631s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 631s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1dbec3a0 for GSocketClientAsyncConnectData 0x2aa1dbe2620 631s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 631s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 631s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 631s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 631s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 631s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1dbed220 for GSocketClientAsyncConnectData 0x2aa1dbebc30 631s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 631s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 631s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 631s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 631s ok 2 /socket-service/read_write_async 631s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1dbebf70 and GSocketClientAsyncConnectData 0x2aa1dbea900 631s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 631s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 631s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1dbee160 for GSocketClientAsyncConnectData 0x2aa1dbea900 631s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 631s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 631s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 631s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 631s ok 3 /socket-service/read_writev_async 631s # Start of threaded tests 631s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 631s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1dbf16f0 and GSocketClientAsyncConnectData 0x2aa1dbe2620 631s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 631s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 631s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1dbf1870 for GSocketClientAsyncConnectData 0x2aa1dbe2620 631s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 631s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 631s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 631s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 631s ok 4 /socket-service/threaded/712570 631s # End of threaded tests 631s # End of socket-service tests 631s ok - glib/socket-service.test 631s # Running test: glib/signals-refcount1.test 631s TAP version 13 631s # random seed: R02S2686d71fdbe04c7900333bae88c5a2da 631s 1..1 631s # Start of gobject tests 631s # Start of refcount tests 631s # init 0x2aa34c6e420 631s # 631s # init 0x2aa34c6e5c0 631s # 633s # Executing: glib/signals-refcount1.test 636s # dispose 0x2aa34c6e420! 636s # 636s # dispose 0x2aa34c6e5c0! 636s # 636s ok 1 /gobject/refcount/signals 636s # slow test /gobject/refcount/signals executed in 5.00 secs 636s # End of refcount tests 636s # End of gobject tests 636s ok - glib/signals-refcount1.test 636s # Running test: glib/gobject-query.py.test 637s TAP version 13 637s ok 1 __main__.TestGobjectQuery.test_froots 637s # gobject-query: /usr/bin/gobject-query 637s # Running: ['/usr/bin/gobject-query', 'froots'] 637s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 637s # Output: ├void 637s # ├GInterface 637s # │ └GTypePlugin 637s # ├gchar 637s # ├guchar 637s # ├gboolean 637s # ├gint 637s # ├guint 637s # ├glong 637s # ├gulong 637s # ├gint64 637s # ├guint64 637s # ├GEnum 637s # ├GFlags 637s # ├gfloat 637s # ├gdouble 637s # ├gchararray 637s # ├gpointer 637s # │ └GType 637s # ├GBoxed 637s # │ └GValueArray 637s # ├GParam 637s # │ ├GParamChar 637s # │ ├GParamUChar 637s # │ ├GParamBoolean 637s # │ ├GParamInt 637s # │ ├GParamUInt 637s # │ ├GParamLong 637s # │ ├GParamULong 637s # │ ├GParamInt64 637s # │ ├GParamUInt64 637s # │ ├GParamUnichar 637s # │ ├GParamEnum 637s # │ ├GParamFlags 637s # │ ├GParamFloat 637s # │ ├GParamDouble 637s # │ ├GParamString 637s # │ ├GParamParam 637s # │ ├GParamBoxed 637s # │ ├GParamPointer 637s # │ ├GParamValueArray 637s # │ ├GParamObject 637s # │ ├GParamOverride 637s # │ ├GParamGType 637s # │ └GParamVariant 637s # ├GObject 637s # └GVariant 637s ok 2 __main__.TestGobjectQuery.test_help 637s # gobject-query: /usr/bin/gobject-query 637s # Running: ['/usr/bin/gobject-query', '--help'] 637s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 637s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 637s # -r specify root type 637s # -n don't descend type tree 637s # -h show help 637s # -b specify indent string 637s # -i specify incremental indent string 637s # -s specify line spacing 637s # qualifiers: 637s # froots iterate over fundamental roots 637s # tree print type tree 637s ok 3 __main__.TestGobjectQuery.test_tree 637s # gobject-query: /usr/bin/gobject-query 637s # Running: ['/usr/bin/gobject-query', 'tree'] 637s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 637s # Output: GObject 637s ok 4 __main__.TestGobjectQuery.test_version 637s # gobject-query: /usr/bin/gobject-query 637s # Running: ['/usr/bin/gobject-query', '--version'] 637s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 637s # Output: 2.79.2 637s 1..4 637s ok - glib/gobject-query.py.test 637s # Running test: glib/dbus-appinfo.test 637s TAP version 13 637s # random seed: R02S627b0d64d5fd6eaa8f85b18929a608c1 637s 1..3 637s # Start of appinfo tests 637s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 637s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 637s ok 1 /appinfo/dbusappinfo 637s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 637s dbus-daemon[5333]: [session uid=1000 pid=5333] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=5332 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 637s # Acquired a message bus connection 637s dbus-daemon[5333]: [session uid=1000 pid=5333] Successfully activated service 'org.freedesktop.portal.Documents' 637s # Acquired the name org.freedesktop.portal.Documents 637s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 637s ok 2 /appinfo/flatpak-doc-export 637s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 637s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 637s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 637s ok 3 /appinfo/flatpak-missing-doc-export 637s # End of appinfo tests 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # Lost the name org.freedesktop.portal.Documents 637s ok - glib/dbus-appinfo.test 637s # Running test: glib/cxx-14.test 637s TAP version 13 637s # random seed: R02Sb2890cd6b6d6ec6b5df9dc530091e2c7 637s 1..2 637s # Start of gtask tests 637s # 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. 637s ok 1 /gtask/name 637s # Start of name tests 637s # 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. 637s ok 2 /gtask/name/macro-wrapper 637s # End of name tests 637s # End of gtask tests 637s ok - glib/cxx-14.test 637s # Running test: glib/inet-address.test 637s TAP version 13 637s # random seed: R02S3162383442c1452f256180d39dc61566 637s 1..11 637s # Start of inet-address tests 637s ok 1 /inet-address/parse 637s ok 2 /inet-address/any 637s ok 3 /inet-address/loopback 637s ok 4 /inet-address/bytes 637s ok 5 /inet-address/property 637s # End of inet-address tests 637s # Start of socket-address tests 637s ok 6 /socket-address/basic 637s ok 7 /socket-address/to-string 637s # End of socket-address tests 637s # Start of address-mask tests 637s ok 8 /address-mask/parse 637s ok 9 /address-mask/property 637s ok 10 /address-mask/equal 637s ok 11 /address-mask/match 637s # End of address-mask tests 637s ok - glib/inet-address.test 637s # Running test: glib/overflow-fallback.test 637s TAP version 13 637s # random seed: R02S2049d3ce088f56f7c4e93f5984afe4bf 637s 1..6 637s # Start of glib tests 637s # Start of checked-math tests 637s ok 1 /glib/checked-math/guint-add 637s ok 2 /glib/checked-math/guint-mul 637s ok 3 /glib/checked-math/guint64-add 637s ok 4 /glib/checked-math/guint64-mul 637s ok 5 /glib/checked-math/gsize-add 637s ok 6 /glib/checked-math/gsize-mul 637s # End of checked-math tests 637s # End of glib tests 637s ok - glib/overflow-fallback.test 637s # Running test: glib/relation.test 637s TAP version 13 637s # random seed: R02S21d5c2ee3a47f63b6f5138734b4db51a 637s 1..1 637s # Start of glib tests 637s ok 1 /glib/relation 637s # End of glib tests 637s ok - glib/relation.test 637s # Running test: glib/unicode.test 637s TAP version 13 637s # random seed: R02Sdcfae5d6808f1cb2a15d351392bae696 637s 1..39 637s # Start of unicode tests 637s ok 1 /unicode/alnum 637s ok 2 /unicode/alpha 637s ok 3 /unicode/break-type 637s ok 4 /unicode/canonical-decomposition 637s ok 5 /unicode/casefold 637s # Cannot set locale to lt_LT, skipping 637s # Cannot set locale to lt_LT, skipping 637s # Cannot set locale to lt_LT, skipping 637s # Cannot set locale to lt_LT, skipping 637s # Cannot set locale to lt_LT, skipping 637s # Cannot set locale to lt_LT, skipping 637s # Cannot set locale to lt_LT, skipping 637s # Cannot set locale to lt_LT, skipping 637s # Cannot set locale to lt_LT, skipping 637s # Cannot set locale to lt_LT, skipping 637s # Cannot set locale to lt_LT, skipping 637s ok 6 /unicode/casemap_and_casefold 637s ok 7 /unicode/cases 637s ok 8 /unicode/character-type 637s ok 9 /unicode/cntrl 637s ok 10 /unicode/combining-class 637s ok 11 /unicode/compose 637s ok 12 /unicode/decompose 637s ok 13 /unicode/decompose-tail 637s ok 14 /unicode/defined 637s ok 15 /unicode/digit 637s ok 16 /unicode/digit-value 637s ok 17 /unicode/fully-decompose-canonical 637s ok 18 /unicode/fully-decompose-len 637s ok 19 /unicode/normalization 637s ok 20 /unicode/graph 637s # Testing script Zyyy (code 1517910393) 637s # Testing script Zinh (code 1516858984) 637s # Testing script Zmth (code 1517122664) 637s # Testing script Arab (code 1098015074) 637s # Testing script Armn (code 1098018158) 637s # Testing script Beng (code 1113943655) 637s # Testing script Bopo (code 1114599535) 637s # Testing script Cher (code 1130915186) 637s # Testing script Copt (code 1131376756) 637s # Testing script Cyrl (code 1132032620) 637s # Testing script Dsrt (code 1148416628) 637s # Testing script Deva (code 1147500129) 637s # Testing script Ethi (code 1165256809) 637s # Testing script Geor (code 1197830002) 637s # Testing script Goth (code 1198486632) 637s # Testing script Grek (code 1198679403) 637s # Testing script Gujr (code 1198877298) 637s # Testing script Guru (code 1198879349) 637s # Testing script Hani (code 1214344809) 637s # Testing script Hang (code 1214344807) 637s # Testing script Hebr (code 1214603890) 637s # Testing script Hira (code 1214870113) 637s # Testing script Knda (code 1265525857) 637s # Testing script Kana (code 1264676449) 637s # Testing script Khmr (code 1265134962) 637s # Testing script Laoo (code 1281453935) 637s # Testing script Latn (code 1281455214) 637s # Testing script Mlym (code 1298954605) 637s # Testing script Mong (code 1299148391) 637s # Testing script Mymr (code 1299803506) 637s # Testing script Ogam (code 1332175213) 637s # Testing script Ital (code 1232363884) 637s # Testing script Orya (code 1332902241) 637s # Testing script Runr (code 1383427698) 637s # Testing script Sinh (code 1399418472) 637s # Testing script Syrc (code 1400468067) 637s # Testing script Taml (code 1415671148) 637s # Testing script Telu (code 1415933045) 637s # Testing script Thaa (code 1416126817) 637s # Testing script Thai (code 1416126825) 637s # Testing script Tibt (code 1416192628) 637s # Testing script Cans (code 1130458739) 637s # Testing script Yiii (code 1500080489) 637s # Testing script Tglg (code 1416064103) 637s # Testing script Hano (code 1214344815) 637s # Testing script Buhd (code 1114990692) 637s # Testing script Tagb (code 1415669602) 637s # Testing script Brai (code 1114792297) 637s # Testing script Cprt (code 1131442804) 637s # Testing script Limb (code 1281977698) 637s # Testing script Osma (code 1332964705) 637s # Testing script Shaw (code 1399349623) 637s # Testing script Linb (code 1281977954) 637s # Testing script Tale (code 1415670885) 637s # Testing script Ugar (code 1432838514) 637s # Testing script Talu (code 1415670901) 637s # Testing script Bugi (code 1114990441) 637s # Testing script Glag (code 1198285159) 637s # Testing script Tfng (code 1415999079) 637s # Testing script Sylo (code 1400466543) 637s # Testing script Xpeo (code 1483761007) 637s # Testing script Khar (code 1265131890) 637s # Testing script Zzzz (code 1517976186) 637s # Testing script Bali (code 1113681001) 637s # Testing script Xsux (code 1483961720) 637s # Testing script Phnx (code 1349021304) 637s # Testing script Phag (code 1349017959) 637s # Testing script Nkoo (code 1315663727) 637s # Testing script Kali (code 1264675945) 637s # Testing script Lepc (code 1281716323) 637s # Testing script Rjng (code 1382706791) 637s # Testing script Sund (code 1400204900) 637s # Testing script Saur (code 1398895986) 637s # Testing script Cham (code 1130914157) 637s # Testing script Olck (code 1332503403) 637s # Testing script Vaii (code 1449224553) 637s # Testing script Cari (code 1130459753) 637s # Testing script Lyci (code 1283023721) 637s # Testing script Lydi (code 1283023977) 637s # Testing script Avst (code 1098281844) 637s # Testing script Bamu (code 1113681269) 637s # Testing script Egyp (code 1164409200) 637s # Testing script Armi (code 1098018153) 637s # Testing script Phli (code 1349020777) 637s # Testing script Prti (code 1349678185) 637s # Testing script Java (code 1247901281) 637s # Testing script Kthi (code 1265920105) 637s # Testing script Lisu (code 1281979253) 637s # Testing script Mtei (code 1299473769) 637s # Testing script Sarb (code 1398895202) 637s # Testing script Orkh (code 1332898664) 637s # Testing script Samr (code 1398893938) 637s # Testing script Lana (code 1281453665) 637s # Testing script Tavt (code 1415673460) 637s # Testing script Batk (code 1113683051) 637s # Testing script Brah (code 1114792296) 637s # Testing script Mand (code 1298230884) 637s # Testing script Cakm (code 1130457965) 637s # Testing script Merc (code 1298494051) 637s # Testing script Mero (code 1298494063) 637s # Testing script Plrd (code 1349284452) 637s # Testing script Shrd (code 1399353956) 637s # Testing script Sora (code 1399812705) 637s # Testing script Takr (code 1415670642) 637s # Testing script Bass (code 1113682803) 637s # Testing script Aghb (code 1097295970) 637s # Testing script Dupl (code 1148547180) 637s # Testing script Elba (code 1164730977) 637s # Testing script Gran (code 1198678382) 637s # Testing script Khoj (code 1265135466) 637s # Testing script Sind (code 1399418468) 637s # Testing script Lina (code 1281977953) 637s # Testing script Mahj (code 1298229354) 637s # Testing script Mani (code 1298230889) 637s # Testing script Mend (code 1298493028) 637s # Testing script Modi (code 1299145833) 637s # Testing script Mroo (code 1299345263) 637s # Testing script Nbat (code 1315070324) 637s # Testing script Narb (code 1315009122) 637s # Testing script Perm (code 1348825709) 637s # Testing script Hmng (code 1215131239) 637s # Testing script Palm (code 1348562029) 637s # Testing script Pauc (code 1348564323) 637s # Testing script Phlp (code 1349020784) 637s # Testing script Sidd (code 1399415908) 637s # Testing script Tirh (code 1416196712) 637s # Testing script Wara (code 1466004065) 637s # Testing script Ahom (code 1097363309) 637s # Testing script Hluw (code 1215067511) 637s # Testing script Hatr (code 1214346354) 637s # Testing script Mult (code 1299541108) 637s # Testing script Hung (code 1215655527) 637s # Testing script Sgnw (code 1399287415) 637s # Testing script Adlm (code 1097100397) 637s # Testing script Bhks (code 1114139507) 637s # Testing script Marc (code 1298231907) 637s # Testing script Newa (code 1315272545) 637s # Testing script Osge (code 1332963173) 637s # Testing script Tang (code 1415671399) 637s # Testing script Gonm (code 1198485101) 637s # Testing script Nshu (code 1316186229) 637s # Testing script Soyo (code 1399814511) 637s # Testing script Zanb (code 1516334690) 637s # Testing script Dogr (code 1148151666) 637s # Testing script Gong (code 1198485095) 637s # Testing script Rohg (code 1383032935) 637s # Testing script Maka (code 1298230113) 637s # Testing script Medf (code 1298490470) 637s # Testing script Sogo (code 1399809903) 637s # Testing script Sogd (code 1399809892) 637s # Testing script Elym (code 1164736877) 637s # Testing script Nand (code 1315008100) 637s # Testing script Hmnp (code 1215131248) 637s # Testing script Wcho (code 1466132591) 637s # Testing script Chrs (code 1130918515) 637s # Testing script Diak (code 1147756907) 637s # Testing script Kits (code 1265202291) 637s # Testing script Yezi (code 1499822697) 637s # Testing script Cpmn (code 1131441518) 637s # Testing script Ougr (code 1333094258) 637s # Testing script Tnsa (code 1416524641) 637s # Testing script Toto (code 1416590447) 637s # Testing script Vith (code 1449751656) 637s # Testing script Kawi (code 1264678761) 637s # Testing script Nagm (code 1315006317) 637s ok 21 /unicode/iso15924 637s ok 22 /unicode/lower 637s ok 23 /unicode/mark 637s ok 24 /unicode/mirror 637s ok 25 /unicode/print 637s ok 26 /unicode/punctuation 637s ok 27 /unicode/script 637s ok 28 /unicode/space 637s ok 29 /unicode/strdown 637s ok 30 /unicode/strup 637s ok 31 /unicode/turkish-strupdown 637s ok 32 /unicode/title 637s ok 33 /unicode/upper 637s ok 34 /unicode/validate 637s ok 35 /unicode/wide 637s ok 36 /unicode/xdigit 637s ok 37 /unicode/xdigit-value 637s ok 38 /unicode/zero-width 637s ok 39 /unicode/normalize 637s # End of unicode tests 637s ok - glib/unicode.test 637s # Running test: glib/bytes.test 637s TAP version 13 637s # random seed: R02Sbde4e52a39a89bf316d116f829fd1cec 637s 1..21 637s # Start of bytes tests 637s ok 1 /bytes/new 637s ok 2 /bytes/new-take 637s ok 3 /bytes/new-static 637s ok 4 /bytes/new-with-free-func 637s ok 5 /bytes/new-from-bytes 637s ok 6 /bytes/new-from-bytes-slice 637s ok 7 /bytes/new-from-bytes-shared-ref 637s ok 8 /bytes/hash 637s ok 9 /bytes/equal 637s ok 10 /bytes/compare 637s ok 11 /bytes/null 637s ok 12 /bytes/get-region 637s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 637s ok 13 /bytes/unref-null 637s # Start of to-data tests 637s ok 14 /bytes/to-data/transferred 637s ok 15 /bytes/to-data/two-refs 637s ok 16 /bytes/to-data/non-malloc 637s ok 17 /bytes/to-data/different-free-func 637s # End of to-data tests 637s # Start of to-array tests 637s ok 18 /bytes/to-array/transferred 637s ok 19 /bytes/to-array/two-refs 637s ok 20 /bytes/to-array/non-malloc 637s # Start of transferred tests 637s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 637s ok 21 /bytes/to-array/transferred/oversize 637s # End of transferred tests 637s # End of to-array tests 637s # End of bytes tests 637s ok - glib/bytes.test 637s # Running test: glib/gdbus-address-get-session.test 637s TAP version 13 637s # random seed: R02Sbfcc52fc906da027cdbd11909a52446a 637s 1..2 637s # Start of gdbus tests 637s ok 1 /gdbus/x11-autolaunch 637s ok 2 /gdbus/xdg-runtime 637s # End of gdbus tests 637s ok - glib/gdbus-address-get-session.test 637s # Running test: glib/srvtarget.test 637s TAP version 13 637s # random seed: R02S9a3783de983dda419acf24208a9b2051 637s 1..1 637s # Start of srvtarget tests 638s ok 1 /srvtarget/srv-target-ordering 638s # slow test /srvtarget/srv-target-ordering executed in 1.22 secs 638s # End of srvtarget tests 638s ok - glib/srvtarget.test 638s # Running test: glib/gdbus-connection.test 638s TAP version 13 638s # random seed: R02Sf95e695b5f08d56e357815867d6c2e85 638s 1..9 638s # Start of gdbus tests 638s # Start of connection tests 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/bus-failure/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/bus-failure/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_LXRUK2/gdbus/connection/bus-failure/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/bus-failure/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_LXRUK2/gdbus/connection/bus-failure/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/bus-failure/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/bus-failure/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/bus-failure/.dirs/runtime 638s ok 1 /gdbus/connection/bus-failure 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/basic/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/basic/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_LXRUK2/gdbus/connection/basic/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/basic/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_LXRUK2/gdbus/connection/basic/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/basic/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/basic/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/basic/.dirs/runtime 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 638s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s ok 2 /gdbus/connection/basic 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/life-cycle/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/life-cycle/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_LXRUK2/gdbus/connection/life-cycle/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/life-cycle/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_LXRUK2/gdbus/connection/life-cycle/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/life-cycle/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/life-cycle/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/life-cycle/.dirs/runtime 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 638s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s ok 3 /gdbus/connection/life-cycle 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/send/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/send/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_LXRUK2/gdbus/connection/send/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/send/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_LXRUK2/gdbus/connection/send/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/send/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/send/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/send/.dirs/runtime 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 638s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s ok 4 /gdbus/connection/send 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signals/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signals/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signals/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signals/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signals/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signals/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signals/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signals/.dirs/runtime 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 638s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s ok 5 /gdbus/connection/signals 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signal-match-rules/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signal-match-rules/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signal-match-rules/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signal-match-rules/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signal-match-rules/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signal-match-rules/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signal-match-rules/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/signal-match-rules/.dirs/runtime 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 638s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s ok 6 /gdbus/connection/signal-match-rules 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/filter/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/filter/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_LXRUK2/gdbus/connection/filter/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/filter/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_LXRUK2/gdbus/connection/filter/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/filter/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/filter/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/filter/.dirs/runtime 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 638s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s ok 7 /gdbus/connection/filter 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/serials/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/serials/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_LXRUK2/gdbus/connection/serials/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/serials/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_LXRUK2/gdbus/connection/serials/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/serials/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/serials/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/serials/.dirs/runtime 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 638s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s ok 8 /gdbus/connection/serials 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/cancel/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/cancel/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_LXRUK2/gdbus/connection/cancel/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/cancel/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_LXRUK2/gdbus/connection/cancel/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/cancel/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/cancel/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_LXRUK2/gdbus/connection/cancel/.dirs/runtime 638s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 638s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 638s ok 9 /gdbus/connection/cancel 638s # End of connection tests 638s # End of gdbus tests 638s ok - glib/gdbus-connection.test 638s # Running test: glib/resources.test 638s TAP version 13 638s # random seed: R02S2ed4ea5bfe2860296bfd427d06ad8e53 638s 1..17 638s # Start of resource tests 638s ok 1 /resource/file 638s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 638s ok 2 /resource/file-path 638s ok 3 /resource/data 638s ok 4 /resource/data_unaligned 638s ok 5 /resource/data-corrupt 638s ok 6 /resource/data-empty 638s ok 7 /resource/registered 638s ok 8 /resource/manual 638s ok 9 /resource/manual2 638s ok 10 /resource/automatic 638s ok 11 /resource/module 638s ok 12 /resource/binary-linked 638s ok 13 /resource/64k 638s GLib-GIO-Message: 15:41:53.489: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 638s ok 14 /resource/overlay 638s ok 15 /resource/digits 638s # Start of uri tests 638s ok 16 /resource/uri/query-info 638s ok 17 /resource/uri/file 638s # End of uri tests 638s # End of resource tests 638s ok - glib/resources.test 638s # Running test: glib/gdbus-non-socket.test 638s TAP version 13 638s # random seed: R02Sdcf0b6dbf434ed920cbf72e1ad9c6adc 638s 1..1 638s # Start of gdbus tests 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_4TNVK2/gdbus/non-socket/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_4TNVK2/gdbus/non-socket/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_4TNVK2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_4TNVK2/gdbus/non-socket/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_4TNVK2/gdbus/non-socket/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_4TNVK2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_4TNVK2/gdbus/non-socket/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_4TNVK2/gdbus/non-socket/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_4TNVK2/gdbus/non-socket/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_4TNVK2/gdbus/non-socket/.dirs/runtime 638s ok 1 /gdbus/non-socket 638s # End of gdbus tests 638s ok - glib/gdbus-non-socket.test 638s # Running test: glib/hmac.test 638s TAP version 13 638s # random seed: R02Sb40096aaff5d8e0eafa7959420a49bd4 638s 1..37 638s # Start of hmac tests 638s ok 1 /hmac/sha1-1 638s ok 2 /hmac/sha1-2 638s ok 3 /hmac/sha1-3 638s ok 4 /hmac/sha1-4 638s ok 5 /hmac/sha1-5 638s ok 6 /hmac/sha1-6 638s ok 7 /hmac/sha1-7 638s ok 8 /hmac/sha256-1 638s ok 9 /hmac/sha256-2 638s ok 10 /hmac/sha256-3 638s ok 11 /hmac/sha256-4 638s ok 12 /hmac/sha256-5 638s ok 13 /hmac/sha256-6 638s ok 14 /hmac/sha384-1 638s ok 15 /hmac/sha384-2 638s ok 16 /hmac/sha384-3 638s ok 17 /hmac/sha384-4 638s ok 18 /hmac/sha384-5 638s ok 19 /hmac/sha384-6 638s ok 20 /hmac/sha512-1 638s ok 21 /hmac/sha512-2 638s ok 22 /hmac/sha512-3 638s ok 23 /hmac/sha512-4 638s ok 24 /hmac/sha512-5 638s ok 25 /hmac/sha512-6 638s ok 26 /hmac/md5-1 638s ok 27 /hmac/md5-2 638s ok 28 /hmac/md5-3 638s ok 29 /hmac/md5-4 638s ok 30 /hmac/md5-5 638s ok 31 /hmac/md5-6 638s ok 32 /hmac/md5-7 638s ok 33 /hmac/ref-unref 638s ok 34 /hmac/copy 638s ok 35 /hmac/for-data 638s ok 36 /hmac/for-string 638s ok 37 /hmac/for-bytes 638s # End of hmac tests 638s ok - glib/hmac.test 638s # Running test: glib/singleton.test 638s TAP version 13 638s # random seed: R02Seeda004ada771509f9a9a35b40c0a7dd 638s 1..2 638s # Start of gobject tests 638s # Start of singleton tests 638s ok 1 /gobject/singleton/construction 638s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 638s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 638s ok 2 /gobject/singleton/construct-property 638s # End of singleton tests 638s # End of gobject tests 638s ok - glib/singleton.test 638s # Running test: glib/strvbuilder.test 638s TAP version 13 638s # random seed: R02Sb395c8c066fe287341a2b3ca9b33d6e3 638s 1..6 638s # Start of strvbuilder tests 638s ok 1 /strvbuilder/empty 638s ok 2 /strvbuilder/add 638s ok 3 /strvbuilder/addv 638s ok 4 /strvbuilder/add_many 638s ok 5 /strvbuilder/take 638s ok 6 /strvbuilder/ref 638s # End of strvbuilder tests 638s ok - glib/strvbuilder.test 638s # Running test: glib/power-profile-monitor-portal.test 638s # Executing: glib/power-profile-monitor-portal.test 639s TAP version 13 639s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 639s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 639s 1..2 639s ok - glib/power-profile-monitor-portal.test 639s # Running test: glib/basic-signals.test 639s TAP version 13 639s # random seed: R02S6bd15a7b22aeaa6485d91b528f2ece2a 639s 1..1 639s # Start of gobject tests 639s ok 1 /gobject/basic-signals 639s # End of gobject tests 639s ok - glib/basic-signals.test 639s # Running test: glib/data-input-stream.test 639s TAP version 13 639s # random seed: R02Scdc16e7e920d730252d6fcf25a235fa0 639s 1..10 639s # Start of data-input-stream tests 639s ok 1 /data-input-stream/basic 639s ok 2 /data-input-stream/read-lines-LF 639s ok 3 /data-input-stream/read-lines-LF-valid-utf8 639s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 639s ok 5 /data-input-stream/read-lines-CR 639s ok 6 /data-input-stream/read-lines-CR-LF 639s ok 7 /data-input-stream/read-lines-any 639s ok 8 /data-input-stream/read-until 639s ok 9 /data-input-stream/read-upto 639s ok 10 /data-input-stream/read-int 639s # End of data-input-stream tests 639s ok - glib/data-input-stream.test 639s # Running test: glib/threadtests.test 639s TAP version 13 639s # random seed: R02S0e08fa0b4a016003d3f3fdf41fe89934 639s 1..5 639s # Start of GObject tests 639s ok 1 /GObject/threaded-object-init 640s ok 2 /GObject/threaded-weak-ref 641s # slow test /GObject/threaded-weak-ref executed in 1.17 secs 641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 641s # /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 642s ok 3 /GObject/threaded-toggle-notify 642s # slow test /GObject/threaded-toggle-notify executed in 1.57 secs 642s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 642s # Start of threaded-weak-ref tests 642s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 642s # /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. 642s ok 5 /GObject/threaded-weak-ref/on-finalization 642s # End of threaded-weak-ref tests 642s # End of GObject tests 642s ok - glib/threadtests.test 642s # Running test: glib/properties-refcount3.test 642s TAP version 13 642s # random seed: R02S2e976d31f0dae54740f36647b856da52 642s 1..1 642s # Start of gobject tests 642s # Start of refcount tests 643s # Executing: glib/properties-refcount3.test 648s # Executing: glib/properties-refcount3.test 653s # Executing: glib/properties-refcount3.test 658s # Executing: glib/properties-refcount3.test 663s # Executing: glib/properties-refcount3.test 668s # Executing: glib/properties-refcount3.test 672s # 672s # stopping 672s # 672s # stopped 672s # 672s # 36597456 9631937 672s # 672s ok 1 /gobject/refcount/properties-3 672s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 672s # End of refcount tests 672s # End of gobject tests 672s ok - glib/properties-refcount3.test 672s # Running test: glib/gdbus-sasl.test 672s TAP version 13 672s # random seed: R02S89c656135a06cf7a04ed017e547fd211 672s 1..1 672s # Start of gdbus tests 672s # Start of sasl tests 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_A2IRK2/gdbus/sasl/server/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_A2IRK2/gdbus/sasl/server/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_A2IRK2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_A2IRK2/gdbus/sasl/server/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_A2IRK2/gdbus/sasl/server/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_A2IRK2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_A2IRK2/gdbus/sasl/server/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_A2IRK2/gdbus/sasl/server/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_A2IRK2/gdbus/sasl/server/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_A2IRK2/gdbus/sasl/server/.dirs/runtime 672s # New handshake: EXTERNAL with incorrect initial response 672s # C:“AUTH EXTERNAL 30” 672s # Expect: /^REJECTED.*$/ 672s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 672s # New handshake: EXTERNAL without initial response, failing to authenticate 672s # C:“AUTH EXTERNAL” 672s # Expect: /^DATA$/ 672s # S:“DATA” 672s # C:“DATA 30” 672s # Expect: /^REJECTED.*$/ 672s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 672s # New handshake: EXTERNAL with initial response 672s # C:“AUTH EXTERNAL 31303030” 672s # Expect: /^OK [0-9a-f]+$/ 672s # S:“OK 5628dd2600e1ad3cd41dd15665fef863” 672s # New handshake: EXTERNAL without initial response 672s # C:“AUTH EXTERNAL” 672s # Expect: /^DATA$/ 672s # S:“DATA” 672s # C:“DATA 31303030” 672s # Expect: /^OK [0-9a-f]+$/ 672s # S:“OK 5628dd2600e1ad3cd41dd15665fef863” 672s # New handshake: EXTERNAL with empty authorization identity 672s # C:“AUTH EXTERNAL” 672s # Expect: /^DATA$/ 672s # S:“DATA” 672s # C:“DATA” 672s # Expect: /^OK [0-9a-f]+$/ 672s # S:“OK 5628dd2600e1ad3cd41dd15665fef863” 672s # New handshake: EXTERNAL with empty authorization identity and whitespace 672s # C:“AUTH EXTERNAL” 672s # Expect: /^DATA$/ 672s # S:“DATA” 672s # C:“DATA ” 672s # Expect: /^OK [0-9a-f]+$/ 672s # S:“OK 5628dd2600e1ad3cd41dd15665fef863” 672s ok 1 /gdbus/sasl/server 672s # End of sasl tests 672s # End of gdbus tests 672s ok - glib/gdbus-sasl.test 672s # Running test: glib/utils-isolated.test 672s TAP version 13 672s # random seed: R02Se1f5ec0b4800eaa725ccf27535c3078c 672s 1..9 672s # Start of utils-isolated tests 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/tmp-dir/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/tmp-dir/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CGFRK2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_CGFRK2/utils-isolated/tmp-dir/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/tmp-dir/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CGFRK2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_CGFRK2/utils-isolated/tmp-dir/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/tmp-dir/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/tmp-dir/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CGFRK2/utils-isolated/tmp-dir/.dirs/runtime 672s ok 1 /utils-isolated/tmp-dir 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/home-dir/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/home-dir/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CGFRK2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_CGFRK2/utils-isolated/home-dir/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/home-dir/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CGFRK2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_CGFRK2/utils-isolated/home-dir/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/home-dir/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/home-dir/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CGFRK2/utils-isolated/home-dir/.dirs/runtime 672s ok 2 /utils-isolated/home-dir 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-cache-dir/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-cache-dir/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_CGFRK2/utils-isolated/user-cache-dir/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-cache-dir/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_CGFRK2/utils-isolated/user-cache-dir/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-cache-dir/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-cache-dir/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-cache-dir/.dirs/runtime 672s ok 3 /utils-isolated/user-cache-dir 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/system-config-dirs/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/system-config-dirs/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CGFRK2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_CGFRK2/utils-isolated/system-config-dirs/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/system-config-dirs/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CGFRK2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_CGFRK2/utils-isolated/system-config-dirs/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/system-config-dirs/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/system-config-dirs/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CGFRK2/utils-isolated/system-config-dirs/.dirs/runtime 672s ok 4 /utils-isolated/system-config-dirs 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-config-dir/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-config-dir/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_CGFRK2/utils-isolated/user-config-dir/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-config-dir/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_CGFRK2/utils-isolated/user-config-dir/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-config-dir/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-config-dir/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-config-dir/.dirs/runtime 672s ok 5 /utils-isolated/user-config-dir 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/system-data-dirs/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/system-data-dirs/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CGFRK2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_CGFRK2/utils-isolated/system-data-dirs/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/system-data-dirs/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CGFRK2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_CGFRK2/utils-isolated/system-data-dirs/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/system-data-dirs/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/system-data-dirs/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CGFRK2/utils-isolated/system-data-dirs/.dirs/runtime 672s ok 6 /utils-isolated/system-data-dirs 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-data-dir/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-data-dir/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_CGFRK2/utils-isolated/user-data-dir/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-data-dir/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_CGFRK2/utils-isolated/user-data-dir/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-data-dir/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-data-dir/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-data-dir/.dirs/runtime 672s ok 7 /utils-isolated/user-data-dir 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-state-dir/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-state-dir/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_CGFRK2/utils-isolated/user-state-dir/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-state-dir/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_CGFRK2/utils-isolated/user-state-dir/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-state-dir/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-state-dir/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-state-dir/.dirs/runtime 672s ok 8 /utils-isolated/user-state-dir 672s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-runtime-dir/.dirs/home 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-runtime-dir/.dirs/cache 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_CGFRK2/utils-isolated/user-runtime-dir/.dirs/system-config2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-runtime-dir/.dirs/config 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_CGFRK2/utils-isolated/user-runtime-dir/.dirs/system-data2 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-runtime-dir/.dirs/data 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-runtime-dir/.dirs/state 672s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_CGFRK2/utils-isolated/user-runtime-dir/.dirs/runtime 672s ok 9 /utils-isolated/user-runtime-dir 672s # End of utils-isolated tests 672s ok - glib/utils-isolated.test 672s # Running test: glib/performance-threaded.test 672s Running test "liststore-is-a" 673s # Executing: glib/performance-threaded.test 673s 6603 runs, min/avg/max = 0.106/0.151/4.280 ms 673s Running test "liststore-interface-peek" 674s 12822 runs, min/avg/max = 0.050/0.078/5.028 ms 674s Running test "liststore-interface-peek-same" 675s 10962 runs, min/avg/max = 0.049/0.091/3.281 ms 675s ok - glib/performance-threaded.test 675s # Running test: glib/macros-c-90.test 675s TAP version 13 675s # random seed: R02S612a5e27a16ad81a570c0ce3e440c5f9 675s 1..4 675s # Start of C tests 675s ok 1 /C/standard-90 675s # End of C tests 675s # Start of alignof tests 675s ok 2 /alignof/fallback 675s # End of alignof tests 675s # Start of assert tests 675s ok 3 /assert/static 675s # End of assert tests 675s # Start of struct tests 675s ok 4 /struct/sizeof_member 675s # End of struct tests 675s ok - glib/macros-c-90.test 675s # Running test: glib/array-test.test 675s TAP version 13 675s # random seed: R02S6b7864791e71bd0dbae32e05de300fe4 675s 1..113 675s # Start of array tests 675s ok 1 /array/ref-count 675s ok 2 /array/steal 675s ok 3 /array/clear-func 675s ok 4 /array/binary-search 675s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 675s ok 5 /array/copy-sized 675s ok 6 /array/overflow-append-vals 675s ok 7 /array/overflow-set-size 675s # Start of new tests 675s ok 8 /array/new/zero-terminated 675s ok 9 /array/new/take 675s ok 10 /array/new/take-zero-terminated 675s # Start of take tests 675s ok 11 /array/new/take/empty 675s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 675s # End of take tests 675s # End of new tests 675s # Start of set-size tests 675s ok 13 /array/set-size/non-zero-terminated-no-clear 675s ok 14 /array/set-size/non-zero-terminated-clear 675s ok 15 /array/set-size/zero-terminated-no-clear 675s ok 16 /array/set-size/zero-terminated-clear 675s # Start of sized tests 675s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 675s ok 18 /array/set-size/sized/non-zero-terminated-clear 675s ok 19 /array/set-size/sized/zero-terminated-no-clear 675s ok 20 /array/set-size/sized/zero-terminated-clear 675s # End of sized tests 675s # End of set-size tests 675s # Start of append-val tests 675s ok 21 /array/append-val/non-zero-terminated-no-clear 675s ok 22 /array/append-val/non-zero-terminated-clear 675s ok 23 /array/append-val/zero-terminated-no-clear 675s ok 24 /array/append-val/zero-terminated-clear 675s # End of append-val tests 675s # Start of prepend-val tests 675s ok 25 /array/prepend-val/non-zero-terminated-no-clear 675s ok 26 /array/prepend-val/non-zero-terminated-clear 675s ok 27 /array/prepend-val/zero-terminated-no-clear 675s ok 28 /array/prepend-val/zero-terminated-clear 675s # End of prepend-val tests 675s # Start of prepend-vals tests 675s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 675s ok 30 /array/prepend-vals/non-zero-terminated-clear 675s ok 31 /array/prepend-vals/zero-terminated-no-clear 675s ok 32 /array/prepend-vals/zero-terminated-clear 675s # End of prepend-vals tests 675s # Start of insert-vals tests 675s ok 33 /array/insert-vals/non-zero-terminated-no-clear 675s ok 34 /array/insert-vals/non-zero-terminated-clear 675s ok 35 /array/insert-vals/zero-terminated-no-clear 675s ok 36 /array/insert-vals/zero-terminated-clear 675s # End of insert-vals tests 675s # Start of remove-index tests 675s ok 37 /array/remove-index/non-zero-terminated-no-clear 675s ok 38 /array/remove-index/non-zero-terminated-clear 675s ok 39 /array/remove-index/zero-terminated-no-clear 675s ok 40 /array/remove-index/zero-terminated-clear 675s # End of remove-index tests 675s # Start of remove-index-fast tests 675s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 675s ok 42 /array/remove-index-fast/non-zero-terminated-clear 675s ok 43 /array/remove-index-fast/zero-terminated-no-clear 675s ok 44 /array/remove-index-fast/zero-terminated-clear 675s # End of remove-index-fast tests 675s # Start of remove-range tests 675s ok 45 /array/remove-range/non-zero-terminated-no-clear 675s ok 46 /array/remove-range/non-zero-terminated-clear 675s ok 47 /array/remove-range/zero-terminated-no-clear 675s ok 48 /array/remove-range/zero-terminated-clear 675s # End of remove-range tests 675s # Start of copy tests 675s ok 49 /array/copy/non-zero-terminated-no-clear 675s ok 50 /array/copy/non-zero-terminated-clear 675s ok 51 /array/copy/zero-terminated-no-clear 675s ok 52 /array/copy/zero-terminated-clear 675s # End of copy tests 675s # Start of sort tests 675s ok 53 /array/sort/non-zero-terminated-no-clear 675s ok 54 /array/sort/non-zero-terminated-clear 675s ok 55 /array/sort/zero-terminated-no-clear 675s ok 56 /array/sort/zero-terminated-clear 675s # End of sort tests 675s # Start of sort-with-data tests 675s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 675s ok 58 /array/sort-with-data/non-zero-terminated-clear 675s ok 59 /array/sort-with-data/zero-terminated-no-clear 675s ok 60 /array/sort-with-data/zero-terminated-clear 675s # End of sort-with-data tests 675s # End of array tests 675s # Start of pointerarray tests 675s ok 61 /pointerarray/add 675s ok 62 /pointerarray/insert 675s ok 63 /pointerarray/new-take 675s ok 64 /pointerarray/new-take-null-terminated 675s ok 65 /pointerarray/new-from-array 675s ok 66 /pointerarray/new-from-null-terminated-array 675s ok 67 /pointerarray/free-func 675s ok 68 /pointerarray/array_extend_and_steal 675s ok 69 /pointerarray/sort 675s ok 70 /pointerarray/sort-with-data 675s ok 71 /pointerarray/sort-values 675s ok 72 /pointerarray/sort-values-with-data 675s ok 73 /pointerarray/remove-range 675s ok 74 /pointerarray/steal 675s # Start of free tests 675s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 675s ok 75 /pointerarray/free/null-terminated 675s # End of free tests 675s # Start of new-take tests 675s ok 76 /pointerarray/new-take/empty 675s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 675s ok 78 /pointerarray/new-take/with-free-func 675s # End of new-take tests 675s # Start of new-take-null-terminated tests 675s ok 79 /pointerarray/new-take-null-terminated/empty 675s ok 80 /pointerarray/new-take-null-terminated/with-free-func 675s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 675s # End of new-take-null-terminated tests 675s # Start of new-from-array tests 675s ok 82 /pointerarray/new-from-array/empty 675s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 675s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 675s # End of new-from-array tests 675s # Start of new-from-null-terminated-array tests 675s ok 85 /pointerarray/new-from-null-terminated-array/empty 675s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 675s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 675s # End of new-from-null-terminated-array tests 675s # Start of ref-count tests 675s ok 88 /pointerarray/ref-count/not-null-terminated 675s ok 89 /pointerarray/ref-count/null-terminated 675s # End of ref-count tests 675s # Start of array_copy tests 675s # /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 675s ok 90 /pointerarray/array_copy/not-null-terminated 675s # /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 675s ok 91 /pointerarray/array_copy/null-terminated 675s # End of array_copy tests 675s # Start of array_extend tests 675s ok 92 /pointerarray/array_extend/not-null-terminated 675s ok 93 /pointerarray/array_extend/null-terminated 675s # End of array_extend tests 675s # Start of sort tests 675s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 675s ok 94 /pointerarray/sort/example 675s # End of sort tests 675s # Start of sort-with-data tests 675s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 675s ok 95 /pointerarray/sort-with-data/example 675s # End of sort-with-data tests 675s # Start of sort-values tests 675s ok 96 /pointerarray/sort-values/example 675s # End of sort-values tests 675s # Start of sort-values-with-data tests 675s ok 97 /pointerarray/sort-values-with-data/example 675s # End of sort-values-with-data tests 675s # Start of find tests 675s ok 98 /pointerarray/find/empty 675s ok 99 /pointerarray/find/non-empty 675s # End of find tests 675s # Start of steal_index tests 675s ok 100 /pointerarray/steal_index/not-null-terminated 675s ok 101 /pointerarray/steal_index/null-terminated 675s # End of steal_index tests 675s # End of pointerarray tests 675s # Start of bytearray tests 675s ok 102 /bytearray/steal 675s ok 103 /bytearray/append 675s ok 104 /bytearray/prepend 675s ok 105 /bytearray/remove 675s ok 106 /bytearray/remove-fast 675s ok 107 /bytearray/remove-range 675s ok 108 /bytearray/ref-count 675s ok 109 /bytearray/sort 675s ok 110 /bytearray/sort-with-data 675s ok 111 /bytearray/new-take 675s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 675s ok 113 /bytearray/free-to-bytes 675s # End of bytearray tests 675s ok - glib/array-test.test 675s # Running test: glib/gdbus-introspection.test 675s TAP version 13 675s # random seed: R02Sfe97d6349bbac2856b234fb9372377ad 675s 1..4 675s # Start of gdbus tests 675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-parser/.dirs/home 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-parser/.dirs/cache 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-parser/.dirs/system-config2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-parser/.dirs/config 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-parser/.dirs/system-data2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-parser/.dirs/data 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-parser/.dirs/state 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-parser/.dirs/runtime 675s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 675s ok 1 /gdbus/introspection-parser 675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-generate/.dirs/home 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-generate/.dirs/cache 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-generate/.dirs/system-config2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-generate/.dirs/config 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-generate/.dirs/system-data2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-generate/.dirs/data 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-generate/.dirs/state 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-generate/.dirs/runtime 675s ok 2 /gdbus/introspection-generate 675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-default-direction/.dirs/home 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-default-direction/.dirs/cache 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-default-direction/.dirs/system-config2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-default-direction/.dirs/config 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-default-direction/.dirs/system-data2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-default-direction/.dirs/data 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-default-direction/.dirs/state 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-default-direction/.dirs/runtime 675s ok 3 /gdbus/introspection-default-direction 675s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-extra-data/.dirs/home 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-extra-data/.dirs/cache 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-extra-data/.dirs/system-config2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-extra-data/.dirs/config 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-extra-data/.dirs/system-data2 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-extra-data/.dirs/data 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-extra-data/.dirs/state 675s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_VT5NK2/gdbus/introspection-extra-data/.dirs/runtime 675s ok 4 /gdbus/introspection-extra-data 675s # End of gdbus tests 675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 675s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 675s ok - glib/gdbus-introspection.test 675s # Running test: glib/io-channel-basic.test 675s TAP version 13 675s # random seed: R02S570e2d0b6ac5791dd1aabed110514d00 675s 1..1 675s # Start of gio tests 675s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 675s # # random seed: R02S31086bcc73bb2681b44606d55b453d13 676s # # GLib-DEBUG: io-channel-basic: child writing 8+4077 bytes to 6 676s # GLib-DEBUG: io-channel-basic: ...from 5: IN 676s # GLib-DEBUG: io-channel-basic: ...from 5: 4077 bytes 676s # GLib-DEBUG: io-channel-basic: ...from 5: OK 676s # # GLib-DEBUG: io-channel-basic: child writing 8+3529 bytes to 6 676s # GLib-DEBUG: io-channel-basic: ...from 5: IN 676s # GLib-DEBUG: io-channel-basic: ...from 5: 3529 bytes 676s # GLib-DEBUG: io-channel-basic: ...from 5: OK 676s # # GLib-DEBUG: io-channel-basic: child writing 8+785 bytes to 6 676s # GLib-DEBUG: io-channel-basic: ...from 5: IN 676s # GLib-DEBUG: io-channel-basic: ...from 5: 785 bytes 676s # GLib-DEBUG: io-channel-basic: ...from 5: OK 676s # # GLib-DEBUG: io-channel-basic: child writing 8+1402 bytes to 6 676s # GLib-DEBUG: io-channel-basic: ...from 5: IN 676s # GLib-DEBUG: io-channel-basic: ...from 5: 1402 bytes 676s # GLib-DEBUG: io-channel-basic: ...from 5: OK 677s # # GLib-DEBUG: io-channel-basic: child writing 8+1925 bytes to 6 677s # GLib-DEBUG: io-channel-basic: ...from 5: IN 677s # GLib-DEBUG: io-channel-basic: ...from 5: 1925 bytes 677s # GLib-DEBUG: io-channel-basic: ...from 5: OK 677s # # GLib-DEBUG: io-channel-basic: child writing 8+414 bytes to 6 677s # GLib-DEBUG: io-channel-basic: ...from 5: IN 677s # GLib-DEBUG: io-channel-basic: ...from 5: 414 bytes 677s # GLib-DEBUG: io-channel-basic: ...from 5: OK 677s # # GLib-DEBUG: io-channel-basic: child writing 8+1693 bytes to 6 677s # GLib-DEBUG: io-channel-basic: ...from 5: IN 677s # GLib-DEBUG: io-channel-basic: ...from 5: 1693 bytes 677s # GLib-DEBUG: io-channel-basic: ...from 5: OK 677s # # GLib-DEBUG: io-channel-basic: child writing 8+1142 bytes to 6 677s # GLib-DEBUG: io-channel-basic: ...from 5: IN 677s # GLib-DEBUG: io-channel-basic: ...from 5: 1142 bytes 677s # GLib-DEBUG: io-channel-basic: ...from 5: OK 678s # # GLib-DEBUG: io-channel-basic: child writing 8+2393 bytes to 6 678s # GLib-DEBUG: io-channel-basic: ...from 5: IN 678s # GLib-DEBUG: io-channel-basic: ...from 5: 2393 bytes 678s # GLib-DEBUG: io-channel-basic: ...from 5: OK 678s # # GLib-DEBUG: io-channel-basic: child writing 8+4907 bytes to 6 678s # GLib-DEBUG: io-channel-basic: ...from 5: IN 678s # GLib-DEBUG: io-channel-basic: ...from 5: 4907 bytes 678s # GLib-DEBUG: io-channel-basic: ...from 5: OK 678s # Executing: glib/io-channel-basic.test 678s # # GLib-DEBUG: io-channel-basic: child writing 8+1023 bytes to 6 678s # GLib-DEBUG: io-channel-basic: ...from 5: IN 678s # GLib-DEBUG: io-channel-basic: ...from 5: 1023 bytes 678s # GLib-DEBUG: io-channel-basic: ...from 5: OK 678s # # GLib-DEBUG: io-channel-basic: child writing 8+1296 bytes to 6 678s # GLib-DEBUG: io-channel-basic: ...from 5: IN 678s # GLib-DEBUG: io-channel-basic: ...from 5: 1296 bytes 678s # GLib-DEBUG: io-channel-basic: ...from 5: OK 679s # # GLib-DEBUG: io-channel-basic: child writing 8+586 bytes to 6 679s # GLib-DEBUG: io-channel-basic: ...from 5: IN 679s # GLib-DEBUG: io-channel-basic: ...from 5: 586 bytes 679s # GLib-DEBUG: io-channel-basic: ...from 5: OK 679s # # GLib-DEBUG: io-channel-basic: child writing 8+3331 bytes to 6 679s # GLib-DEBUG: io-channel-basic: ...from 5: IN 679s # GLib-DEBUG: io-channel-basic: ...from 5: 3331 bytes 679s # GLib-DEBUG: io-channel-basic: ...from 5: OK 679s # # GLib-DEBUG: io-channel-basic: child writing 8+2683 bytes to 6 679s # GLib-DEBUG: io-channel-basic: ...from 5: IN 679s # GLib-DEBUG: io-channel-basic: ...from 5: 2683 bytes 679s # GLib-DEBUG: io-channel-basic: ...from 5: OK 679s # # GLib-DEBUG: io-channel-basic: child writing 8+3776 bytes to 6 679s # GLib-DEBUG: io-channel-basic: ...from 5: IN 679s # GLib-DEBUG: io-channel-basic: ...from 5: 3776 bytes 679s # GLib-DEBUG: io-channel-basic: ...from 5: OK 680s # # GLib-DEBUG: io-channel-basic: child writing 8+3497 bytes to 6 680s # GLib-DEBUG: io-channel-basic: ...from 5: IN 680s # GLib-DEBUG: io-channel-basic: ...from 5: 3497 bytes 680s # GLib-DEBUG: io-channel-basic: ...from 5: OK 680s # # GLib-DEBUG: io-channel-basic: child writing 8+1453 bytes to 6 680s # GLib-DEBUG: io-channel-basic: ...from 5: IN 680s # GLib-DEBUG: io-channel-basic: ...from 5: 1453 bytes 680s # GLib-DEBUG: io-channel-basic: ...from 5: OK 680s # # GLib-DEBUG: io-channel-basic: child writing 8+1919 bytes to 6 680s # GLib-DEBUG: io-channel-basic: ...from 5: IN 680s # GLib-DEBUG: io-channel-basic: ...from 5: 1919 bytes 680s # GLib-DEBUG: io-channel-basic: ...from 5: OK 681s # # GLib-DEBUG: io-channel-basic: child writing 8+943 bytes to 6 681s # GLib-DEBUG: io-channel-basic: ...from 5: IN 681s # GLib-DEBUG: io-channel-basic: ...from 5: 943 bytes 681s # GLib-DEBUG: io-channel-basic: ...from 5: OK 681s # # GLib-DEBUG: io-channel-basic: child writing 8+1206 bytes to 6 681s # GLib-DEBUG: io-channel-basic: ...from 5: IN 681s # GLib-DEBUG: io-channel-basic: ...from 5: 1206 bytes 681s # GLib-DEBUG: io-channel-basic: ...from 5: OK 681s # # GLib-DEBUG: io-channel-basic: child writing 8+3242 bytes to 6 681s # GLib-DEBUG: io-channel-basic: ...from 5: IN 681s # # GLib-DEBUG: io-channel-basic: child exiting, closing 6 681s # GLib-DEBUG: io-channel-basic: ...from 5: 3242 bytes 681s # GLib-DEBUG: io-channel-basic: ...from 5: OK 681s # GLib-DEBUG: io-channel-basic: ...from 5: HUP 681s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 681s # # random seed: R02S1980fe73cff870f2a553f52650c3c3d2 681s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 681s # # random seed: R02S0ae16be3af124d0758e383db047635d9 681s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 681s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 681s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 681s # # random seed: R02S79ac9267211838265c1a0cf843130b9a 681s # # random seed: R02Se821a56836a27f97007de32b54373b55 681s # # random seed: R02S4d6b8f60b45b984e2d240a80b4ed0ed1 681s # # GLib-DEBUG: io-channel-basic: child writing 8+2895 bytes to 11 681s # GLib-DEBUG: io-channel-basic: ...from 10: IN 681s # GLib-DEBUG: io-channel-basic: ...from 10: 2895 bytes 681s # GLib-DEBUG: io-channel-basic: ...from 10: OK 681s # # GLib-DEBUG: io-channel-basic: child writing 8+1985 bytes to 17 681s # GLib-DEBUG: io-channel-basic: ...from 16: IN 681s # GLib-DEBUG: io-channel-basic: ...from 16: 1985 bytes 681s # GLib-DEBUG: io-channel-basic: ...from 16: OK 681s # # GLib-DEBUG: io-channel-basic: child writing 8+1880 bytes to 9 681s # GLib-DEBUG: io-channel-basic: ...from 8: IN 681s # GLib-DEBUG: io-channel-basic: ...from 8: 1880 bytes 681s # GLib-DEBUG: io-channel-basic: ...from 8: OK 681s # # GLib-DEBUG: io-channel-basic: child writing 8+2799 bytes to 15 681s # GLib-DEBUG: io-channel-basic: ...from 14: IN 681s # GLib-DEBUG: io-channel-basic: ...from 14: 2799 bytes 681s # GLib-DEBUG: io-channel-basic: ...from 14: OK 681s # # GLib-DEBUG: io-channel-basic: child writing 8+749 bytes to 13 681s # GLib-DEBUG: io-channel-basic: ...from 12: IN 681s # GLib-DEBUG: io-channel-basic: ...from 12: 749 bytes 681s # GLib-DEBUG: io-channel-basic: ...from 12: OK 682s # # GLib-DEBUG: io-channel-basic: child writing 8+2547 bytes to 17 682s # GLib-DEBUG: io-channel-basic: ...from 16: IN 682s # GLib-DEBUG: io-channel-basic: ...from 16: 2547 bytes 682s # GLib-DEBUG: io-channel-basic: ...from 16: OK 682s # # GLib-DEBUG: io-channel-basic: child writing 8+2524 bytes to 9 682s # GLib-DEBUG: io-channel-basic: ...from 8: IN 682s # GLib-DEBUG: io-channel-basic: ...from 8: 2524 bytes 682s # GLib-DEBUG: io-channel-basic: ...from 8: OK 682s # # GLib-DEBUG: io-channel-basic: child writing 8+3573 bytes to 11 682s # GLib-DEBUG: io-channel-basic: ...from 10: IN 682s # GLib-DEBUG: io-channel-basic: ...from 10: 3573 bytes 682s # GLib-DEBUG: io-channel-basic: ...from 10: OK 682s # # GLib-DEBUG: io-channel-basic: child writing 8+2046 bytes to 15 682s # GLib-DEBUG: io-channel-basic: ...from 14: IN 682s # GLib-DEBUG: io-channel-basic: ...from 14: 2046 bytes 682s # GLib-DEBUG: io-channel-basic: ...from 14: OK 682s # # GLib-DEBUG: io-channel-basic: child writing 8+4529 bytes to 13 682s # GLib-DEBUG: io-channel-basic: ...from 12: IN 682s # GLib-DEBUG: io-channel-basic: ...from 12: 4529 bytes 682s # GLib-DEBUG: io-channel-basic: ...from 12: OK 682s # # GLib-DEBUG: io-channel-basic: child writing 8+4235 bytes to 9 682s # GLib-DEBUG: io-channel-basic: ...from 8: IN 682s # GLib-DEBUG: io-channel-basic: ...from 8: 4235 bytes 682s # GLib-DEBUG: io-channel-basic: ...from 8: OK 682s # # GLib-DEBUG: io-channel-basic: child writing 8+2019 bytes to 15 682s # GLib-DEBUG: io-channel-basic: ...from 14: IN 682s # GLib-DEBUG: io-channel-basic: ...from 14: 2019 bytes 682s # GLib-DEBUG: io-channel-basic: ...from 14: OK 682s # # GLib-DEBUG: io-channel-basic: child writing 8+2227 bytes to 17 682s # GLib-DEBUG: io-channel-basic: ...from 16: IN 682s # GLib-DEBUG: io-channel-basic: ...from 16: 2227 bytes 682s # GLib-DEBUG: io-channel-basic: ...from 16: OK 682s # # GLib-DEBUG: io-channel-basic: child writing 8+1870 bytes to 11 682s # GLib-DEBUG: io-channel-basic: ...from 10: IN 682s # GLib-DEBUG: io-channel-basic: ...from 10: 1870 bytes 682s # GLib-DEBUG: io-channel-basic: ...from 10: OK 682s # # GLib-DEBUG: io-channel-basic: child writing 8+402 bytes to 13 682s # GLib-DEBUG: io-channel-basic: ...from 12: IN 682s # GLib-DEBUG: io-channel-basic: ...from 12: 402 bytes 682s # GLib-DEBUG: io-channel-basic: ...from 12: OK 682s # # GLib-DEBUG: io-channel-basic: child writing 8+2285 bytes to 9 682s # GLib-DEBUG: io-channel-basic: ...from 8: IN 682s # GLib-DEBUG: io-channel-basic: ...from 8: 2285 bytes 682s # GLib-DEBUG: io-channel-basic: ...from 8: OK 682s # # GLib-DEBUG: io-channel-basic: child writing 8+3166 bytes to 15 682s # GLib-DEBUG: io-channel-basic: ...from 14: IN 682s # GLib-DEBUG: io-channel-basic: ...from 14: 3166 bytes 682s # # GLib-DEBUG: io-channel-basic: child writing 8+1148 bytes to 11 682s # GLib-DEBUG: io-channel-basic: ...from 14: OK 682s # GLib-DEBUG: io-channel-basic: ...from 10: IN 682s # GLib-DEBUG: io-channel-basic: ...from 10: 1148 bytes 682s # GLib-DEBUG: io-channel-basic: ...from 10: OK 682s # # GLib-DEBUG: io-channel-basic: child writing 8+1461 bytes to 17 682s # GLib-DEBUG: io-channel-basic: ...from 16: IN 682s # GLib-DEBUG: io-channel-basic: ...from 16: 1461 bytes 682s # GLib-DEBUG: io-channel-basic: ...from 16: OK 682s # # GLib-DEBUG: io-channel-basic: child writing 8+1795 bytes to 13 682s # GLib-DEBUG: io-channel-basic: ...from 12: IN 682s # GLib-DEBUG: io-channel-basic: ...from 12: 1795 bytes 682s # GLib-DEBUG: io-channel-basic: ...from 12: OK 682s # # GLib-DEBUG: io-channel-basic: child writing 8+743 bytes to 9 682s # GLib-DEBUG: io-channel-basic: ...from 8: IN 682s # GLib-DEBUG: io-channel-basic: ...from 8: 743 bytes 682s # GLib-DEBUG: io-channel-basic: ...from 8: OK 682s # # GLib-DEBUG: io-channel-basic: child writing 8+3072 bytes to 15 682s # GLib-DEBUG: io-channel-basic: ...from 14: IN 682s # GLib-DEBUG: io-channel-basic: ...from 14: 3072 bytes 682s # GLib-DEBUG: io-channel-basic: ...from 14: OK 682s # # GLib-DEBUG: io-channel-basic: child writing 8+4941 bytes to 11 682s # GLib-DEBUG: io-channel-basic: ...from 10: IN 682s # GLib-DEBUG: io-channel-basic: ...from 10: 4941 bytes 682s # GLib-DEBUG: io-channel-basic: ...from 10: OK 682s # # GLib-DEBUG: io-channel-basic: child writing 8+3116 bytes to 17 682s # GLib-DEBUG: io-channel-basic: ...from 16: IN 682s # GLib-DEBUG: io-channel-basic: ...from 16: 3116 bytes 682s # GLib-DEBUG: io-channel-basic: ...from 16: OK 682s # # GLib-DEBUG: io-channel-basic: child writing 8+3792 bytes to 13 682s # GLib-DEBUG: io-channel-basic: ...from 12: IN 682s # GLib-DEBUG: io-channel-basic: ...from 12: 3792 bytes 682s # GLib-DEBUG: io-channel-basic: ...from 12: OK 683s # # GLib-DEBUG: io-channel-basic: child writing 8+2158 bytes to 9 683s # GLib-DEBUG: io-channel-basic: ...from 8: IN 683s # GLib-DEBUG: io-channel-basic: ...from 8: 2158 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 8: OK 683s # # GLib-DEBUG: io-channel-basic: child writing 8+380 bytes to 15 683s # GLib-DEBUG: io-channel-basic: ...from 14: IN 683s # GLib-DEBUG: io-channel-basic: ...from 14: 380 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 14: OK 683s # # GLib-DEBUG: io-channel-basic: child writing 8+3863 bytes to 11 683s # GLib-DEBUG: io-channel-basic: ...from 10: IN 683s # GLib-DEBUG: io-channel-basic: ...from 10: 3863 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 10: OK 683s # # GLib-DEBUG: io-channel-basic: child writing 8+1208 bytes to 13 683s # GLib-DEBUG: io-channel-basic: ...from 12: IN 683s # GLib-DEBUG: io-channel-basic: ...from 12: 1208 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 12: OK 683s # # GLib-DEBUG: io-channel-basic: child writing 8+2761 bytes to 17 683s # GLib-DEBUG: io-channel-basic: ...from 16: IN 683s # GLib-DEBUG: io-channel-basic: ...from 16: 2761 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 16: OK 683s # # GLib-DEBUG: io-channel-basic: child writing 8+281 bytes to 9 683s # GLib-DEBUG: io-channel-basic: ...from 8: IN 683s # GLib-DEBUG: io-channel-basic: ...from 8: 281 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 8: OK 683s # # GLib-DEBUG: io-channel-basic: child writing 8+2476 bytes to 15 683s # GLib-DEBUG: io-channel-basic: ...from 14: IN 683s # GLib-DEBUG: io-channel-basic: ...from 14: 2476 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 14: OK 683s # # GLib-DEBUG: io-channel-basic: child writing 8+4101 bytes to 11 683s # # GLib-DEBUG: io-channel-basic: child writing 8+2492 bytes to 13 683s # GLib-DEBUG: io-channel-basic: ...from 12: IN 683s # GLib-DEBUG: io-channel-basic: ...from 12: 2492 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 12: OK 683s # GLib-DEBUG: io-channel-basic: ...from 10: IN 683s # GLib-DEBUG: io-channel-basic: ...from 10: 4101 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 10: OK 683s # # GLib-DEBUG: io-channel-basic: child writing 8+3037 bytes to 17 683s # GLib-DEBUG: io-channel-basic: ...from 16: IN 683s # GLib-DEBUG: io-channel-basic: ...from 16: 3037 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 16: OK 683s # Executing: glib/io-channel-basic.test 683s # # GLib-DEBUG: io-channel-basic: child writing 8+430 bytes to 9 683s # GLib-DEBUG: io-channel-basic: ...from 8: IN 683s # GLib-DEBUG: io-channel-basic: ...from 8: 430 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 8: OK 683s # # GLib-DEBUG: io-channel-basic: child writing 8+3499 bytes to 15 683s # GLib-DEBUG: io-channel-basic: ...from 14: IN 683s # GLib-DEBUG: io-channel-basic: ...from 14: 3499 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 14: OK 683s # # GLib-DEBUG: io-channel-basic: child writing 8+3685 bytes to 17 683s # GLib-DEBUG: io-channel-basic: ...from 16: IN 683s # GLib-DEBUG: io-channel-basic: ...from 16: 3685 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 16: OK 683s # # GLib-DEBUG: io-channel-basic: child writing 8+2170 bytes to 13 683s # GLib-DEBUG: io-channel-basic: ...from 12: IN 683s # GLib-DEBUG: io-channel-basic: ...from 12: 2170 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 12: OK 683s # # GLib-DEBUG: io-channel-basic: child writing 8+3247 bytes to 11 683s # GLib-DEBUG: io-channel-basic: ...from 10: IN 683s # GLib-DEBUG: io-channel-basic: ...from 10: 3247 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 10: OK 683s # # GLib-DEBUG: io-channel-basic: child writing 8+3018 bytes to 9 683s # GLib-DEBUG: io-channel-basic: ...from 8: IN 683s # GLib-DEBUG: io-channel-basic: ...from 8: 3018 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 8: OK 683s # # GLib-DEBUG: io-channel-basic: child writing 8+3094 bytes to 15 683s # GLib-DEBUG: io-channel-basic: ...from 14: IN 683s # GLib-DEBUG: io-channel-basic: ...from 14: 3094 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 14: OK 683s # # GLib-DEBUG: io-channel-basic: child writing 8+3884 bytes to 17 683s # GLib-DEBUG: io-channel-basic: ...from 16: IN 683s # GLib-DEBUG: io-channel-basic: ...from 16: 3884 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 16: OK 683s # # GLib-DEBUG: io-channel-basic: child writing 8+2356 bytes to 13 683s # GLib-DEBUG: io-channel-basic: ...from 12: IN 683s # GLib-DEBUG: io-channel-basic: ...from 12: 2356 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 12: OK 683s # # GLib-DEBUG: io-channel-basic: child writing 8+2704 bytes to 11 683s # GLib-DEBUG: io-channel-basic: ...from 10: IN 683s # GLib-DEBUG: io-channel-basic: ...from 10: 2704 bytes 683s # GLib-DEBUG: io-channel-basic: ...from 10: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+4679 bytes to 9 684s # GLib-DEBUG: io-channel-basic: ...from 8: IN 684s # GLib-DEBUG: io-channel-basic: ...from 8: 4679 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 8: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+1376 bytes to 15 684s # GLib-DEBUG: io-channel-basic: ...from 14: IN 684s # GLib-DEBUG: io-channel-basic: ...from 14: 1376 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 14: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+1843 bytes to 17 684s # GLib-DEBUG: io-channel-basic: ...from 16: IN 684s # GLib-DEBUG: io-channel-basic: ...from 16: 1843 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 16: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+3530 bytes to 13 684s # GLib-DEBUG: io-channel-basic: ...from 12: IN 684s # GLib-DEBUG: io-channel-basic: ...from 12: 3530 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 12: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+3690 bytes to 11 684s # GLib-DEBUG: io-channel-basic: ...from 10: IN 684s # GLib-DEBUG: io-channel-basic: ...from 10: 3690 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 10: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+3708 bytes to 9 684s # GLib-DEBUG: io-channel-basic: ...from 8: IN 684s # GLib-DEBUG: io-channel-basic: ...from 8: 3708 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 8: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+263 bytes to 15 684s # GLib-DEBUG: io-channel-basic: ...from 14: IN 684s # GLib-DEBUG: io-channel-basic: ...from 14: 263 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 14: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+3240 bytes to 17 684s # GLib-DEBUG: io-channel-basic: ...from 16: IN 684s # GLib-DEBUG: io-channel-basic: ...from 16: 3240 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 16: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+3490 bytes to 13 684s # GLib-DEBUG: io-channel-basic: ...from 12: IN 684s # GLib-DEBUG: io-channel-basic: ...from 12: 3490 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 12: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+4773 bytes to 11 684s # GLib-DEBUG: io-channel-basic: ...from 10: IN 684s # GLib-DEBUG: io-channel-basic: ...from 10: 4773 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 10: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+2121 bytes to 9 684s # GLib-DEBUG: io-channel-basic: ...from 8: IN 684s # GLib-DEBUG: io-channel-basic: ...from 8: 2121 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 8: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+1330 bytes to 17 684s # GLib-DEBUG: io-channel-basic: ...from 16: IN 684s # GLib-DEBUG: io-channel-basic: ...from 16: 1330 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 16: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+1236 bytes to 15 684s # GLib-DEBUG: io-channel-basic: ...from 14: IN 684s # GLib-DEBUG: io-channel-basic: ...from 14: 1236 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 14: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+912 bytes to 11 684s # GLib-DEBUG: io-channel-basic: ...from 10: IN 684s # GLib-DEBUG: io-channel-basic: ...from 10: 912 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 10: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+426 bytes to 13 684s # GLib-DEBUG: io-channel-basic: ...from 12: IN 684s # GLib-DEBUG: io-channel-basic: ...from 12: 426 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 12: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+2163 bytes to 9 684s # GLib-DEBUG: io-channel-basic: ...from 8: IN 684s # GLib-DEBUG: io-channel-basic: ...from 8: 2163 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 8: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+1810 bytes to 17 684s # GLib-DEBUG: io-channel-basic: ...from 16: IN 684s # GLib-DEBUG: io-channel-basic: ...from 16: 1810 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 16: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+1990 bytes to 11 684s # GLib-DEBUG: io-channel-basic: ...from 10: IN 684s # GLib-DEBUG: io-channel-basic: ...from 10: 1990 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 10: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+3255 bytes to 13 684s # GLib-DEBUG: io-channel-basic: ...from 12: IN 684s # GLib-DEBUG: io-channel-basic: ...from 12: 3255 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 12: OK 684s # # GLib-DEBUG: io-channel-basic: child writing 8+4738 bytes to 15 684s # GLib-DEBUG: io-channel-basic: ...from 14: IN 684s # GLib-DEBUG: io-channel-basic: ...from 14: 4738 bytes 684s # GLib-DEBUG: io-channel-basic: ...from 14: OK 685s # # GLib-DEBUG: io-channel-basic: child writing 8+1791 bytes to 9 685s # GLib-DEBUG: io-channel-basic: ...from 8: IN 685s # GLib-DEBUG: io-channel-basic: ...from 8: 1791 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 8: OK 685s # # GLib-DEBUG: io-channel-basic: child writing 8+2911 bytes to 17 685s # GLib-DEBUG: io-channel-basic: ...from 16: IN 685s # GLib-DEBUG: io-channel-basic: ...from 16: 2911 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 16: OK 685s # # GLib-DEBUG: io-channel-basic: child writing 8+1341 bytes to 11 685s # GLib-DEBUG: io-channel-basic: ...from 10: IN 685s # GLib-DEBUG: io-channel-basic: ...from 10: 1341 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 10: OK 685s # # GLib-DEBUG: io-channel-basic: child writing 8+2846 bytes to 13 685s # GLib-DEBUG: io-channel-basic: ...from 12: IN 685s # GLib-DEBUG: io-channel-basic: ...from 12: 2846 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 12: OK 685s # # GLib-DEBUG: io-channel-basic: child writing 8+1534 bytes to 15 685s # GLib-DEBUG: io-channel-basic: ...from 14: IN 685s # GLib-DEBUG: io-channel-basic: ...from 14: 1534 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 14: OK 685s # # GLib-DEBUG: io-channel-basic: child writing 8+401 bytes to 9 685s # GLib-DEBUG: io-channel-basic: ...from 8: IN 685s # GLib-DEBUG: io-channel-basic: ...from 8: 401 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 8: OK 685s # # GLib-DEBUG: io-channel-basic: child writing 8+768 bytes to 17 685s # GLib-DEBUG: io-channel-basic: ...from 16: IN 685s # GLib-DEBUG: io-channel-basic: ...from 16: 768 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 16: OK 685s # # GLib-DEBUG: io-channel-basic: child writing 8+300 bytes to 11 685s # GLib-DEBUG: io-channel-basic: ...from 10: IN 685s # GLib-DEBUG: io-channel-basic: ...from 10: 300 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 10: OK 685s # # GLib-DEBUG: io-channel-basic: child writing 8+3192 bytes to 15 685s # GLib-DEBUG: io-channel-basic: ...from 14: IN 685s # GLib-DEBUG: io-channel-basic: ...from 14: 3192 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 14: OK 685s # # GLib-DEBUG: io-channel-basic: child writing 8+4708 bytes to 13 685s # GLib-DEBUG: io-channel-basic: ...from 12: IN 685s # GLib-DEBUG: io-channel-basic: ...from 12: 4708 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 12: OK 685s # # GLib-DEBUG: io-channel-basic: child writing 8+904 bytes to 9 685s # GLib-DEBUG: io-channel-basic: ...from 8: IN 685s # GLib-DEBUG: io-channel-basic: ...from 8: 904 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 8: OK 685s # # GLib-DEBUG: io-channel-basic: child writing 8+1828 bytes to 11 685s # GLib-DEBUG: io-channel-basic: ...from 10: IN 685s # GLib-DEBUG: io-channel-basic: ...from 10: 1828 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 10: OK 685s # # GLib-DEBUG: io-channel-basic: child writing 8+4456 bytes to 17 685s # GLib-DEBUG: io-channel-basic: ...from 16: IN 685s # GLib-DEBUG: io-channel-basic: ...from 16: 4456 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 16: OK 685s # # GLib-DEBUG: io-channel-basic: child writing 8+4727 bytes to 15 685s # GLib-DEBUG: io-channel-basic: ...from 14: IN 685s # GLib-DEBUG: io-channel-basic: ...from 14: 4727 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 14: OK 685s # # GLib-DEBUG: io-channel-basic: child writing 8+3940 bytes to 13 685s # GLib-DEBUG: io-channel-basic: ...from 12: IN 685s # GLib-DEBUG: io-channel-basic: ...from 12: 3940 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 12: OK 685s # # GLib-DEBUG: io-channel-basic: child writing 8+2766 bytes to 9 685s # GLib-DEBUG: io-channel-basic: ...from 8: IN 685s # GLib-DEBUG: io-channel-basic: ...from 8: 2766 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 8: OK 685s # # GLib-DEBUG: io-channel-basic: child writing 8+3034 bytes to 11 685s # GLib-DEBUG: io-channel-basic: ...from 10: IN 685s # GLib-DEBUG: io-channel-basic: ...from 10: 3034 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 10: OK 685s # # GLib-DEBUG: io-channel-basic: child writing 8+321 bytes to 17 685s # GLib-DEBUG: io-channel-basic: ...from 16: IN 685s # GLib-DEBUG: io-channel-basic: ...from 16: 321 bytes 685s # GLib-DEBUG: io-channel-basic: ...from 16: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+4051 bytes to 15 686s # GLib-DEBUG: io-channel-basic: ...from 14: IN 686s # GLib-DEBUG: io-channel-basic: ...from 14: 4051 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 14: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+304 bytes to 13 686s # GLib-DEBUG: io-channel-basic: ...from 12: IN 686s # GLib-DEBUG: io-channel-basic: ...from 12: 304 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 12: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+1098 bytes to 9 686s # GLib-DEBUG: io-channel-basic: ...from 8: IN 686s # GLib-DEBUG: io-channel-basic: ...from 8: 1098 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 8: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+1373 bytes to 11 686s # GLib-DEBUG: io-channel-basic: ...from 10: IN 686s # GLib-DEBUG: io-channel-basic: ...from 10: 1373 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 10: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+3096 bytes to 17 686s # GLib-DEBUG: io-channel-basic: ...from 16: IN 686s # GLib-DEBUG: io-channel-basic: ...from 16: 3096 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 16: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+4133 bytes to 15 686s # GLib-DEBUG: io-channel-basic: ...from 14: IN 686s # GLib-DEBUG: io-channel-basic: ...from 14: 4133 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 14: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+2272 bytes to 13 686s # GLib-DEBUG: io-channel-basic: ...from 12: IN 686s # GLib-DEBUG: io-channel-basic: ...from 12: 2272 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 12: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+3610 bytes to 9 686s # GLib-DEBUG: io-channel-basic: ...from 8: IN 686s # GLib-DEBUG: io-channel-basic: ...from 8: 3610 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 8: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+3596 bytes to 11 686s # GLib-DEBUG: io-channel-basic: ...from 10: IN 686s # GLib-DEBUG: io-channel-basic: ...from 10: 3596 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 10: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+1860 bytes to 17 686s # GLib-DEBUG: io-channel-basic: ...from 16: IN 686s # GLib-DEBUG: io-channel-basic: ...from 16: 1860 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 16: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+2372 bytes to 15 686s # GLib-DEBUG: io-channel-basic: ...from 14: IN 686s # GLib-DEBUG: io-channel-basic: ...from 14: 2372 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 14: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+3995 bytes to 13 686s # GLib-DEBUG: io-channel-basic: ...from 12: IN 686s # GLib-DEBUG: io-channel-basic: ...from 12: 3995 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 12: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+1846 bytes to 9 686s # # GLib-DEBUG: io-channel-basic: child exiting, closing 9 686s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 686s # GLib-DEBUG: io-channel-basic: ...from 8: 1846 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 8: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+984 bytes to 11 686s # GLib-DEBUG: io-channel-basic: ...from 10: IN 686s # GLib-DEBUG: io-channel-basic: ...from 10: 984 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 10: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+3172 bytes to 17 686s # GLib-DEBUG: io-channel-basic: ...from 16: IN 686s # GLib-DEBUG: io-channel-basic: ...from 16: 3172 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 16: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+398 bytes to 15 686s # GLib-DEBUG: io-channel-basic: ...from 14: IN 686s # GLib-DEBUG: io-channel-basic: ...from 14: 398 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 14: OK 686s # # GLib-DEBUG: io-channel-basic: child writing 8+2288 bytes to 13 686s # GLib-DEBUG: io-channel-basic: ...from 12: IN 686s # GLib-DEBUG: io-channel-basic: ...from 12: 2288 bytes 686s # GLib-DEBUG: io-channel-basic: ...from 12: OK 687s # # GLib-DEBUG: io-channel-basic: child writing 8+2727 bytes to 11 687s # GLib-DEBUG: io-channel-basic: ...from 10: IN 687s # GLib-DEBUG: io-channel-basic: ...from 10: 2727 bytes 687s # GLib-DEBUG: io-channel-basic: ...from 10: OK 687s # # GLib-DEBUG: io-channel-basic: child writing 8+995 bytes to 17 687s # GLib-DEBUG: io-channel-basic: ...from 16: IN 687s # GLib-DEBUG: io-channel-basic: ...from 16: 995 bytes 687s # GLib-DEBUG: io-channel-basic: ...from 16: OK 687s # # GLib-DEBUG: io-channel-basic: child exiting, closing 17 687s # GLib-DEBUG: io-channel-basic: ...from 16: HUP 687s # # GLib-DEBUG: io-channel-basic: child writing 8+9 bytes to 15 687s # GLib-DEBUG: io-channel-basic: ...from 14: IN 687s # GLib-DEBUG: io-channel-basic: ...from 14: 9 bytes 687s # GLib-DEBUG: io-channel-basic: ...from 14: OK 687s # # GLib-DEBUG: io-channel-basic: child writing 8+3734 bytes to 13 687s # GLib-DEBUG: io-channel-basic: ...from 12: IN 687s # GLib-DEBUG: io-channel-basic: ...from 12: 3734 bytes 687s # GLib-DEBUG: io-channel-basic: ...from 12: OK 687s # # GLib-DEBUG: io-channel-basic: child writing 8+3890 bytes to 11 687s # GLib-DEBUG: io-channel-basic: ...from 10: IN 687s # GLib-DEBUG: io-channel-basic: ...from 10: 3890 bytes 687s # GLib-DEBUG: io-channel-basic: ...from 10: OK 687s # # GLib-DEBUG: io-channel-basic: child writing 8+3320 bytes to 15 687s # GLib-DEBUG: io-channel-basic: ...from 14: IN 687s # GLib-DEBUG: io-channel-basic: ...from 14: 3320 bytes 687s # GLib-DEBUG: io-channel-basic: ...from 14: OK 687s # # GLib-DEBUG: io-channel-basic: child writing 8+4563 bytes to 13 687s # GLib-DEBUG: io-channel-basic: ...from 12: IN 687s # GLib-DEBUG: io-channel-basic: ...from 12: 4563 bytes 687s # GLib-DEBUG: io-channel-basic: ...from 12: OK 687s # # GLib-DEBUG: io-channel-basic: child writing 8+2754 bytes to 11 687s # GLib-DEBUG: io-channel-basic: ...from 10: IN 687s # GLib-DEBUG: io-channel-basic: ...from 10: 2754 bytes 687s # GLib-DEBUG: io-channel-basic: ...from 10: OK 687s # # GLib-DEBUG: io-channel-basic: child writing 8+2759 bytes to 15 687s # GLib-DEBUG: io-channel-basic: ...from 14: IN 687s # GLib-DEBUG: io-channel-basic: ...from 14: 2759 bytes 687s # GLib-DEBUG: io-channel-basic: ...from 14: OK 687s # # GLib-DEBUG: io-channel-basic: child writing 8+3808 bytes to 13 687s # GLib-DEBUG: io-channel-basic: ...from 12: IN 687s # GLib-DEBUG: io-channel-basic: ...from 12: 3808 bytes 687s # GLib-DEBUG: io-channel-basic: ...from 12: OK 687s # # GLib-DEBUG: io-channel-basic: child writing 8+1654 bytes to 11 687s # GLib-DEBUG: io-channel-basic: ...from 10: IN 687s # GLib-DEBUG: io-channel-basic: ...from 10: 1654 bytes 687s # GLib-DEBUG: io-channel-basic: ...from 10: OK 687s # # GLib-DEBUG: io-channel-basic: child writing 8+3425 bytes to 13 687s # GLib-DEBUG: io-channel-basic: ...from 12: IN 687s # # GLib-DEBUG: io-channel-basic: child exiting, closing 13 687s # GLib-DEBUG: io-channel-basic: ...from 12: 3425 bytes 687s # GLib-DEBUG: io-channel-basic: ...from 12: OK 687s # GLib-DEBUG: io-channel-basic: ...from 12: HUP 687s # # GLib-DEBUG: io-channel-basic: child writing 8+4560 bytes to 15 687s # GLib-DEBUG: io-channel-basic: ...from 14: IN 687s # GLib-DEBUG: io-channel-basic: ...from 14: 4560 bytes 687s # GLib-DEBUG: io-channel-basic: ...from 14: OK 688s # # GLib-DEBUG: io-channel-basic: child writing 8+3758 bytes to 11 688s # # GLib-DEBUG: io-channel-basic: child exiting, closing 11 688s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 688s # GLib-DEBUG: io-channel-basic: ...from 10: 3758 bytes 688s # GLib-DEBUG: io-channel-basic: ...from 10: OK 688s # # GLib-DEBUG: io-channel-basic: child writing 8+1612 bytes to 15 688s # # GLib-DEBUG: io-channel-basic: child exiting, closing 15 688s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 688s # GLib-DEBUG: io-channel-basic: ...from 14: 1612 bytes 688s # GLib-DEBUG: io-channel-basic: ...from 14: OK 688s ok 1 /gio/io-basics 688s # slow test /gio/io-basics executed in 12.26 secs 688s # End of gio tests 688s ok - glib/io-channel-basic.test 688s # Running test: glib/gdbus-peer-object-manager.test 688s TAP version 13 688s # random seed: R02Sb76ef7f7439bd73df112a845ecf130a4 688s 1..2 688s # Start of gdbus tests 688s # Start of peer-object-manager tests 688s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/normal/.dirs/home 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/normal/.dirs/cache 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/normal/.dirs/system-config2 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/normal/.dirs/config 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/normal/.dirs/system-data2 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/normal/.dirs/data 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/normal/.dirs/state 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/normal/.dirs/runtime 688s ok 1 /gdbus/peer-object-manager/normal 688s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/root/.dirs/home 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/root/.dirs/cache 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/root/.dirs/system-config2 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/root/.dirs/config 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/root/.dirs/system-data2 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/root/.dirs/data 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/root/.dirs/state 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_OGT4K2/gdbus/peer-object-manager/root/.dirs/runtime 688s ok 2 /gdbus/peer-object-manager/root 688s # End of peer-object-manager tests 688s # End of gdbus tests 688s ok - glib/gdbus-peer-object-manager.test 688s # Running test: glib/testing.test 688s TAP version 13 688s # random seed: R02S49963c8d408c8ab72ceb0a88ce267db4 688s 1..1 688s # Start of assert tests 688s ok 1 /assert/finalize_object 688s # Start of finalize_object tests 688s # Start of subprocess tests 688s # End of subprocess tests 688s # End of finalize_object tests 688s # End of assert tests 688s ok - glib/testing.test 688s # Running test: glib/gdbus-connection-slow.test 688s TAP version 13 688s # random seed: R02S7d19e0b132c13b488bc73f9b96a2c930 688s 1..2 688s # Start of gdbus tests 688s # Start of connection tests 688s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/flush/.dirs/home 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/flush/.dirs/cache 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/flush/.dirs/system-config2 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/flush/.dirs/config 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/flush/.dirs/system-data2 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/flush/.dirs/data 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/flush/.dirs/state 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/flush/.dirs/runtime 688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 688s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 688s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 688s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 688s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 688s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 688s ok 1 /gdbus/connection/flush 688s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/large_message/.dirs/home 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/large_message/.dirs/cache 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/large_message/.dirs/system-config2 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/large_message/.dirs/config 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/large_message/.dirs/system-data2 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/large_message/.dirs/data 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/large_message/.dirs/state 688s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_S653K2/gdbus/connection/large_message/.dirs/runtime 688s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 688s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 688s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 688s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 688s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 688s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 688s # Executing: glib/gdbus-connection-slow.test 689s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 689s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 689s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 689s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 689s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 689s ok 2 /gdbus/connection/large_message 689s # slow test /gdbus/connection/large_message executed in 0.84 secs 689s # End of connection tests 689s # End of gdbus tests 689s ok - glib/gdbus-connection-slow.test 689s # Running test: glib/hash.test 689s TAP version 13 689s # random seed: R02Sbf8a5eeb2016b62819219336225b9cb3 689s 1..34 689s # Start of hash tests 689s ok 1 /hash/misc 689s ok 2 /hash/one 689s ok 3 /hash/honeyman 689s ok 4 /hash/direct 689s ok 5 /hash/direct2 689s ok 6 /hash/int 689s ok 7 /hash/int64 689s ok 8 /hash/double 689s ok 9 /hash/string 689s ok 10 /hash/set 689s ok 11 /hash/set-ref 689s ok 12 /hash/ref 689s ok 13 /hash/remove-all 689s ok 14 /hash/recursive-remove-all 689s ok 15 /hash/find 689s ok 16 /hash/foreach 689s ok 17 /hash/foreach-steal 689s ok 18 /hash/steal-extended 689s ok 19 /hash/steal-all-keys 689s ok 20 /hash/steal-all-values 689s ok 21 /hash/lookup-extended 689s ok 22 /hash/new-similar 689s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 689s ok 23 /hash/lookup-null-key 689s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 689s ok 24 /hash/destroy-modify 689s ok 25 /hash/consistency 689s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 689s ok 26 /hash/iter-replace 689s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 689s ok 27 /hash/set-insert-corruption 689s ok 28 /hash/set-to-strv 689s ok 29 /hash/get-keys-as-ptr-array 689s ok 30 /hash/get-values-as-ptr-array 689s ok 31 /hash/primes 689s # Start of int64 tests 689s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 689s ok 32 /hash/int64/collisions 689s # End of int64 tests 689s # Start of double tests 689s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 689s ok 33 /hash/double/collisions 689s # End of double tests 689s # Start of recursive-remove-all tests 689s # End of recursive-remove-all tests 689s # Start of steal-extended tests 689s ok 34 /hash/steal-extended/optional 689s # End of steal-extended tests 689s # End of hash tests 689s ok - glib/hash.test 689s # Running test: glib/unix.test 689s TAP version 13 689s # random seed: R02S3be82a97705feee0bfb623f3fd5d9fe4 689s 1..17 689s # Start of glib-unix tests 689s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 689s ok 1 /glib-unix/closefrom 689s ok 2 /glib-unix/pipe 689s # /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 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 689s ok 3 /glib-unix/pipe-stdio-overwrite 689s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 689s ok 4 /glib-unix/pipe-struct 689s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 689s ok 5 /glib-unix/pipe-struct-auto 689s ok 6 /glib-unix/error 689s ok 7 /glib-unix/nonblocking 689s ok 8 /glib-unix/sighup 689s # slow test /glib-unix/sighup executed in 0.50 secs 690s ok 9 /glib-unix/sigterm 690s # slow test /glib-unix/sigterm executed in 0.50 secs 690s ok 10 /glib-unix/sighup_again 690s # slow test /glib-unix/sighup_again executed in 0.50 secs 690s ok 11 /glib-unix/sighup_add_remove 690s ok 12 /glib-unix/sighup_nested 692s ok 13 /glib-unix/callback_after_signal 692s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 692s ok 14 /glib-unix/child-wait 692s # Start of closefrom tests 692s # Start of subprocess tests 692s # End of subprocess tests 692s # End of closefrom tests 692s # Start of pipe tests 692s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 692s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 692s ok 15 /glib-unix/pipe/fd-cloexec 692s # End of pipe tests 692s # Start of get-passwd-entry tests 692s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 692s ok 16 /glib-unix/get-passwd-entry/root 692s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 692s ok 17 /glib-unix/get-passwd-entry/nonexistent 692s # End of get-passwd-entry tests 692s # End of glib-unix tests 692s ok - glib/unix.test 692s # Running test: glib/file.test 692s TAP version 13 692s # random seed: R02Sa7aafa6e09de194db342ceefef50535a 692s 1..50 692s # Start of file tests 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/basic/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/basic/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/basic/.dirs/system-config1:/tmp/test_file_JDAOK2/file/basic/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/basic/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/basic/.dirs/system-data1:/tmp/test_file_JDAOK2/file/basic/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/basic/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/basic/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/basic/.dirs/runtime 692s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 692s ok 1 /file/basic 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/build-filename/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/build-filename/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/build-filename/.dirs/system-config1:/tmp/test_file_JDAOK2/file/build-filename/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/build-filename/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/build-filename/.dirs/system-data1:/tmp/test_file_JDAOK2/file/build-filename/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/build-filename/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/build-filename/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/build-filename/.dirs/runtime 692s ok 2 /file/build-filename 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/build-filenamev/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/build-filenamev/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_JDAOK2/file/build-filenamev/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/build-filenamev/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_JDAOK2/file/build-filenamev/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/build-filenamev/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/build-filenamev/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/build-filenamev/.dirs/runtime 692s ok 3 /file/build-filenamev 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/parent/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/parent/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/parent/.dirs/system-config1:/tmp/test_file_JDAOK2/file/parent/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/parent/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/parent/.dirs/system-data1:/tmp/test_file_JDAOK2/file/parent/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/parent/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/parent/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/parent/.dirs/runtime 692s ok 4 /file/parent 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/child/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/child/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/child/.dirs/system-config1:/tmp/test_file_JDAOK2/file/child/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/child/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/child/.dirs/system-data1:/tmp/test_file_JDAOK2/file/child/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/child/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/child/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/child/.dirs/runtime 692s ok 5 /file/child 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/empty-path/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/empty-path/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/empty-path/.dirs/system-config1:/tmp/test_file_JDAOK2/file/empty-path/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/empty-path/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/empty-path/.dirs/system-data1:/tmp/test_file_JDAOK2/file/empty-path/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/empty-path/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/empty-path/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/empty-path/.dirs/runtime 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 692s # /file/empty-path summary: Check that creating a file with an empty path results in errors 692s ok 6 /file/empty-path 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/type/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/type/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/type/.dirs/system-config1:/tmp/test_file_JDAOK2/file/type/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/type/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/type/.dirs/system-data1:/tmp/test_file_JDAOK2/file/type/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/type/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/type/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/type/.dirs/runtime 692s ok 7 /file/type 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/parse-name/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/parse-name/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/parse-name/.dirs/system-config1:/tmp/test_file_JDAOK2/file/parse-name/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/parse-name/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/parse-name/.dirs/system-data1:/tmp/test_file_JDAOK2/file/parse-name/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/parse-name/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/parse-name/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/parse-name/.dirs/runtime 692s ok 8 /file/parse-name 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/replace-load/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/replace-load/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/replace-load/.dirs/system-config1:/tmp/test_file_JDAOK2/file/replace-load/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/replace-load/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/replace-load/.dirs/system-data1:/tmp/test_file_JDAOK2/file/replace-load/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/replace-load/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/replace-load/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/replace-load/.dirs/runtime 692s ok 9 /file/replace-load 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/replace-cancel/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/replace-cancel/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_JDAOK2/file/replace-cancel/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/replace-cancel/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_JDAOK2/file/replace-cancel/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/replace-cancel/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/replace-cancel/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/replace-cancel/.dirs/runtime 692s # Bug Reference: https://bugzilla.gnome.org/629301 692s ok 10 /file/replace-cancel 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/replace-symlink/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/replace-symlink/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_JDAOK2/file/replace-symlink/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/replace-symlink/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_JDAOK2/file/replace-symlink/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/replace-symlink/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/replace-symlink/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/replace-symlink/.dirs/runtime 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 692s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 692s # Using temporary directory /tmp/test_file_JDAOK2/g_file_replace_symlink_6N4NK2 692s ok 11 /file/replace-symlink 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/async-new-tmp/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/async-new-tmp/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_JDAOK2/file/async-new-tmp/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/async-new-tmp/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_JDAOK2/file/async-new-tmp/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/async-new-tmp/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/async-new-tmp/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/async-new-tmp/.dirs/runtime 692s ok 12 /file/async-new-tmp 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/async-new-tmp-dir/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/async-new-tmp-dir/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_JDAOK2/file/async-new-tmp-dir/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/async-new-tmp-dir/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_JDAOK2/file/async-new-tmp-dir/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/async-new-tmp-dir/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/async-new-tmp-dir/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/async-new-tmp-dir/.dirs/runtime 692s ok 13 /file/async-new-tmp-dir 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/async-delete/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/async-delete/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/async-delete/.dirs/system-config1:/tmp/test_file_JDAOK2/file/async-delete/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/async-delete/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/async-delete/.dirs/system-data1:/tmp/test_file_JDAOK2/file/async-delete/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/async-delete/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/async-delete/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/async-delete/.dirs/runtime 692s ok 14 /file/async-delete 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/async-make-symlink/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/async-make-symlink/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_JDAOK2/file/async-make-symlink/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/async-make-symlink/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_JDAOK2/file/async-make-symlink/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/async-make-symlink/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/async-make-symlink/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/async-make-symlink/.dirs/runtime 692s ok 15 /file/async-make-symlink 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/copy-preserve-mode/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/copy-preserve-mode/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_JDAOK2/file/copy-preserve-mode/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/copy-preserve-mode/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_JDAOK2/file/copy-preserve-mode/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/copy-preserve-mode/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/copy-preserve-mode/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/copy-preserve-mode/.dirs/runtime 692s # Current umask: 2 692s # Vector 0 692s # Vector 1 692s # Vector 2 692s # Vector 3 692s # Vector 4 692s # Vector 5 692s # Vector 6 692s # Vector 7 692s # Vector 8 692s # Vector 9 692s # Vector 10 692s ok 16 /file/copy-preserve-mode 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/measure/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/measure/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/measure/.dirs/system-config1:/tmp/test_file_JDAOK2/file/measure/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/measure/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/measure/.dirs/system-data1:/tmp/test_file_JDAOK2/file/measure/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/measure/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/measure/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/measure/.dirs/runtime 692s ok 17 /file/measure 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/measure-async/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/measure-async/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/measure-async/.dirs/system-config1:/tmp/test_file_JDAOK2/file/measure-async/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/measure-async/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/measure-async/.dirs/system-data1:/tmp/test_file_JDAOK2/file/measure-async/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/measure-async/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/measure-async/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/measure-async/.dirs/runtime 692s ok 18 /file/measure-async 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/load-bytes/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/load-bytes/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/load-bytes/.dirs/system-config1:/tmp/test_file_JDAOK2/file/load-bytes/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/load-bytes/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/load-bytes/.dirs/system-data1:/tmp/test_file_JDAOK2/file/load-bytes/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/load-bytes/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/load-bytes/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/load-bytes/.dirs/runtime 692s ok 19 /file/load-bytes 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/load-bytes-async/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/load-bytes-async/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_JDAOK2/file/load-bytes-async/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/load-bytes-async/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_JDAOK2/file/load-bytes-async/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/load-bytes-async/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/load-bytes-async/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/load-bytes-async/.dirs/runtime 692s ok 20 /file/load-bytes-async 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/writev/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/writev/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/writev/.dirs/system-config1:/tmp/test_file_JDAOK2/file/writev/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/writev/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/writev/.dirs/system-data1:/tmp/test_file_JDAOK2/file/writev/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/writev/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/writev/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/writev/.dirs/runtime 692s ok 21 /file/writev 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/build-attribute-list-for-copy/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/build-attribute-list-for-copy/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_JDAOK2/file/build-attribute-list-for-copy/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/build-attribute-list-for-copy/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_JDAOK2/file/build-attribute-list-for-copy/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/build-attribute-list-for-copy/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/build-attribute-list-for-copy/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/build-attribute-list-for-copy/.dirs/runtime 692s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 692s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 692s # 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::* 692s # 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::* 692s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 692s # Attributes for copy: standard::size,xattr::* 692s # Attributes for copy: standard::size,unix::mode,xattr::* 692s ok 22 /file/build-attribute-list-for-copy 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/move_async/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/move_async/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/move_async/.dirs/system-config1:/tmp/test_file_JDAOK2/file/move_async/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/move_async/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/move_async/.dirs/system-data1:/tmp/test_file_JDAOK2/file/move_async/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/move_async/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/move_async/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/move_async/.dirs/runtime 692s ok 23 /file/move_async 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/query-zero-length-content-type/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/query-zero-length-content-type/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_JDAOK2/file/query-zero-length-content-type/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/query-zero-length-content-type/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_JDAOK2/file/query-zero-length-content-type/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/query-zero-length-content-type/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/query-zero-length-content-type/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/query-zero-length-content-type/.dirs/runtime 692s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 692s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 692s ok 24 /file/query-zero-length-content-type 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/query-default-handler-file/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/query-default-handler-file/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_JDAOK2/file/query-default-handler-file/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/query-default-handler-file/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_JDAOK2/file/query-default-handler-file/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/query-default-handler-file/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/query-default-handler-file/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/query-default-handler-file/.dirs/runtime 692s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_JDAOK2/file/query-default-handler-file/.dirs/data/applications 692s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_JDAOK2/file/query-default-handler-file/.dirs/config 692s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_JDAOK2/file/query-default-handler-file/.dirs/config 692s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_JDAOK2/file/query-default-handler-file/.dirs/config 692s ok 25 /file/query-default-handler-file 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/query-default-handler-file-async/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/query-default-handler-file-async/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_JDAOK2/file/query-default-handler-file-async/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/query-default-handler-file-async/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_JDAOK2/file/query-default-handler-file-async/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/query-default-handler-file-async/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/query-default-handler-file-async/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/query-default-handler-file-async/.dirs/runtime 692s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_JDAOK2/file/query-default-handler-file-async/.dirs/data/applications 692s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_JDAOK2/file/query-default-handler-file-async/.dirs/config 692s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_JDAOK2/file/query-default-handler-file/.dirs/config to /tmp/test_file_JDAOK2/file/query-default-handler-file-async/.dirs/config 692s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_JDAOK2/file/query-default-handler-file-async/.dirs/config 692s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_JDAOK2/file/query-default-handler-file-async/.dirs/config 692s ok 26 /file/query-default-handler-file-async 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/query-default-handler-uri/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/query-default-handler-uri/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_JDAOK2/file/query-default-handler-uri/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/query-default-handler-uri/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_JDAOK2/file/query-default-handler-uri/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/query-default-handler-uri/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/query-default-handler-uri/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/query-default-handler-uri/.dirs/runtime 692s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_JDAOK2/file/query-default-handler-uri/.dirs/data/applications 692s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_JDAOK2/file/query-default-handler-uri/.dirs/config 692s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_JDAOK2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_JDAOK2/file/query-default-handler-uri/.dirs/config 692s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_JDAOK2/file/query-default-handler-uri/.dirs/config 692s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_JDAOK2/file/query-default-handler-uri/.dirs/config 692s ok 27 /file/query-default-handler-uri 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/query-default-handler-uri-async/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/query-default-handler-uri-async/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_JDAOK2/file/query-default-handler-uri-async/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/query-default-handler-uri-async/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_JDAOK2/file/query-default-handler-uri-async/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/query-default-handler-uri-async/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/query-default-handler-uri-async/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/query-default-handler-uri-async/.dirs/runtime 692s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_JDAOK2/file/query-default-handler-uri-async/.dirs/data/applications 692s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_JDAOK2/file/query-default-handler-uri-async/.dirs/config 692s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_JDAOK2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_JDAOK2/file/query-default-handler-uri-async/.dirs/config 692s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_JDAOK2/file/query-default-handler-uri-async/.dirs/config 692s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_JDAOK2/file/query-default-handler-uri-async/.dirs/config 692s ok 28 /file/query-default-handler-uri-async 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/enumerator-cancellation/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/enumerator-cancellation/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_JDAOK2/file/enumerator-cancellation/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/enumerator-cancellation/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_JDAOK2/file/enumerator-cancellation/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/enumerator-cancellation/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/enumerator-cancellation/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/enumerator-cancellation/.dirs/runtime 692s ok 29 /file/enumerator-cancellation 692s # Start of async-create-delete tests 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/async-create-delete/0/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/0/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_JDAOK2/file/async-create-delete/0/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/0/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_JDAOK2/file/async-create-delete/0/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/0/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/0/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/async-create-delete/0/.dirs/runtime 692s ok 30 /file/async-create-delete/0 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/async-create-delete/1/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/1/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_JDAOK2/file/async-create-delete/1/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/1/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_JDAOK2/file/async-create-delete/1/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/1/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/1/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/async-create-delete/1/.dirs/runtime 692s ok 31 /file/async-create-delete/1 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/async-create-delete/10/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/10/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_JDAOK2/file/async-create-delete/10/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/10/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_JDAOK2/file/async-create-delete/10/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/10/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/10/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/async-create-delete/10/.dirs/runtime 692s ok 32 /file/async-create-delete/10 692s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/async-create-delete/25/.dirs/home 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/25/.dirs/cache 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_JDAOK2/file/async-create-delete/25/.dirs/system-config2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/25/.dirs/config 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_JDAOK2/file/async-create-delete/25/.dirs/system-data2 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/25/.dirs/data 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/25/.dirs/state 692s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/async-create-delete/25/.dirs/runtime 693s ok 33 /file/async-create-delete/25 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/async-create-delete/4096/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/4096/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_JDAOK2/file/async-create-delete/4096/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/4096/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_JDAOK2/file/async-create-delete/4096/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/4096/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/async-create-delete/4096/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/async-create-delete/4096/.dirs/runtime 693s ok 34 /file/async-create-delete/4096 693s # End of async-create-delete tests 693s # Start of replace-symlink tests 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/replace-symlink/using-etag/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/replace-symlink/using-etag/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_JDAOK2/file/replace-symlink/using-etag/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/replace-symlink/using-etag/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_JDAOK2/file/replace-symlink/using-etag/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/replace-symlink/using-etag/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/replace-symlink/using-etag/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/replace-symlink/using-etag/.dirs/runtime 693s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 693s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 693s # Using temporary directory /tmp/test_file_JDAOK2/g_file_replace_symlink_using_etag_U441K2 693s # Executing: glib/file.test 695s ok 35 /file/replace-symlink/using-etag 695s # slow test /file/replace-symlink/using-etag executed in 2.01 secs 695s # End of replace-symlink tests 695s # Start of replace tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/replace/write-only/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/replace/write-only/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_JDAOK2/file/replace/write-only/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/replace/write-only/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_JDAOK2/file/replace/write-only/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/replace/write-only/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/replace/write-only/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/replace/write-only/.dirs/runtime 695s # /file/replace/write-only summary: Test various situations for g_file_replace() 695s # Current umask: 2 695s # Test 0, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_50M4K2 695s # Test 1, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_GIK4K2 695s # Test 2, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_TCG4K2 695s # Test 3, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_4BF4K2 695s # Test 4, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_HFC4K2 695s # Test 5, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_SQC4K2 695s # Test 6, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_6DA4K2 695s # Test 7, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_O4Z3K2 695s # Test 8, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_TLY3K2 695s # Test 9, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_3TY3K2 695s # Test 10, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_K8T3K2 695s # Test 11, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_H0H3K2 695s # Test 12, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_9BN0K2 695s # Test 13, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_VCL0K2 695s # Test 14, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_LD2ZK2 695s # Test 15, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_74YZK2 695s # Test 16, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_V2WZK2 695s # Test 17, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_4BWZK2 695s # Test 18, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_XOPZK2 695s # Test 19, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_KDOZK2 695s # Test 20, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_1XKZK2 695s # Test 21, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_44EZK2 695s # Test 22, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_PZAZK2 695s # Test 23, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_Q7AZK2 695s # Test 24, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_2J9YK2 695s # Test 25, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_24Y1K2 695s # Test 26, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_ELZ1K2 695s # Test 27, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_QRZ1K2 695s # Test 28, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_36X1K2 695s # Test 29, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_EVW1K2 695s # Test 30, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_4JU1K2 695s # Test 31, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_MWU1K2 695s # Test 32, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_5CR1K2 695s # Test 33, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_P3P1K2 695s # Test 34, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_GUQ1K2 695s # Test 35, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_Q9N1K2 695s # Test 36, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_5PM1K2 695s # Test 37, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_I5K1K2 695s # Test 38, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_G2J1K2 695s # Test 39, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_4BI1K2 695s # Test 40, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_X6I1K2 695s # Test 41, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_JRG1K2 695s # Test 42, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_HEH1K2 695s # Test 43, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_12E1K2 695s # Test 44, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_W7F1K2 695s # Test 45, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_9ED1K2 695s # Test 46, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_SEE1K2 695s # Test 47, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_LIB1K2 695s # Test 48, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_RDC1K2 695s # We do not have CAP_DAC_OVERRIDE or equivalent 695s ok 36 /file/replace/write-only 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/replace/read-write/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/replace/read-write/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_JDAOK2/file/replace/read-write/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/replace/read-write/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_JDAOK2/file/replace/read-write/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/replace/read-write/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/replace/read-write/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/replace/read-write/.dirs/runtime 695s # /file/replace/read-write summary: Test various situations for g_file_replace() 695s # Current umask: 2 695s # Test 0, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_2YC1K2 695s # Test 1, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_A990K2 695s # Test 2, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_P0A1K2 695s # Test 3, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_JR80K2 695s # Test 4, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_O280K2 695s # Test 5, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_6880K2 695s # Test 6, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_6Z60K2 695s # Test 7, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_K170K2 695s # Test 8, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_4B80K2 695s # Test 9, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_6640K2 695s # Test 10, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_U450K2 695s # Test 11, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_4P30K2 695s # Test 12, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_I530K2 695s # Test 13, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_QG40K2 695s # Test 14, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_VC20K2 695s # Test 15, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_2E30K2 695s # Test 16, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_NP00K2 695s # Test 17, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_YP10K2 695s # Test 18, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_BUZ0K2 695s # Test 19, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_A7X0K2 695s # Test 20, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_YGW0K2 695s # Test 21, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_YJU0K2 695s # Test 22, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_7GR0K2 695s # Test 23, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_MRR0K2 695s # Test 24, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_Z7P0K2 695s # Test 25, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_88N0K2 695s # Test 26, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_4KO0K2 695s # Test 27, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_PRO0K2 695s # Test 28, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_JATXK2 695s # Test 29, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_D1TXK2 695s # Test 30, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_QDUXK2 695s # Test 31, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_3TRXK2 695s # Test 32, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_VCQXK2 695s # Test 33, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_37QXK2 695s # Test 34, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_ZGOXK2 695s # Test 35, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_CZOXK2 695s # Test 36, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_PMLXK2 695s # Test 37, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_8SJXK2 695s # Test 38, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_AWKXK2 695s # Test 39, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_34IXK2 695s # Test 40, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_W5GXK2 695s # Test 41, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_0BFXK2 695s # Test 42, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_A7FXK2 695s # Test 43, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_6XCXK2 695s # Test 44, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_G2AXK2 695s # Test 45, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_A8AXK2 695s # Test 46, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_7Q8WK2 695s # Test 47, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_TX8WK2 695s # Test 48, using temporary directory /tmp/test_file_JDAOK2/g_file_replace_4U9WK2 695s # We do not have CAP_DAC_OVERRIDE or equivalent 695s ok 37 /file/replace/read-write 695s # End of replace tests 695s # Start of copy tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/copy/progress/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/copy/progress/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/copy/progress/.dirs/system-config1:/tmp/test_file_JDAOK2/file/copy/progress/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/copy/progress/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/copy/progress/.dirs/system-data1:/tmp/test_file_JDAOK2/file/copy/progress/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/copy/progress/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/copy/progress/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/copy/progress/.dirs/runtime 695s ok 38 /file/copy/progress 695s # End of copy tests 695s # Start of writev tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/writev/no-bytes-written/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/writev/no-bytes-written/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_JDAOK2/file/writev/no-bytes-written/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/writev/no-bytes-written/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_JDAOK2/file/writev/no-bytes-written/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/writev/no-bytes-written/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/writev/no-bytes-written/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/writev/no-bytes-written/.dirs/runtime 695s ok 39 /file/writev/no-bytes-written 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/writev/no-vectors/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/writev/no-vectors/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_JDAOK2/file/writev/no-vectors/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/writev/no-vectors/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_JDAOK2/file/writev/no-vectors/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/writev/no-vectors/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/writev/no-vectors/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/writev/no-vectors/.dirs/runtime 695s ok 40 /file/writev/no-vectors 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/writev/empty-vectors/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/writev/empty-vectors/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_JDAOK2/file/writev/empty-vectors/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/writev/empty-vectors/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_JDAOK2/file/writev/empty-vectors/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/writev/empty-vectors/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/writev/empty-vectors/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/writev/empty-vectors/.dirs/runtime 695s ok 41 /file/writev/empty-vectors 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/writev/too-big-vectors/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/writev/too-big-vectors/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_JDAOK2/file/writev/too-big-vectors/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/writev/too-big-vectors/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_JDAOK2/file/writev/too-big-vectors/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/writev/too-big-vectors/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/writev/too-big-vectors/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/writev/too-big-vectors/.dirs/runtime 695s ok 42 /file/writev/too-big-vectors 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/writev/async/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/writev/async/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/writev/async/.dirs/system-config1:/tmp/test_file_JDAOK2/file/writev/async/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/writev/async/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/writev/async/.dirs/system-data1:/tmp/test_file_JDAOK2/file/writev/async/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/writev/async/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/writev/async/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/writev/async/.dirs/runtime 695s ok 43 /file/writev/async 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/writev/async_all/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/writev/async_all/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_JDAOK2/file/writev/async_all/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/writev/async_all/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_JDAOK2/file/writev/async_all/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/writev/async_all/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/writev/async_all/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/writev/async_all/.dirs/runtime 695s ok 44 /file/writev/async_all 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/writev/async_all-empty-vectors/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/writev/async_all-empty-vectors/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_JDAOK2/file/writev/async_all-empty-vectors/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/writev/async_all-empty-vectors/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_JDAOK2/file/writev/async_all-empty-vectors/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/writev/async_all-empty-vectors/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/writev/async_all-empty-vectors/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/writev/async_all-empty-vectors/.dirs/runtime 695s ok 45 /file/writev/async_all-empty-vectors 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/writev/async_all-no-vectors/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/writev/async_all-no-vectors/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_JDAOK2/file/writev/async_all-no-vectors/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/writev/async_all-no-vectors/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_JDAOK2/file/writev/async_all-no-vectors/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/writev/async_all-no-vectors/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/writev/async_all-no-vectors/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/writev/async_all-no-vectors/.dirs/runtime 695s ok 46 /file/writev/async_all-no-vectors 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/writev/async_all-to-big-vectors/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/writev/async_all-to-big-vectors/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_JDAOK2/file/writev/async_all-to-big-vectors/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/writev/async_all-to-big-vectors/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_JDAOK2/file/writev/async_all-to-big-vectors/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/writev/async_all-to-big-vectors/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/writev/async_all-to-big-vectors/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/writev/async_all-to-big-vectors/.dirs/runtime 695s ok 47 /file/writev/async_all-to-big-vectors 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/writev/async_all-cancellation/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/writev/async_all-cancellation/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_JDAOK2/file/writev/async_all-cancellation/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/writev/async_all-cancellation/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_JDAOK2/file/writev/async_all-cancellation/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/writev/async_all-cancellation/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/writev/async_all-cancellation/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/writev/async_all-cancellation/.dirs/runtime 695s ok 48 /file/writev/async_all-cancellation 695s # End of writev tests 695s # Start of from-uri tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/from-uri/ignores-query-string/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/from-uri/ignores-query-string/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_JDAOK2/file/from-uri/ignores-query-string/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/from-uri/ignores-query-string/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_JDAOK2/file/from-uri/ignores-query-string/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/from-uri/ignores-query-string/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/from-uri/ignores-query-string/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/from-uri/ignores-query-string/.dirs/runtime 695s ok 49 /file/from-uri/ignores-query-string 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_JDAOK2/file/from-uri/ignores-fragment/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_JDAOK2/file/from-uri/ignores-fragment/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_JDAOK2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_JDAOK2/file/from-uri/ignores-fragment/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_JDAOK2/file/from-uri/ignores-fragment/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_JDAOK2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_JDAOK2/file/from-uri/ignores-fragment/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_JDAOK2/file/from-uri/ignores-fragment/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_JDAOK2/file/from-uri/ignores-fragment/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_JDAOK2/file/from-uri/ignores-fragment/.dirs/runtime 695s ok 50 /file/from-uri/ignores-fragment 695s # End of from-uri tests 695s # End of file tests 695s ok - glib/file.test 695s # Running test: glib/utils-c-90.test 695s TAP version 13 695s # random seed: R02S8b430f2529a91476b01cad656d4a75b0 695s 1..40 695s # Start of utils tests 695s ok 1 /utils/language-names 695s ok 2 /utils/locale-variants 695s ok 3 /utils/version 695s ok 4 /utils/appname 695s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 695s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 695s ok 5 /utils/prgname-thread-safety 695s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 695s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 695s ok 6 /utils/tmpdir 695s ok 7 /utils/basic_bits 695s ok 8 /utils/bits 695s ok 9 /utils/swap 695s ok 10 /utils/find-program 695s ok 11 /utils/find-program-for-path 695s ok 12 /utils/debug 695s ok 13 /utils/codeset 695s ok 14 /utils/codeset2 695s ok 15 /utils/console-charset 695s ok 16 /utils/gettext 695s ok 17 /utils/username 695s ok 18 /utils/realname 695s ok 19 /utils/hostname 695s ok 20 /utils/xdgdirs 695s ok 21 /utils/specialdir 695s # NAME: Ubuntu 695s ok 22 /utils/os-info 695s ok 23 /utils/clear-pointer 695s ok 24 /utils/clear-pointer-cast 695s ok 25 /utils/take-pointer 695s ok 26 /utils/clear-source 695s ok 27 /utils/misc-mem 695s # /utils/aligned-mem summary: Aligned memory allocator 695s # Alignment must not be zero 695s # Alignment must be a power of two 695s # Alignment must be a multiple of sizeof(void*) 695s ok 28 /utils/aligned-mem 695s # /utils/free-sized summary: Check that g_free_sized() works 695s ok 29 /utils/free-sized 695s ok 30 /utils/nullify 695s ok 31 /utils/atexit 695s ok 32 /utils/check-setuid 695s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 695s ok 33 /utils/int-limits 695s ok 34 /utils/clear-list 695s ok 35 /utils/clear-slist 695s # Start of specialdir tests 695s ok 36 /utils/specialdir/desktop 695s # End of specialdir tests 695s # Start of clear-pointer tests 695s ok 37 /utils/clear-pointer/side-effects 695s # End of clear-pointer tests 695s # Start of aligned-mem tests 695s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 695s ok 38 /utils/aligned-mem/alignment 695s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 695s ok 39 /utils/aligned-mem/zeroed 695s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 695s ok 40 /utils/aligned-mem/free-sized 695s # Start of subprocess tests 695s # End of subprocess tests 695s # End of aligned-mem tests 695s # End of utils tests 695s ok - glib/utils-c-90.test 695s # Running test: glib/base64.test 695s TAP version 13 695s # random seed: R02S2caef8dea58b096dfe3189c5f8636cb9 695s 1..28 695s # Start of base64 tests 695s ok 1 /base64/encode 695s ok 2 /base64/decode 695s ok 3 /base64/decode-inplace 695s ok 4 /base64/encode-decode 695s # Start of full tests 695s ok 5 /base64/full/1 695s ok 6 /base64/full/2 695s ok 7 /base64/full/3 695s ok 8 /base64/full/4 695s # End of full tests 695s # Start of encode tests 695s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 695s ok 9 /base64/encode/empty 695s # Start of incremental tests 695s # Start of small-block tests 695s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 695s ok 10 /base64/encode/incremental/small-block/1 695s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 695s ok 11 /base64/encode/incremental/small-block/2 695s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 695s ok 12 /base64/encode/incremental/small-block/3 695s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 695s ok 13 /base64/encode/incremental/small-block/4 695s # End of small-block tests 695s # End of incremental tests 695s # End of encode tests 695s # Start of incremental tests 695s # Start of nobreak tests 695s ok 14 /base64/incremental/nobreak/1 695s ok 15 /base64/incremental/nobreak/2 695s ok 16 /base64/incremental/nobreak/3 695s ok 17 /base64/incremental/nobreak/4-a 695s ok 18 /base64/incremental/nobreak/4-b 695s ok 19 /base64/incremental/nobreak/4-c 695s # End of nobreak tests 695s # Start of break tests 695s ok 20 /base64/incremental/break/1 695s ok 21 /base64/incremental/break/2 695s ok 22 /base64/incremental/break/3 695s # End of break tests 695s # Start of smallblock tests 695s ok 23 /base64/incremental/smallblock/1 695s ok 24 /base64/incremental/smallblock/2 695s ok 25 /base64/incremental/smallblock/3 695s ok 26 /base64/incremental/smallblock/4 695s # End of smallblock tests 695s # End of incremental tests 695s # Start of decode tests 695s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 695s ok 27 /base64/decode/empty 695s # End of decode tests 695s # Start of encode-decode tests 695s # Vector 0: 695s # Vector 1: f 695s # Vector 2: fo 695s # Vector 3: foo 695s # Vector 4: foob 695s # Vector 5: fooba 695s # Vector 6: foobar 695s ok 28 /base64/encode-decode/rfc4648 695s # End of encode-decode tests 695s # End of base64 tests 695s ok - glib/base64.test 695s # Running test: glib/pattern.test 695s TAP version 13 695s # random seed: R02S4a4b0e16ac6702508a6f9d5a494c5d2c 695s 1..90 695s # Start of pattern tests 695s # Start of compile tests 695s ok 1 /pattern/compile/0 695s ok 2 /pattern/compile/1 695s ok 3 /pattern/compile/2 695s ok 4 /pattern/compile/3 695s ok 5 /pattern/compile/4 695s ok 6 /pattern/compile/5 695s ok 7 /pattern/compile/6 695s ok 8 /pattern/compile/7 695s ok 9 /pattern/compile/8 695s ok 10 /pattern/compile/9 695s ok 11 /pattern/compile/10 695s ok 12 /pattern/compile/11 695s ok 13 /pattern/compile/12 695s ok 14 /pattern/compile/13 695s # End of compile tests 695s # Start of copy tests 695s ok 15 /pattern/copy/0 695s ok 16 /pattern/copy/1 695s ok 17 /pattern/copy/2 695s ok 18 /pattern/copy/3 695s ok 19 /pattern/copy/4 695s ok 20 /pattern/copy/5 695s ok 21 /pattern/copy/6 695s ok 22 /pattern/copy/7 695s ok 23 /pattern/copy/8 695s ok 24 /pattern/copy/9 695s ok 25 /pattern/copy/10 695s ok 26 /pattern/copy/11 695s ok 27 /pattern/copy/12 695s ok 28 /pattern/copy/13 695s # End of copy tests 695s # Start of match tests 695s ok 29 /pattern/match/0 695s ok 30 /pattern/match/1 695s ok 31 /pattern/match/2 695s ok 32 /pattern/match/3 695s ok 33 /pattern/match/4 695s ok 34 /pattern/match/5 695s ok 35 /pattern/match/6 695s ok 36 /pattern/match/7 695s ok 37 /pattern/match/8 695s ok 38 /pattern/match/9 695s ok 39 /pattern/match/10 695s ok 40 /pattern/match/11 695s ok 41 /pattern/match/12 695s ok 42 /pattern/match/13 695s ok 43 /pattern/match/14 695s ok 44 /pattern/match/15 695s ok 45 /pattern/match/16 695s ok 46 /pattern/match/17 695s ok 47 /pattern/match/18 695s ok 48 /pattern/match/19 695s ok 49 /pattern/match/20 695s ok 50 /pattern/match/21 695s ok 51 /pattern/match/22 695s ok 52 /pattern/match/23 695s ok 53 /pattern/match/24 695s ok 54 /pattern/match/25 695s ok 55 /pattern/match/26 695s ok 56 /pattern/match/27 695s ok 57 /pattern/match/28 695s ok 58 /pattern/match/29 695s ok 59 /pattern/match/30 695s ok 60 /pattern/match/31 695s ok 61 /pattern/match/32 695s ok 62 /pattern/match/33 695s ok 63 /pattern/match/34 695s ok 64 /pattern/match/35 695s ok 65 /pattern/match/36 695s ok 66 /pattern/match/37 695s ok 67 /pattern/match/38 695s ok 68 /pattern/match/39 695s ok 69 /pattern/match/40 695s ok 70 /pattern/match/41 695s ok 71 /pattern/match/42 695s ok 72 /pattern/match/43 695s ok 73 /pattern/match/44 695s ok 74 /pattern/match/45 695s ok 75 /pattern/match/46 695s ok 76 /pattern/match/47 695s ok 77 /pattern/match/48 695s ok 78 /pattern/match/49 695s ok 79 /pattern/match/50 695s # End of match tests 695s # Start of equal tests 695s ok 80 /pattern/equal/0 695s ok 81 /pattern/equal/1 695s ok 82 /pattern/equal/2 695s ok 83 /pattern/equal/3 695s ok 84 /pattern/equal/4 695s ok 85 /pattern/equal/5 695s ok 86 /pattern/equal/6 695s ok 87 /pattern/equal/7 695s ok 88 /pattern/equal/8 695s ok 89 /pattern/equal/9 695s ok 90 /pattern/equal/10 695s # End of equal tests 695s # End of pattern tests 695s ok - glib/pattern.test 695s # Running test: glib/gdbus-export.test 695s TAP version 13 695s # random seed: R02S463dc82dc178c800eb3dcb3c30ada12a 695s 1..6 695s # Start of gdbus tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/object-registration/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/object-registration/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_9QQTK2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_9QQTK2/gdbus/object-registration/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/object-registration/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_9QQTK2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_9QQTK2/gdbus/object-registration/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/object-registration/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/object-registration/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_9QQTK2/gdbus/object-registration/.dirs/runtime 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s ok 1 /gdbus/object-registration 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/object-registration-with-closures/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/object-registration-with-closures/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_9QQTK2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_9QQTK2/gdbus/object-registration-with-closures/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/object-registration-with-closures/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_9QQTK2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_9QQTK2/gdbus/object-registration-with-closures/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/object-registration-with-closures/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/object-registration-with-closures/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_9QQTK2/gdbus/object-registration-with-closures/.dirs/runtime 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s ok 2 /gdbus/object-registration-with-closures 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/registered-interfaces/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/registered-interfaces/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_9QQTK2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_9QQTK2/gdbus/registered-interfaces/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/registered-interfaces/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_9QQTK2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_9QQTK2/gdbus/registered-interfaces/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/registered-interfaces/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/registered-interfaces/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_9QQTK2/gdbus/registered-interfaces/.dirs/runtime 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s ok 3 /gdbus/registered-interfaces 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/async-properties/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/async-properties/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_9QQTK2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_9QQTK2/gdbus/async-properties/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/async-properties/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_9QQTK2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_9QQTK2/gdbus/async-properties/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/async-properties/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/async-properties/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_9QQTK2/gdbus/async-properties/.dirs/runtime 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s ok 4 /gdbus/async-properties 695s # Start of threaded-unregistration tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/object/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/object/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/object/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/object/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/object/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/object/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/object/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/object/.dirs/runtime 695s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 695s # /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 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 695s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 696s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (51 iterations with unregistration first, 949 with call first); skipping test 697s # slow test /gdbus/threaded-unregistration/object executed in 1.68 secs 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/subtree/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/subtree/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/subtree/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/subtree/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/subtree/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_9QQTK2/gdbus/threaded-unregistration/subtree/.dirs/runtime 697s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 697s # /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 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 697s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # Executing: glib/gdbus-export.test 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (98 iterations with unregistration first, 902 with call first); skipping test 698s # slow test /gdbus/threaded-unregistration/subtree executed in 1.57 secs 698s # End of threaded-unregistration tests 698s # End of gdbus tests 698s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 698s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 698s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 698s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 698s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 698s ok - glib/gdbus-export.test 698s # Running test: glib/macros-c-11.test 698s TAP version 13 698s # random seed: R02Saec8df129c17e059ee33256c8199abab 698s 1..4 698s # Start of C tests 698s ok 1 /C/standard-11 698s # End of C tests 698s # Start of alignof tests 698s ok 2 /alignof/fallback 698s # End of alignof tests 698s # Start of assert tests 698s ok 3 /assert/static 698s # End of assert tests 698s # Start of struct tests 698s ok 4 /struct/sizeof_member 698s # End of struct tests 698s ok - glib/macros-c-11.test 698s # Running test: glib/gdbus-bz627724.test 698s TAP version 13 698s # random seed: R02Sd17ac8bb6e3213afe5eaaf0d8c75685f 698s 1..1 698s # Start of gdbus tests 698s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_8CGMK2/gdbus/bz627724/.dirs/home 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_8CGMK2/gdbus/bz627724/.dirs/cache 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_8CGMK2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_8CGMK2/gdbus/bz627724/.dirs/system-config2 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_8CGMK2/gdbus/bz627724/.dirs/config 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_8CGMK2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_8CGMK2/gdbus/bz627724/.dirs/system-data2 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_8CGMK2/gdbus/bz627724/.dirs/data 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_8CGMK2/gdbus/bz627724/.dirs/state 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_8CGMK2/gdbus/bz627724/.dirs/runtime 698s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 698s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 698s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 698s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 698s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 698s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 698s ok 1 /gdbus/bz627724 698s # End of gdbus tests 698s ok - glib/gdbus-bz627724.test 698s # Running test: glib/union-info.test 698s TAP version 13 698s # random seed: R02Sc323e19244f8ce5ed67413902808df9c 698s 1..2 698s # Start of union-info tests 698s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_BI3LK2/union-info/basic/.dirs/home 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_BI3LK2/union-info/basic/.dirs/cache 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_BI3LK2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_BI3LK2/union-info/basic/.dirs/system-config2 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_BI3LK2/union-info/basic/.dirs/config 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_BI3LK2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_BI3LK2/union-info/basic/.dirs/system-data2 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_BI3LK2/union-info/basic/.dirs/data 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_BI3LK2/union-info/basic/.dirs/state 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_BI3LK2/union-info/basic/.dirs/runtime 698s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 698s # /union-info/basic summary: Test basic properties of GIUnionInfo 698s ok 1 /union-info/basic 698s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_BI3LK2/union-info/methods/.dirs/home 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_BI3LK2/union-info/methods/.dirs/cache 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_BI3LK2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_BI3LK2/union-info/methods/.dirs/system-config2 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_BI3LK2/union-info/methods/.dirs/config 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_BI3LK2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_BI3LK2/union-info/methods/.dirs/system-data2 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_BI3LK2/union-info/methods/.dirs/data 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_BI3LK2/union-info/methods/.dirs/state 698s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_BI3LK2/union-info/methods/.dirs/runtime 698s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 698s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 698s ok 2 /union-info/methods 698s # End of union-info tests 698s ok - glib/union-info.test 698s # Running test: glib/properties-refcount4.test 698s TAP version 13 698s # random seed: R02S832f320b39740da3479f20fe713545ca 698s 1..1 698s # Start of gobject tests 698s # Start of refcount tests 698s ok 1 /gobject/refcount/properties-4 698s # End of refcount tests 698s # End of gobject tests 698s ok - glib/properties-refcount4.test 698s # Running test: glib/search-utils.test 698s TAP version 13 698s # random seed: R02S69ff027ca37a55645c2081f190804368 698s # GLib-DEBUG: Current user locale: C.UTF-8 698s 1..6 698s # Start of search tests 698s # GLib-DEBUG: Started 698s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 698s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 698s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 698s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 698s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 698s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 698s ok 1 /search/basic 698s # GLib-DEBUG: Started 698s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 698s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 698s # GLib-DEBUG: 'ele' - 'élève' should match: OK 698s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 698s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 698s ok 2 /search/composed 698s # GLib-DEBUG: Started 698s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 698s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 698s ok 3 /search/decomposed 698s # GLib-DEBUG: Started 698s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 698s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 698s ok 4 /search/turkish 698s # GLib-DEBUG: Started 698s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 698s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 698s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 698s ok 5 /search/c_locale_unicode 698s # GLib-DEBUG: Started 698s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 698s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 698s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 698s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 698s ok 6 /search/multi_words 698s # End of search tests 698s ok - glib/search-utils.test 698s # Running test: glib/gvariant.test 698s TAP version 13 698s # random seed: R02S53fdb18b24639a65277caaf0adb0132d 698s 1..64 698s # Start of gvariant tests 698s ok 1 /gvariant/type 699s ok 2 /gvariant/typeinfo 699s # slow test /gvariant/typeinfo executed in 0.53 secs 699s ok 3 /gvariant/string 699s ok 4 /gvariant/utf8 699s ok 5 /gvariant/containers 699s ok 6 /gvariant/format-strings 699s ok 7 /gvariant/invalid-varargs 699s ok 8 /gvariant/varargs 699s ok 9 /gvariant/valist 699s ok 10 /gvariant/builder-memory 700s ok 11 /gvariant/hashing 700s ok 12 /gvariant/byteswap 700s ok 13 /gvariant/parser 700s ok 14 /gvariant/parse-failures 700s ok 15 /gvariant/parse-positional 700s ok 16 /gvariant/floating 700s ok 17 /gvariant/bytestring 700s ok 18 /gvariant/lookup-value 700s ok 19 /gvariant/lookup 700s ok 20 /gvariant/compare 700s ok 21 /gvariant/equal 700s ok 22 /gvariant/fixed-array 700s ok 23 /gvariant/check-format-string 700s ok 24 /gvariant/checksum-basic 700s ok 25 /gvariant/checksum-nested 700s ok 26 /gvariant/gbytes 700s ok 27 /gvariant/print-context 700s ok 28 /gvariant/error-quark 700s ok 29 /gvariant/stack-builder-init 700s ok 30 /gvariant/stack-dict-init 700s ok 31 /gvariant/unaligned-construction 700s # Start of type tests 700s # Start of string-scan tests 700s # Start of recursion tests 700s ok 32 /gvariant/type/string-scan/recursion/tuple 700s ok 33 /gvariant/type/string-scan/recursion/array 700s # End of recursion tests 700s # End of string-scan tests 700s # End of type tests 700s # Start of serialiser tests 700s ok 34 /gvariant/serialiser/maybe 700s ok 35 /gvariant/serialiser/array 700s ok 36 /gvariant/serialiser/tuple 700s ok 37 /gvariant/serialiser/variant 700s ok 38 /gvariant/serialiser/strings 702s ok 39 /gvariant/serialiser/byteswap 702s # slow test /gvariant/serialiser/byteswap executed in 1.45 secs 702s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 702s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 702s ok 40 /gvariant/serialiser/children 702s # Start of fuzz tests 702s ok 41 /gvariant/serialiser/fuzz/1% 703s ok 42 /gvariant/serialiser/fuzz/5% 703s # slow test /gvariant/serialiser/fuzz/5% executed in 0.71 secs 703s # Executing: glib/gvariant.test 703s ok 43 /gvariant/serialiser/fuzz/9% 704s ok 44 /gvariant/serialiser/fuzz/13% 704s # slow test /gvariant/serialiser/fuzz/13% executed in 0.52 secs 704s ok 45 /gvariant/serialiser/fuzz/17% 704s # End of fuzz tests 704s # End of serialiser tests 704s # Start of varargs tests 704s # Start of subprocess tests 704s # End of subprocess tests 704s # End of varargs tests 704s # Start of byteswap tests 704s # /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. 704s ok 46 /gvariant/byteswap/non-normal-non-aligned 704s # End of byteswap tests 704s # Start of parser tests 704s ok 47 /gvariant/parser/integer-bounds 704s ok 48 /gvariant/parser/recursion 704s # Start of recursion tests 704s ok 49 /gvariant/parser/recursion/typedecls 704s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 704s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 704s # Text form 0: @mmmu 5 704s # Text form 1: @mmmas ['hello'] 704s # Text form 2: @mmmu just just nothing 704s # Text form 3: @mmmas just just nothing 704s # Text form 4: @mmmu just nothing 704s # Text form 5: @mmmas just nothing 704s # Text form 6: @mmmu nothing 704s # Text form 7: @mmmas nothing 704s ok 50 /gvariant/parser/recursion/maybes 704s # End of recursion tests 704s # End of parser tests 704s # Start of parse tests 704s # Start of subprocess tests 704s # End of subprocess tests 704s # End of parse tests 704s # Start of normal-checking tests 704s ok 51 /gvariant/normal-checking/tuples 704s ok 52 /gvariant/normal-checking/array-offsets 704s ok 53 /gvariant/normal-checking/array-offsets2 704s ok 54 /gvariant/normal-checking/tuple-offsets 704s ok 55 /gvariant/normal-checking/tuple-offsets2 704s ok 56 /gvariant/normal-checking/tuple-offsets3 704s ok 57 /gvariant/normal-checking/tuple-offsets4 704s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 704s ok 58 /gvariant/normal-checking/tuple-offsets5 704s ok 59 /gvariant/normal-checking/empty-object-path 704s # Start of array-offsets tests 704s ok 60 /gvariant/normal-checking/array-offsets/overlapped 704s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 704s # End of array-offsets tests 704s # Start of tuple-offsets tests 704s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 704s # End of tuple-offsets tests 704s # End of normal-checking tests 704s # Start of recursion-limits tests 704s ok 63 /gvariant/recursion-limits/variant-in-variant 704s ok 64 /gvariant/recursion-limits/array-in-variant 704s # End of recursion-limits tests 704s # End of gvariant tests 704s ok - glib/gvariant.test 704s # Running test: glib/gsocketclient-slow.test 704s TAP version 13 704s # random seed: R02S90aa7584a4d91c361adb271c0bb9e35a 704s 1..3 704s # Start of socket-client tests 704s # Start of happy-eyeballs tests 704s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 704s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa37f87ad0 and GSocketClientAsyncConnectData 0x2aa37f812a0 704s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 704s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 704s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa37f891e0 for GSocketClientAsyncConnectData 0x2aa37f812a0 704s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 705s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 705s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 705s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 705s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 705s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 705s ok 1 /socket-client/happy-eyeballs/slow 705s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 705s # Start of cancellation tests 705s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa37f8c900 and GSocketClientAsyncConnectData 0x2aa37f889f0 705s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 705s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 705s ok 2 /socket-client/happy-eyeballs/cancellation/instant 705s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa37f8b6f0 and GSocketClientAsyncConnectData 0x2aa37f812a0 705s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 705s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 705s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa37f8d550 for GSocketClientAsyncConnectData 0x2aa37f812a0 705s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 705s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 705s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 705s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 705s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 705s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 705s ok 3 /socket-client/happy-eyeballs/cancellation/delayed 705s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 705s # End of cancellation tests 705s # End of happy-eyeballs tests 705s # End of socket-client tests 705s ok - glib/gsocketclient-slow.test 705s # Running test: glib/defaultiface.test 706s TAP version 13 706s # random seed: R02S95ad457ac6cfb67147593335c7ad108a 706s 1..2 706s # Start of gobject tests 706s ok 1 /gobject/static-iface 706s ok 2 /gobject/dynamic-iface 706s # End of gobject tests 706s ok - glib/defaultiface.test 706s # Running test: glib/unix-fd.test 706s TAP version 13 706s # random seed: R02S71b263942a200fdd7102130552b08297 706s 1..2 706s # Start of unix-fd tests 706s ok 1 /unix-fd/fd-list 706s ok 2 /unix-fd/scm 706s # End of unix-fd tests 706s ok - glib/unix-fd.test 706s # Running test: glib/init.test 706s TAP version 13 706s # random seed: R02S564ece1a5b6d81dd1f8cc96f47dd4cf8 706s 1..2 706s # Start of thread tests 706s # Start of deprecated tests 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_FB3IK2/thread/deprecated/init/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_FB3IK2/thread/deprecated/init/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_FB3IK2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_FB3IK2/thread/deprecated/init/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_FB3IK2/thread/deprecated/init/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_FB3IK2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_FB3IK2/thread/deprecated/init/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_FB3IK2/thread/deprecated/init/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_FB3IK2/thread/deprecated/init/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_FB3IK2/thread/deprecated/init/.dirs/runtime 706s ok 1 /thread/deprecated/init 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_FB3IK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_FB3IK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_FB3IK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_FB3IK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_FB3IK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_FB3IK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_FB3IK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_FB3IK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_FB3IK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_FB3IK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 706s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 706s # End of deprecated tests 706s # End of thread tests 706s ok - glib/init.test 706s # Running test: glib/overflow.test 706s TAP version 13 706s # random seed: R02S0cebd3e4367b1d1ee2ba83872b57e2c9 706s 1..6 706s # Start of glib tests 706s # Start of checked-math tests 706s ok 1 /glib/checked-math/guint-add 706s ok 2 /glib/checked-math/guint-mul 706s ok 3 /glib/checked-math/guint64-add 706s ok 4 /glib/checked-math/guint64-mul 706s ok 5 /glib/checked-math/gsize-add 706s ok 6 /glib/checked-math/gsize-mul 706s # End of checked-math tests 706s # End of glib tests 706s ok - glib/overflow.test 706s # Running test: glib/gdbus-peer.test 706s TAP version 13 706s # random seed: R02S5aab2246c2e1335f62c957c21c4ed595 706s 1..12 706s # Start of gdbus tests 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/.dirs/runtime 706s # Testing with unix:dir address 706s # Testing with unix:tmpdir address 706s # Testing with unix:path address 706s ok 1 /gdbus/peer-to-peer 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/delayed-message-processing/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/delayed-message-processing/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/delayed-message-processing/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/delayed-message-processing/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/delayed-message-processing/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/delayed-message-processing/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/delayed-message-processing/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Q3TIK2/gdbus/delayed-message-processing/.dirs/runtime 706s # Testing with unix:dir address 706s ok 2 /gdbus/delayed-message-processing 706s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/nonce-tcp/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/nonce-tcp/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/nonce-tcp/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/nonce-tcp/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/nonce-tcp/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/nonce-tcp/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/nonce-tcp/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Q3TIK2/gdbus/nonce-tcp/.dirs/runtime 706s ok 3 /gdbus/nonce-tcp 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/tcp-anonymous/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/tcp-anonymous/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/tcp-anonymous/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/tcp-anonymous/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/tcp-anonymous/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/tcp-anonymous/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/tcp-anonymous/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Q3TIK2/gdbus/tcp-anonymous/.dirs/runtime 706s ok 4 /gdbus/tcp-anonymous 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/credentials/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/credentials/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/credentials/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/credentials/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/credentials/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/credentials/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/credentials/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Q3TIK2/gdbus/credentials/.dirs/runtime 706s ok 5 /gdbus/credentials 706s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/codegen-peer-to-peer/.dirs/home 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/codegen-peer-to-peer/.dirs/cache 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/codegen-peer-to-peer/.dirs/system-config2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/codegen-peer-to-peer/.dirs/config 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/codegen-peer-to-peer/.dirs/system-data2 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/codegen-peer-to-peer/.dirs/data 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/codegen-peer-to-peer/.dirs/state 706s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Q3TIK2/gdbus/codegen-peer-to-peer/.dirs/runtime 706s # Testing with unix:dir address 706s # Machine ID: 18b44ee4ca0a4389ae93068f07e36697 707s ok 6 /gdbus/codegen-peer-to-peer 707s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 707s # Start of peer-to-peer tests 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/signals/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/signals/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/signals/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/signals/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/signals/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/signals/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/signals/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/signals/.dirs/runtime 707s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 707s # Testing with unix:dir address 707s ok 7 /gdbus/peer-to-peer/signals 707s # Start of invalid tests 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/server/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/server/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/server/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/server/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/server/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 707s ok 8 /gdbus/peer-to-peer/invalid/server 707s # Start of conn tests 707s # Start of stream tests 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 707s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 707s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 707s # End of stream tests 707s # Start of addr tests 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 707s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Q3TIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 707s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 707s # End of addr tests 707s # End of conn tests 707s # End of invalid tests 707s # End of peer-to-peer tests 707s # End of gdbus tests 707s ok - glib/gdbus-peer.test 707s # Running test: glib/sandbox.test 707s TAP version 13 707s # random seed: R02S2c6e49b96c82edd029e6bb5f14844740 707s 1..4 707s # Start of sandbox tests 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_DBCPK2/sandbox/none/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_DBCPK2/sandbox/none/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_DBCPK2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_DBCPK2/sandbox/none/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_DBCPK2/sandbox/none/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_DBCPK2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_DBCPK2/sandbox/none/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_DBCPK2/sandbox/none/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_DBCPK2/sandbox/none/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_DBCPK2/sandbox/none/.dirs/runtime 707s ok 1 /sandbox/none 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_DBCPK2/sandbox/snap/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_DBCPK2/sandbox/snap/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_DBCPK2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_DBCPK2/sandbox/snap/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_DBCPK2/sandbox/snap/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_DBCPK2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_DBCPK2/sandbox/snap/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_DBCPK2/sandbox/snap/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_DBCPK2/sandbox/snap/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_DBCPK2/sandbox/snap/.dirs/runtime 707s # Created snap.yaml in /tmp/test_sandbox_DBCPK2/snap/current/meta/snap.yaml 707s ok 2 /sandbox/snap 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_DBCPK2/sandbox/classic-snap/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_DBCPK2/sandbox/classic-snap/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_DBCPK2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_DBCPK2/sandbox/classic-snap/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_DBCPK2/sandbox/classic-snap/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_DBCPK2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_DBCPK2/sandbox/classic-snap/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_DBCPK2/sandbox/classic-snap/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_DBCPK2/sandbox/classic-snap/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_DBCPK2/sandbox/classic-snap/.dirs/runtime 707s # Created snap.yaml in /tmp/test_sandbox_DBCPK2/snap/current/meta/snap.yaml 707s ok 3 /sandbox/classic-snap 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_DBCPK2/sandbox/flatpak/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_DBCPK2/sandbox/flatpak/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_DBCPK2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_DBCPK2/sandbox/flatpak/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_DBCPK2/sandbox/flatpak/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_DBCPK2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_DBCPK2/sandbox/flatpak/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_DBCPK2/sandbox/flatpak/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_DBCPK2/sandbox/flatpak/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_DBCPK2/sandbox/flatpak/.dirs/runtime 707s # Creating .flatpak-info in /tmp/test_sandbox_DBCPK2/sandbox/flatpak/.dirs/runtime/.flatpak-info 707s ok 4 /sandbox/flatpak 707s # End of sandbox tests 707s ok - glib/sandbox.test 707s # Running test: glib/protocol.test 707s TAP version 13 707s # random seed: R02S02995c239ee6b630b35a5c2db96bd1f9 707s 1..9 707s # Start of glib tests 707s # Start of testing tests 707s # Start of protocol tests 707s ok 1 /glib/testing/protocol/debug 707s ok 2 /glib/testing/protocol/info 707s ok 3 /glib/testing/protocol/message 707s ok 4 /glib/testing/protocol/warning 707s ok 5 /glib/testing/protocol/critical 707s ok 6 /glib/testing/protocol/error 707s ok 7 /glib/testing/protocol/gtest-message 707s ok 8 /glib/testing/protocol/test-message 707s ok 9 /glib/testing/protocol/test-error 707s # End of protocol tests 707s # End of testing tests 707s # End of glib tests 707s ok - glib/protocol.test 707s # Running test: glib/signal-handler.test 707s TAP version 13 707s # random seed: R02Sf1076a935dea6658e8aab7471bc9f22a 707s 1..7 707s # Start of signal tests 707s # Start of handler tests 707s # min perf: connected 1 handlers in 0.000 seconds 707s ok 1 /signal/handler/connect-many 707s # min perf: disconnected 1 handlers in 0.000 seconds 707s ok 2 /signal/handler/disconnect-many-ordered 707s # min perf: disconnected 1 handlers in 0.000 seconds 707s ok 3 /signal/handler/disconnect-many-inverse 707s # min perf: disconnected 1 handlers in 0.000 seconds 707s ok 4 /signal/handler/disconnect-many-random 707s # min perf: disconnected 1 handlers in 0.000 seconds 707s ok 5 /signal/handler/disconnect-2-signals 707s # min perf: disconnected 1 handlers in 0.000 seconds 707s ok 6 /signal/handler/disconnect-2-objects 707s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 707s ok 7 /signal/handler/block-many 707s # End of handler tests 707s # End of signal tests 707s ok - glib/signal-handler.test 707s # Running test: glib/utils.test 707s TAP version 13 707s # random seed: R02Sd1c53cb4929ed6316ee6090d21cb6aed 707s 1..40 707s # Start of utils tests 707s ok 1 /utils/language-names 707s ok 2 /utils/locale-variants 707s ok 3 /utils/version 707s ok 4 /utils/appname 707s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 707s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 707s ok 5 /utils/prgname-thread-safety 707s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 707s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 707s ok 6 /utils/tmpdir 707s ok 7 /utils/basic_bits 707s ok 8 /utils/bits 707s ok 9 /utils/swap 707s ok 10 /utils/find-program 707s ok 11 /utils/find-program-for-path 707s ok 12 /utils/debug 707s ok 13 /utils/codeset 707s ok 14 /utils/codeset2 707s ok 15 /utils/console-charset 707s ok 16 /utils/gettext 707s ok 17 /utils/username 707s ok 18 /utils/realname 707s ok 19 /utils/hostname 707s ok 20 /utils/xdgdirs 707s ok 21 /utils/specialdir 707s # NAME: Ubuntu 707s ok 22 /utils/os-info 707s ok 23 /utils/clear-pointer 707s ok 24 /utils/clear-pointer-cast 707s ok 25 /utils/take-pointer 707s ok 26 /utils/clear-source 707s ok 27 /utils/misc-mem 707s # /utils/aligned-mem summary: Aligned memory allocator 707s # Alignment must not be zero 707s # Alignment must be a power of two 707s # Alignment must be a multiple of sizeof(void*) 707s ok 28 /utils/aligned-mem 707s # /utils/free-sized summary: Check that g_free_sized() works 707s ok 29 /utils/free-sized 707s ok 30 /utils/nullify 707s ok 31 /utils/atexit 707s ok 32 /utils/check-setuid 707s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 707s ok 33 /utils/int-limits 707s ok 34 /utils/clear-list 707s ok 35 /utils/clear-slist 707s # Start of specialdir tests 707s ok 36 /utils/specialdir/desktop 707s # End of specialdir tests 707s # Start of clear-pointer tests 707s ok 37 /utils/clear-pointer/side-effects 707s # End of clear-pointer tests 707s # Start of aligned-mem tests 707s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 707s ok 38 /utils/aligned-mem/alignment 707s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 707s ok 39 /utils/aligned-mem/zeroed 707s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 707s ok 40 /utils/aligned-mem/free-sized 707s # Start of subprocess tests 707s # End of subprocess tests 707s # End of aligned-mem tests 707s # End of utils tests 707s ok - glib/utils.test 707s # Running test: glib/function-info.test 707s TAP version 13 707s # random seed: R02S6f470144113bf0970369460ae0b6366c 707s 1..1 707s # Start of function-info tests 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_JU8LK2/function-info/invoker/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_JU8LK2/function-info/invoker/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_JU8LK2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_JU8LK2/function-info/invoker/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_JU8LK2/function-info/invoker/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_JU8LK2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_JU8LK2/function-info/invoker/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_JU8LK2/function-info/invoker/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_JU8LK2/function-info/invoker/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_JU8LK2/function-info/invoker/.dirs/runtime 707s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 707s # /function-info/invoker summary: Test preparing a function invoker 707s ok 1 /function-info/invoker 707s # End of function-info tests 707s ok - glib/function-info.test 707s # Running test: glib/cache.test 707s TAP version 13 707s # random seed: R02S7c1a5c301fae1ef587a246fcb0f08e1e 707s 1..1 707s # Start of cache tests 707s ok 1 /cache/basic 707s # End of cache tests 707s ok - glib/cache.test 707s # Running test: glib/string.test 707s TAP version 13 707s # random seed: R02S3548bfa0975bbf6a9c46edb12cc941ce 707s 1..23 707s # Start of string tests 707s ok 1 /string/test-string-chunks 707s ok 2 /string/test-string-chunk-insert 707s ok 3 /string/test-string-new 707s ok 4 /string/test-string-printf 707s ok 5 /string/test-string-assign 707s ok 6 /string/test-string-append-c 707s ok 7 /string/test-string-append 707s ok 8 /string/test-string-append-vprintf 707s ok 9 /string/test-string-prepend-c 707s ok 10 /string/test-string-prepend 707s ok 11 /string/test-string-insert 707s ok 12 /string/test-string-insert-unichar 707s ok 13 /string/test-string-equal 707s ok 14 /string/test-string-truncate 707s ok 15 /string/test-string-overwrite 707s ok 16 /string/test-string-nul-handling 707s ok 17 /string/test-string-up-down 707s ok 18 /string/test-string-set-size 707s ok 19 /string/test-string-to-bytes 707s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 707s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 707s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 707s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 707s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 707s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 707s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 707s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 707s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 707s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 707s # 5: Replacing "o" with "" (limit 0) in "food for foals" 707s # -> 4 replacements, "fd fr fals" 707s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 707s # -> 3 replacements, "aaaaaaaaa" 707s # 7: Replacing "a" with "" (limit 0) in "aaa" 707s # -> 3 replacements, "" 707s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 707s # -> 1 replacements, "bba" 707s # 9: Replacing "" with "bar" (limit 0) in "foo" 707s # -> 4 replacements, "barfbarobarobar" 707s # 10: Replacing "" with "x" (limit 0) in "" 707s # -> 1 replacements, "x" 707s # 11: Replacing "" with "" (limit 0) in "" 707s # -> 1 replacements, "" 707s ok 20 /string/test-string-replace 707s ok 21 /string/test-string-steal 707s ok 22 /string/test-string-new-take 707s # Start of test-string-new-take tests 707s ok 23 /string/test-string-new-take/null 707s # End of test-string-new-take tests 707s # End of string tests 707s ok - glib/string.test 707s # Running test: glib/collate.test 707s TAP version 13 707s # random seed: R02S2e7fe019a952a210ee32732634f68386 707s 1..9 707s # Start of unicode tests 707s # Start of collate tests 707s ok 1 /unicode/collate/0 707s ok 2 /unicode/collate/1 707s ok 3 /unicode/collate/2 707s # End of collate tests 707s # Start of collate-key tests 707s ok 4 /unicode/collate-key/0 707s ok 5 /unicode/collate-key/1 707s ok 6 /unicode/collate-key/2 707s # End of collate-key tests 707s # Start of collate-filename tests 707s ok 7 /unicode/collate-filename/0 707s ok 8 /unicode/collate-filename/1 707s ok 9 /unicode/collate-filename/2 707s # End of collate-filename tests 707s # End of unicode tests 707s ok - glib/collate.test 707s # Running test: glib/gdbus-test-codegen-old.test 707s TAP version 13 707s # random seed: R02S0243e7f96b23c6d28be2e4ad2d5ebeb1 707s 1..8 707s # Start of gdbus tests 707s # Start of codegen tests 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/annotations/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/annotations/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/annotations/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/annotations/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/annotations/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/annotations/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/annotations/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/annotations/.dirs/runtime 707s ok 1 /gdbus/codegen/annotations 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/interface_stability/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/interface_stability/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/interface_stability/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/interface_stability/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/interface_stability/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/interface_stability/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/interface_stability/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/interface_stability/.dirs/runtime 707s ok 2 /gdbus/codegen/interface_stability 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/object-manager/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/object-manager/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/object-manager/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/object-manager/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/object-manager/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/object-manager/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/object-manager/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/object-manager/.dirs/runtime 707s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 707s ok 3 /gdbus/codegen/object-manager 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/property-naming/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/property-naming/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/property-naming/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/property-naming/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/property-naming/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/property-naming/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/property-naming/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/property-naming/.dirs/runtime 707s ok 4 /gdbus/codegen/property-naming 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/autocleanups/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/autocleanups/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/autocleanups/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/autocleanups/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/autocleanups/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/autocleanups/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/autocleanups/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/autocleanups/.dirs/runtime 707s ok 5 /gdbus/codegen/autocleanups 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/deprecations/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/deprecations/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/deprecations/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/deprecations/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/deprecations/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/deprecations/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/deprecations/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/deprecations/.dirs/runtime 707s ok 6 /gdbus/codegen/deprecations 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/standalone-interface-info/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/standalone-interface-info/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/standalone-interface-info/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/standalone-interface-info/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/standalone-interface-info/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 707s ok 7 /gdbus/codegen/standalone-interface-info 707s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/unix-fd-list/.dirs/home 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/unix-fd-list/.dirs/cache 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/unix-fd-list/.dirs/config 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/unix-fd-list/.dirs/data 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/unix-fd-list/.dirs/state 707s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_QVALK2/gdbus/codegen/unix-fd-list/.dirs/runtime 707s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 707s ok 8 /gdbus/codegen/unix-fd-list 707s # End of codegen tests 707s # End of gdbus tests 707s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 707s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 707s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 707s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 707s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 707s ok - glib/gdbus-test-codegen-old.test 707s # Running test: glib/include.test 707s TAP version 13 707s # random seed: R02S0825e30b25c1cdc5716b627faf4916a3 707s 1..1 707s # Start of include tests 707s ok 1 /include/rwlock 707s # End of include tests 707s ok - glib/include.test 707s # Running test: glib/tls-certificate.test 707s TAP version 13 707s # random seed: R02S2f177cfec307e22c961ef8c9f60504af 707s 1..19 707s # Start of tls-certificate tests 707s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 707s ok 1 /tls-certificate/pem-parser 707s ok 2 /tls-certificate/pem-parser-handles-chain 707s ok 3 /tls-certificate/from_file 707s ok 4 /tls-certificate/from_files 707s ok 5 /tls-certificate/from_files_crlf 707s ok 6 /tls-certificate/from_files_pkcs8 707s ok 7 /tls-certificate/from_files_pkcs8enc 707s ok 8 /tls-certificate/list_from_file 707s ok 9 /tls-certificate/pkcs11-uri 707s ok 10 /tls-certificate/pkcs11-uri-unsupported 707s ok 11 /tls-certificate/from_pkcs12 707s ok 12 /tls-certificate/from_pkcs12_file 707s ok 13 /tls-certificate/not-valid-before 707s ok 14 /tls-certificate/not-valid-after 707s ok 15 /tls-certificate/subject-name 707s ok 16 /tls-certificate/issuer-name 707s ok 17 /tls-certificate/dns-names 707s ok 18 /tls-certificate/ip-addresses 707s ok 19 /tls-certificate/pem-parser-no-sentinel 707s # End of tls-certificate tests 707s ok - glib/tls-certificate.test 707s # Running test: glib/application-command-line.test 707s TAP version 13 707s # random seed: R02Sa19f45b88fa94ade703cc56f3e6111a9 707s 1..1 707s # Start of application-command-line tests 707s ok 1 /application-command-line/basic-properties 707s # End of application-command-line tests 707s ok - glib/application-command-line.test 707s # Running test: glib/genmarshal.py.test 708s TAP version 13 708s ok 1 __main__.TestGenmarshal.test_empty_list 708s # tmpdir: /tmp/tmpl04npogb 708s # genmarshal: /usr/bin/glib-genmarshal 708s # /tmp/tmpl04npogb/tmp2_oldfo1.list: 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpl04npogb/tmp2_oldfo1.list', '--header', '--quiet'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 708s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # 708s # #include 708s # 708s # G_BEGIN_DECLS 708s # 708s # 708s # G_END_DECLS 708s # 708s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpl04npogb/tmp2_oldfo1.list', '--body', '--quiet'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 708s # #include 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s ok 2 __main__.TestGenmarshal.test_help 708s # tmpdir: /tmp/tmp_ttzmbkk 708s # genmarshal: /usr/bin/glib-genmarshal 708s # Running: ['/usr/bin/glib-genmarshal', '--help'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 708s # [--internal] [--valist-marshallers] [-v] 708s # [--g-fatal-warnings] [--include-header [HEADER]] 708s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 708s # [--prototypes] [--header] [--body] 708s # [--stdinc | --nostdinc] [--quiet | --verbose] 708s # [FILE ...] 708s # 708s # Generate signal marshallers for GObject 708s # 708s # positional arguments: 708s # FILE Files with lists of marshallers to generate, or "-" 708s # for standard input 708s # 708s # options: 708s # -h, --help show this help message and exit 708s # --prefix STRING Specify marshaller prefix 708s # --output FILE Write output into the specified file 708s # --skip-source Skip source location comments 708s # --internal Mark generated functions as internal 708s # --valist-marshallers Generate va_list marshallers 708s # -v, --version Print version information, and exit 708s # --g-fatal-warnings Make warnings fatal 708s # --include-header [HEADER] 708s # Include the specified header in the body 708s # --pragma-once Use "pragma once" as the inclusion guard 708s # -D CPP_DEFINES Pre-processor define 708s # -U CPP_UNDEFINES Pre-processor undefine 708s # --prototypes Generate the marshallers prototype in the C code 708s # --header Generate C headers 708s # --body Generate C code 708s # --stdinc Include standard marshallers 708s # --nostdinc Use standard marshallers 708s # --quiet Only print warnings and errors 708s # --verbose Be verbose, and include debugging information 708s ok 3 __main__.TestGenmarshal.test_no_args 708s # tmpdir: /tmp/tmpkkm_swhx 708s # genmarshal: /usr/bin/glib-genmarshal 708s # Running: ['/usr/bin/glib-genmarshal'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # Output: 708s ok 4 __main__.TestGenmarshal.test_void_boolean 708s # tmpdir: /tmp/tmp2e12sntv 708s # genmarshal: /usr/bin/glib-genmarshal 708s # /tmp/tmp2e12sntv/tmpfn591wk6.list: VOID:BOOLEAN 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2e12sntv/tmpfn591wk6.list', '--header', '--quiet'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 708s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # 708s # #include 708s # 708s # G_BEGIN_DECLS 708s # 708s # /* VOID:BOOLEAN (/tmp/tmp2e12sntv/tmpfn591wk6.list:1) */ 708s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 708s # 708s # 708s # G_END_DECLS 708s # 708s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2e12sntv/tmpfn591wk6.list', '--body', '--quiet'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 708s # #include 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # Executing: glib/genmarshal.py.test 708s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 708s # tmpdir: /tmp/tmphtd06ytl 708s # genmarshal: /usr/bin/glib-genmarshal 708s # /tmp/tmphtd06ytl/tmp32qep72h.list: VOID:BOOLEAN,INT64 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmphtd06ytl/tmp32qep72h.list', '--header', '--quiet'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 708s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # 708s # #include 708s # 708s # G_BEGIN_DECLS 708s # 708s # /* VOID:BOOLEAN,INT64 (/tmp/tmphtd06ytl/tmp32qep72h.list:1) */ 708s # extern 708s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 708s # GValue *return_value, 708s # guint n_param_values, 708s # const GValue *param_values, 708s # gpointer invocation_hint, 708s # gpointer marshal_data); 708s # 708s # 708s # G_END_DECLS 708s # 708s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmphtd06ytl/tmp32qep72h.list', '--body', '--quiet'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 708s # #include 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # /* VOID:BOOLEAN,INT64 (/tmp/tmphtd06ytl/tmp32qep72h.list:1) */ 708s # void 708s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 708s # GValue *return_value G_GNUC_UNUSED, 708s # guint n_param_values, 708s # const GValue *param_values, 708s # gpointer invocation_hint G_GNUC_UNUSED, 708s # gpointer marshal_data) 708s # { 708s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 708s # gboolean arg1, 708s # gint64 arg2, 708s # gpointer data2); 708s # GCClosure *cc = (GCClosure *) closure; 708s # gpointer data1, data2; 708s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 708s # 708s # g_return_if_fail (n_param_values == 3); 708s # 708s # if (G_CCLOSURE_SWAP_DATA (closure)) 708s # { 708s # data1 = closure->data; 708s # data2 = g_value_peek_pointer (param_values + 0); 708s # } 708s # else 708s # { 708s # data1 = g_value_peek_pointer (param_values + 0); 708s # data2 = closure->data; 708s # } 708s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 708s # 708s # callback (data1, 708s # g_marshal_value_peek_boolean (param_values + 1), 708s # g_marshal_value_peek_int64 (param_values + 2), 708s # data2); 708s # } 708s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 708s # tmpdir: /tmp/tmp300muats 708s # genmarshal: /usr/bin/glib-genmarshal 708s # /tmp/tmp300muats/tmpbr9vcqwd.list: VOID:PARAM 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp300muats/tmpbr9vcqwd.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 708s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # 708s # G_BEGIN_DECLS 708s # 708s # /* VOID:PARAM (/tmp/tmp300muats/tmpbr9vcqwd.list:1) */ 708s # extern 708s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 708s # GValue *return_value, 708s # guint n_param_values, 708s # const GValue *param_values, 708s # gpointer invocation_hint, 708s # gpointer marshal_data); 708s # extern 708s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 708s # GValue *return_value, 708s # gpointer instance, 708s # va_list args, 708s # gpointer marshal_data, 708s # int n_params, 708s # GType *param_types); 708s # 708s # 708s # G_END_DECLS 708s # 708s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp300muats/tmpbr9vcqwd.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # /* VOID:PARAM (/tmp/tmp300muats/tmpbr9vcqwd.list:1) */ 708s # void 708s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 708s # GValue *return_value G_GNUC_UNUSED, 708s # guint n_param_values, 708s # const GValue *param_values, 708s # gpointer invocation_hint G_GNUC_UNUSED, 708s # gpointer marshal_data) 708s # { 708s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 708s # gpointer arg1, 708s # gpointer data2); 708s # GCClosure *cc = (GCClosure *) closure; 708s # gpointer data1, data2; 708s # GMarshalFunc_VOID__PARAM callback; 708s # 708s # g_return_if_fail (n_param_values == 2); 708s # 708s # if (G_CCLOSURE_SWAP_DATA (closure)) 708s # { 708s # data1 = closure->data; 708s # data2 = g_value_peek_pointer (param_values + 0); 708s # } 708s # else 708s # { 708s # data1 = g_value_peek_pointer (param_values + 0); 708s # data2 = closure->data; 708s # } 708s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 708s # 708s # callback (data1, 708s # g_marshal_value_peek_param (param_values + 1), 708s # data2); 708s # } 708s # 708s # void 708s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 708s # GValue *return_value G_GNUC_UNUSED, 708s # gpointer instance, 708s # va_list args, 708s # gpointer marshal_data, 708s # int n_params, 708s # GType *param_types) 708s # { 708s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 708s # gpointer arg1, 708s # gpointer data2); 708s # GCClosure *cc = (GCClosure *) closure; 708s # gpointer data1, data2; 708s # GMarshalFunc_VOID__PARAM callback; 708s # gpointer arg0; 708s # va_list args_copy; 708s # 708s # va_copy (args_copy, args); 708s # arg0 = (gpointer) va_arg (args_copy, gpointer); 708s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 708s # arg0 = g_param_spec_ref (arg0); 708s # va_end (args_copy); 708s # 708s # 708s # if (G_CCLOSURE_SWAP_DATA (closure)) 708s # { 708s # data1 = closure->data; 708s # data2 = instance; 708s # } 708s # else 708s # { 708s # data1 = instance; 708s # data2 = closure->data; 708s # } 708s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 708s # 708s # callback (data1, 708s # arg0, 708s # data2); 708s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 708s # g_param_spec_unref (arg0); 708s # } 708s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 708s # tmpdir: /tmp/tmp6i6hcj_g 708s # genmarshal: /usr/bin/glib-genmarshal 708s # /tmp/tmp6i6hcj_g/tmp9ddo_rpg.list: VOID:STRING 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp6i6hcj_g/tmp9ddo_rpg.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 708s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 708s # 708s # G_BEGIN_DECLS 708s # 708s # /* VOID:STRING (/tmp/tmp6i6hcj_g/tmp9ddo_rpg.list:1) */ 708s # extern 708s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 708s # GValue *return_value, 708s # guint n_param_values, 708s # const GValue *param_values, 708s # gpointer invocation_hint, 708s # gpointer marshal_data); 708s # extern 708s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 708s # GValue *return_value, 708s # gpointer instance, 708s # va_list args, 708s # gpointer marshal_data, 708s # int n_params, 708s # GType *param_types); 708s # 708s # 708s # G_END_DECLS 708s # 708s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 708s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp6i6hcj_g/tmp9ddo_rpg.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 708s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 708s # Output: /* This file is generated by glib-genmarshal, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # /* VOID:STRING (/tmp/tmp6i6hcj_g/tmp9ddo_rpg.list:1) */ 708s # void 708s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 708s # GValue *return_value G_GNUC_UNUSED, 708s # guint n_param_values, 708s # const GValue *param_values, 708s # gpointer invocation_hint G_GNUC_UNUSED, 708s # gpointer marshal_data) 708s # { 708s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 708s # gpointer arg1, 708s # gpointer data2); 708s # GCClosure *cc = (GCClosure *) closure; 708s # gpointer data1, data2; 708s # GMarshalFunc_VOID__STRING callback; 708s # 708s # g_return_if_fail (n_param_values == 2); 708s # 708s # if (G_CCLOSURE_SWAP_DATA (closure)) 708s # { 708s # data1 = closure->data; 708s # data2 = g_value_peek_pointer (param_values + 0); 708s # } 708s # else 708s # { 708s # data1 = g_value_peek_pointer (param_values + 0); 708s # data2 = closure->data; 708s # } 708s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 708s # 708s # callback (data1, 708s # g_marshal_value_peek_string (param_values + 1), 708s # data2); 708s # } 708s # 708s # void 708s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 708s # GValue *return_value G_GNUC_UNUSED, 708s # gpointer instance, 708s # va_list args, 708s # gpointer marshal_data, 708s # int n_params, 708s # GType *param_types) 708s # { 708s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 708s # gpointer arg1, 708s # gpointer data2); 708s # GCClosure *cc = (GCClosure *) closure; 708s # gpointer data1, data2; 708s # GMarshalFunc_VOID__STRING callback; 708s # gpointer arg0; 708s # va_list args_copy; 708s # 708s # va_copy (args_copy, args); 708s # arg0 = (gpointer) va_arg (args_copy, gpointer); 708s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 708s # arg0 = g_strdup (arg0); 708s # va_end (args_copy); 708s # 708s # 708s # if (G_CCLOSURE_SWAP_DATA (closure)) 708s # { 708s # data1 = closure->data; 708s # data2 = instance; 708s # } 708s # else 708s # { 708s # data1 = instance; 708s # data2 = closure->data; 708s # } 708s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 708s # 708s # callback (data1, 708s # arg0, 708s # data2); 708s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 708s # g_free (arg0); 708s # } 709s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 709s # tmpdir: /tmp/tmpzyv0j0wk 709s # genmarshal: /usr/bin/glib-genmarshal 709s # /tmp/tmpzyv0j0wk/tmpnef191pq.list: VOID:VARIANT 709s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzyv0j0wk/tmpnef191pq.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 709s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 709s # 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. */ 709s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 709s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 709s # 709s # G_BEGIN_DECLS 709s # 709s # /* VOID:VARIANT (/tmp/tmpzyv0j0wk/tmpnef191pq.list:1) */ 709s # extern 709s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 709s # GValue *return_value, 709s # guint n_param_values, 709s # const GValue *param_values, 709s # gpointer invocation_hint, 709s # gpointer marshal_data); 709s # extern 709s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 709s # GValue *return_value, 709s # gpointer instance, 709s # va_list args, 709s # gpointer marshal_data, 709s # int n_params, 709s # GType *param_types); 709s # 709s # 709s # G_END_DECLS 709s # 709s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 709s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzyv0j0wk/tmpnef191pq.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 709s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 709s # 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. */ 709s # #ifdef G_ENABLE_DEBUG 709s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 709s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 709s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 709s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 709s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 709s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 709s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 709s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 709s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 709s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 709s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 709s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 709s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 709s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 709s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 709s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 709s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 709s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 709s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 709s # #else /* !G_ENABLE_DEBUG */ 709s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 709s # * Do not access GValues directly in your code. Instead, use the 709s # * g_value_get_*() functions 709s # */ 709s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 709s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 709s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 709s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 709s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 709s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 709s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 709s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 709s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 709s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 709s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 709s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 709s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 709s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 709s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 709s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 709s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 709s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 709s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 709s # #endif /* !G_ENABLE_DEBUG */ 709s # 709s # /* VOID:VARIANT (/tmp/tmpzyv0j0wk/tmpnef191pq.list:1) */ 709s # void 709s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 709s # GValue *return_value G_GNUC_UNUSED, 709s # guint n_param_values, 709s # const GValue *param_values, 709s # gpointer invocation_hint G_GNUC_UNUSED, 709s # gpointer marshal_data) 709s # { 709s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 709s # gpointer arg1, 709s # gpointer data2); 709s # GCClosure *cc = (GCClosure *) closure; 709s # gpointer data1, data2; 709s # GMarshalFunc_VOID__VARIANT callback; 709s # 709s # g_return_if_fail (n_param_values == 2); 709s # 709s # if (G_CCLOSURE_SWAP_DATA (closure)) 709s # { 709s # data1 = closure->data; 709s # data2 = g_value_peek_pointer (param_values + 0); 709s # } 709s # else 709s # { 709s # data1 = g_value_peek_pointer (param_values + 0); 709s # data2 = closure->data; 709s # } 709s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 709s # 709s # callback (data1, 709s # g_marshal_value_peek_variant (param_values + 1), 709s # data2); 709s # } 709s # 709s # void 709s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 709s # GValue *return_value G_GNUC_UNUSED, 709s # gpointer instance, 709s # va_list args, 709s # gpointer marshal_data, 709s # int n_params, 709s # GType *param_types) 709s # { 709s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 709s # gpointer arg1, 709s # gpointer data2); 709s # GCClosure *cc = (GCClosure *) closure; 709s # gpointer data1, data2; 709s # GMarshalFunc_VOID__VARIANT callback; 709s # gpointer arg0; 709s # va_list args_copy; 709s # 709s # va_copy (args_copy, args); 709s # arg0 = (gpointer) va_arg (args_copy, gpointer); 709s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 709s # arg0 = g_variant_ref_sink (arg0); 709s # va_end (args_copy); 709s # 709s # 709s # if (G_CCLOSURE_SWAP_DATA (closure)) 709s # { 709s # data1 = closure->data; 709s # data2 = instance; 709s # } 709s # else 709s # { 709s # data1 = instance; 709s # data2 = closure->data; 709s # } 709s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 709s # 709s # callback (data1, 709s # arg0, 709s # data2); 709s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 709s # g_variant_unref (arg0); 709s # } 709s 1..8 709s ok - glib/genmarshal.py.test 709s # Running test: glib/power-profile-monitor-dbus.test 709s TAP version 13 709s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 709s 1..1 709s ok - glib/power-profile-monitor-dbus.test 709s # Running test: glib/static-link.test 709s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 709s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 709s and make sure you have glib build dependencies installed, including 709s meson. 709s ok # SKIP - glib/static-link.test 709s # Running test: glib/gdbus-method-invocation.test 709s TAP version 13 709s # random seed: R02Sf5f13d240cbc7e8b5244c6a583226c7d 709s 1..1 709s # Start of gdbus tests 709s # Start of method-invocation tests 709s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_QP4QK2/gdbus/method-invocation/return/.dirs/home 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_QP4QK2/gdbus/method-invocation/return/.dirs/cache 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_QP4QK2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_QP4QK2/gdbus/method-invocation/return/.dirs/system-config2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_QP4QK2/gdbus/method-invocation/return/.dirs/config 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_QP4QK2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_QP4QK2/gdbus/method-invocation/return/.dirs/system-data2 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_QP4QK2/gdbus/method-invocation/return/.dirs/data 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_QP4QK2/gdbus/method-invocation/return/.dirs/state 709s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_QP4QK2/gdbus/method-invocation/return/.dirs/runtime 709s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 709s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 709s # Calling org.freedesktop.DBus.Properties.Get 709s # Calling org.freedesktop.DBus.Properties.Get 709s # Calling org.freedesktop.DBus.Properties.Get 709s # Calling org.freedesktop.DBus.Properties.Set 709s # Calling org.freedesktop.DBus.Properties.GetAll 709s # Calling org.example.Foo.WrongReturnType 709s # Calling org.example.Foo.GetFDs 709s # Calling org.example.Foo.GetFDs 709s # Calling org.example.Foo.ReturnError 709s # Calling org.example.Foo.CloseBeforeReturning 709s ok 1 /gdbus/method-invocation/return 709s # End of method-invocation tests 709s # End of gdbus tests 709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 709s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 709s ok - glib/gdbus-method-invocation.test 709s # Running test: glib/refcount.test 709s TAP version 13 709s # random seed: R02S9ee1bc1838f89f174835f238c96b8fcb 709s 1..4 709s # Start of refcount tests 709s ok 1 /refcount/grefcount 709s ok 2 /refcount/gatomicrefcount 709s # Start of grefcount tests 709s ok 3 /refcount/grefcount/saturation 709s # End of grefcount tests 709s # Start of gatomicrefcount tests 709s ok 4 /refcount/gatomicrefcount/saturation 709s # End of gatomicrefcount tests 709s # End of refcount tests 709s ok - glib/refcount.test 709s # Running test: glib/properties-refcount1.test 709s TAP version 13 709s # random seed: R02Sd3f4d269e84a250fff9e11ecd61d810d 709s 1..1 709s # Start of gobject tests 709s # Start of refcount tests 709s # .f 709s # .d 709s # .c 709s # .e 709s # .b 709s # .d 709s # .c 709s # .f 709s # .e 709s # .b 709s # .d 709s # .c 709s # .d 709s # .e 709s # .c 709s # .f 709s # .b 709s # .d 709s # .c 709s # .e 709s # .f 709s # .b 710s # .d 710s # .e 710s # .c 710s # .b 710s # .f 710s # .d 710s # .b 710s # .c 710s # .d 710s # .e 710s # .f 710s # .c 710s # .d 710s # .f 710s # .e 710s # .b 710s # .d 710s # .c 710s # .c 710s # .b 710s # .d 710s # .f 710s # .e 710s # .e 710s # .f 710s # .b 710s # .b 710s # .f 710s # .e 710s # .c 710s # .c 710s # .d 710s # .f 710s # .e 710s # .b 710s # .b 710s # .c 710s # .e 710s # .d 710s # .f 710s # .d 710s # .e 710s # .b 710s # .c 710s # .b 710s # .f 710s # .c 710s # .b 710s # .d 710s # .c 710s # .f 710s # .e 710s # .c 710s # .c 710s # .e 710s # .d 710s # .c 710s # .b 710s # .f 710s # .e 710s # .c 710s # .d 710s # .b 710s # .d 710s # .e 710s # .f 710s # .c 710s # .b 710s # .d 710s # .c 710s # .f 710s # .e 710s # .d 710s # .f 710s # .b 710s # .e 710s # .b 710s # .c 710s # .f 710s # .d 710s # .e 711s # .c 711s # .b 711s # .d 711s # .b 711s # .d 711s # .b 711s # .e 711s # .c 711s # .f 711s # .d 711s # .c 711s # .f 711s # .d 711s # .e 711s # .d 711s # .b 711s # .f 711s # .c 711s # .e 711s # .b 711s # .c 711s # .b 711s # .c 711s # .f 711s # .d 711s # .e 711s # .f 711s # .b 711s # .c 711s # .d 711s # .e 711s # .f 711s # .c 711s # .e 711s # .d 711s # .b 711s # .e 711s # .f 711s # .c 711s # .f 711s # .b 711s # .d 711s # .c 711s # .e 711s # .f 711s # .b 711s # .d 711s # .f 711s # .e 711s # .e 711s # .c 711s # .d 711s # .b 711s # .f 711s # .b 711s # .b 711s # .d 711s # .f 711s # .e 711s # .c 711s # .b 711s # .f 711s # .b 711s # .c 711s # .d 711s # .e 711s # .f 711s # .d 711s # .c 711s # .e 711s # .f 711s # .b 712s # .c 712s # .b 712s # .d 712s # .e 712s # .f 712s # .c 712s # .e 712s # .f 712s # .d 712s # .b 712s # .c 712s # .f 712s # .e 712s # .d 712s # .e 712s # .c 712s # .f 712s # .b 712s # .d 712s # .e 712s # .f 712s # .c 712s # .b 712s # .d 712s # .c 712s # .e 712s # .f 712s # .f 712s # .b 712s # .d 712s # .e 712s # .c 712s # .b 712s # .e 712s # .f 712s # .d 712s # .e 712s # .f 712s # .d 712s # .b 712s ok 1 /gobject/refcount/properties-1 712s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 712s # End of refcount tests 712s # End of gobject tests 712s ok - glib/properties-refcount1.test 712s # Running test: glib/credentials.test 712s TAP version 13 712s # random seed: R02S9284fcf51d30594dc5ab8fb93f743d9b 712s 1..1 712s # Start of credentials tests 712s # GCredentials:linux-ucred:pid=13012,uid=1000,gid=1000 712s # GCredentials:linux-ucred:pid=13012,uid=0,gid=1000 712s ok 1 /credentials/basic 712s # End of credentials tests 712s ok - glib/credentials.test 712s # Running test: glib/type-flags.test 712s TAP version 13 712s # random seed: R02S684ce38a47465a79e8acd43d7a9fa0d8 712s 1..4 712s # Start of type tests 712s # Start of flags tests 712s ok 1 /type/flags/interface 712s ok 2 /type/flags/final 712s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 712s ok 3 /type/flags/deprecated 712s # Start of final tests 712s ok 4 /type/flags/final/instance-check 712s # End of final tests 712s # End of flags tests 712s # End of type tests 712s ok - glib/type-flags.test 712s # Running test: glib/trash.test 712s TAP version 13 712s # random seed: R02S47ae0fe8544fe84ab30cde20f47bc568 712s 1..2 712s # Start of trash tests 712s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 712s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 712s # File: /tmp/test-trashD1TSK2 (parent st_dev: 64769) 712s # Home: /home/ubuntu (st_dev: 64769) 712s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 712s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 712s # Target: /home/ubuntu/.local (mount: /) 712s # Tmp: /tmp/test-trashJBSSK2 (mount: /) 712s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test 712s # End of trash tests 712s ok - glib/trash.test 712s # Running test: glib/types.test 712s TAP version 13 712s # random seed: R02S8f84d4801c4b68469a3d10a255201e1b 712s 1..1 712s # Start of types tests 712s ok 1 /types/basic_types 712s # End of types tests 712s ok - glib/types.test 712s # Running test: glib/unix-streams.test 712s TAP version 13 712s # random seed: R02Sa73594ea5662fe9da0675e9638d38466 712s 1..9 712s # Start of unix-streams tests 712s ok 1 /unix-streams/basic 713s ok 2 /unix-streams/pipe-io-test 713s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 713s # Executing: glib/unix-streams.test 713s ok 3 /unix-streams/nonblocking-io-test 713s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 713s ok 4 /unix-streams/read_write 713s ok 5 /unix-streams/read_writev 713s ok 6 /unix-streams/write-wouldblock 713s ok 7 /unix-streams/writev-wouldblock 713s ok 8 /unix-streams/write-async-wouldblock 713s ok 9 /unix-streams/writev-async-wouldblock 713s # End of unix-streams tests 713s ok - glib/unix-streams.test 713s # Running test: glib/converter-stream.test 713s TAP version 13 713s # random seed: R02S88b861e8bd56e3e826a0c972e485d423 713s 1..17 713s # Start of converter tests 713s ok 1 /converter/basics 713s # End of converter tests 713s # Start of converter-input-stream tests 713s ok 2 /converter-input-stream/expander 713s ok 3 /converter-input-stream/compressor 713s # Start of truncation tests 713s ok 4 /converter-input-stream/truncation/zlib 714s ok 5 /converter-input-stream/truncation/gzip 714s ok 6 /converter-input-stream/truncation/raw 714s # End of truncation tests 714s # Start of charset tests 714s ok 7 /converter-input-stream/charset/utf8->latin1 714s ok 8 /converter-input-stream/charset/latin1->utf8 714s ok 9 /converter-input-stream/charset/fallbacks 714s # End of charset tests 714s # End of converter-input-stream tests 714s # Start of converter-output-stream tests 714s # Start of roundtrip tests 714s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 714s ok 10 /converter-output-stream/roundtrip/zlib-0 714s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 714s ok 11 /converter-output-stream/roundtrip/zlib-9 714s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 714s ok 12 /converter-output-stream/roundtrip/gzip-0 714s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 714s ok 13 /converter-output-stream/roundtrip/gzip-9 714s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 714s ok 14 /converter-output-stream/roundtrip/raw-0 714s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 714s ok 15 /converter-output-stream/roundtrip/raw-9 714s # End of roundtrip tests 714s # End of converter-output-stream tests 714s # Start of converter-stream tests 714s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 714s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa3bf3ab70 and GSocketClientAsyncConnectData 0x2aa3bf3b4e0 714s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 714s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 714s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa3bb43aa0 for GSocketClientAsyncConnectData 0x2aa3bf3b4e0 714s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 714s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 714s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 714s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 714s ok 16 /converter-stream/pollable 714s ok 17 /converter-stream/leftover 714s # End of converter-stream tests 714s ok - glib/converter-stream.test 714s # Running test: glib/mutex.test 714s TAP version 13 714s # random seed: R02Scd8ef11ad524c8bdaa08356c4ffdd2fa 714s 1..17 714s # Start of thread tests 714s ok 1 /thread/mutex1 714s ok 2 /thread/mutex2 714s ok 3 /thread/mutex3 714s ok 4 /thread/mutex4 718s # Executing: glib/mutex.test 722s ok 5 /thread/mutex5 722s # slow test /thread/mutex5 executed in 7.79 secs 722s # Start of mutex tests 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 722s # /thread/mutex/errno summary: Validates that errno is not touched upon return 722s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 723s ok 6 /thread/mutex/errno 723s # slow test /thread/mutex/errno executed in 0.64 secs 723s # Start of perf tests 723s # max perf: inf mips 723s ok 7 /thread/mutex/perf/uncontended 723s # Start of contended tests 723s # max perf: inf mips 723s ok 8 /thread/mutex/perf/contended/1 723s # max perf: inf mips 723s ok 9 /thread/mutex/perf/contended/2 723s # max perf: inf mips 723s ok 10 /thread/mutex/perf/contended/3 723s # max perf: inf mips 723s ok 11 /thread/mutex/perf/contended/4 723s # max perf: inf mips 723s ok 12 /thread/mutex/perf/contended/5 723s # max perf: inf mips 723s ok 13 /thread/mutex/perf/contended/6 723s # max perf: 0.074074 mips 723s ok 14 /thread/mutex/perf/contended/7 723s # max perf: 9.000000 mips 723s ok 15 /thread/mutex/perf/contended/8 723s # max perf: inf mips 723s ok 16 /thread/mutex/perf/contended/9 723s # max perf: inf mips 723s ok 17 /thread/mutex/perf/contended/10 723s # End of contended tests 723s # End of perf tests 723s # End of mutex tests 723s # End of thread tests 723s ok - glib/mutex.test 723s # Running test: glib/ifaceproperties.test 723s TAP version 13 723s # random seed: R02S5f36774aebe59a52cbf70996dfca822f 723s 1..7 723s # Start of interface tests 723s # Start of properties tests 723s ok 1 /interface/properties/set 723s ok 2 /interface/properties/notify 723s ok 3 /interface/properties/find-overridden 723s ok 4 /interface/properties/list-overridden 723s ok 5 /interface/properties/find-interface 723s ok 6 /interface/properties/list-interface 723s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 723s ok 7 /interface/properties/not-overridden 723s # End of properties tests 723s # End of interface tests 723s ok - glib/ifaceproperties.test 723s # Running test: glib/bookmarkfile.test 723s TAP version 13 723s # random seed: R02S181cd0e86b7e1e14f498aefc5d5f6429 723s 1..96 723s # Start of bookmarks tests 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/load-from-data-dirs/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/load-from-data-dirs/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/load-from-data-dirs/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/load-from-data-dirs/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/load-from-data-dirs/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/load-from-data-dirs/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/load-from-data-dirs/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/load-from-data-dirs/.dirs/runtime 723s ok 1 /bookmarks/load-from-data-dirs 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/to-file/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/to-file/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/to-file/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/to-file/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/to-file/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/to-file/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/to-file/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/to-file/.dirs/runtime 723s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_Z7U1K2/bookmarkfile-test-IFT1K2.xbel 723s # Roundtrip from a valid bookmark file 723s ok 2 /bookmarks/to-file 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/move-item/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/move-item/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/move-item/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/move-item/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/move-item/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/move-item/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/move-item/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/move-item/.dirs/runtime 723s ok 3 /bookmarks/move-item 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/corner-cases/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/corner-cases/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/corner-cases/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/corner-cases/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/corner-cases/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/corner-cases/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/corner-cases/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/corner-cases/.dirs/runtime 723s ok 4 /bookmarks/corner-cases 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/misc/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/misc/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/misc/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/misc/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/misc/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/misc/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/misc/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/misc/.dirs/runtime 723s ok 5 /bookmarks/misc 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/deprecated/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/deprecated/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/deprecated/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/deprecated/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/deprecated/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/deprecated/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/deprecated/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/deprecated/.dirs/runtime 723s ok 6 /bookmarks/deprecated 723s # Start of parse tests 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-36.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-36.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-36.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-36.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-36.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-36.xbel/.dirs/runtime 723s ok 7 /bookmarks/parse/fail-36.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-10.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-10.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-10.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-10.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-10.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-10.xbel/.dirs/runtime 723s ok 8 /bookmarks/parse/fail-10.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-41.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-41.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-41.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-41.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-41.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-41.xbel/.dirs/runtime 723s ok 9 /bookmarks/parse/fail-41.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-24.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-24.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-24.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-24.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-24.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-24.xbel/.dirs/runtime 723s ok 10 /bookmarks/parse/fail-24.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-12.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-12.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-12.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-12.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-12.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-12.xbel/.dirs/runtime 723s ok 11 /bookmarks/parse/fail-12.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-06.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-06.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-06.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-06.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-06.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-06.xbel/.dirs/runtime 723s ok 12 /bookmarks/parse/fail-06.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-32.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-32.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-32.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-32.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-32.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-32.xbel/.dirs/runtime 723s ok 13 /bookmarks/parse/fail-32.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-38.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-38.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-38.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-38.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-38.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-38.xbel/.dirs/runtime 723s ok 14 /bookmarks/parse/fail-38.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-08.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-08.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-08.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-08.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-08.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-08.xbel/.dirs/runtime 723s ok 15 /bookmarks/parse/fail-08.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-03.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-03.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-03.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-03.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-03.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-03.xbel/.dirs/runtime 723s ok 16 /bookmarks/parse/valid-03.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-25.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-25.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-25.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-25.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-25.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-25.xbel/.dirs/runtime 723s ok 17 /bookmarks/parse/fail-25.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-34.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-34.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-34.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-34.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-34.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-34.xbel/.dirs/runtime 723s ok 18 /bookmarks/parse/fail-34.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-04.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-04.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-04.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-04.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-04.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-04.xbel/.dirs/runtime 723s ok 19 /bookmarks/parse/fail-04.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-03.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-03.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-03.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-03.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-03.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-03.xbel/.dirs/runtime 723s ok 20 /bookmarks/parse/fail-03.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-35.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-35.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-35.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-35.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-35.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-35.xbel/.dirs/runtime 723s ok 21 /bookmarks/parse/fail-35.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-26.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-26.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-26.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-26.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-26.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-26.xbel/.dirs/runtime 723s ok 22 /bookmarks/parse/fail-26.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-18.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-18.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-18.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-18.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-18.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-18.xbel/.dirs/runtime 723s ok 23 /bookmarks/parse/fail-18.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-21.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-21.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-21.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-21.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-21.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-21.xbel/.dirs/runtime 723s ok 24 /bookmarks/parse/fail-21.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-01.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-01.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-01.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-01.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-01.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-01.xbel/.dirs/runtime 723s ok 25 /bookmarks/parse/fail-01.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-28.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-28.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-28.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-28.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-28.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-28.xbel/.dirs/runtime 723s ok 26 /bookmarks/parse/fail-28.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-33.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-33.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-33.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-33.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-33.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-33.xbel/.dirs/runtime 723s ok 27 /bookmarks/parse/fail-33.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-07.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-07.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-07.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-07.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-07.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-07.xbel/.dirs/runtime 723s ok 28 /bookmarks/parse/fail-07.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-09.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-09.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-09.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-09.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-09.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-09.xbel/.dirs/runtime 723s ok 29 /bookmarks/parse/fail-09.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-40.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-40.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-40.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-40.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-40.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-40.xbel/.dirs/runtime 723s ok 30 /bookmarks/parse/fail-40.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-22.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-22.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-22.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-22.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-22.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-22.xbel/.dirs/runtime 723s ok 31 /bookmarks/parse/fail-22.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-39.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-39.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-39.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-39.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-39.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-39.xbel/.dirs/runtime 723s ok 32 /bookmarks/parse/fail-39.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-01.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-01.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-01.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-01.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-01.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-01.xbel/.dirs/runtime 723s ok 33 /bookmarks/parse/valid-01.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-17.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-17.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-17.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-17.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-17.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-17.xbel/.dirs/runtime 723s ok 34 /bookmarks/parse/fail-17.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-42.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-42.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-42.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-42.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-42.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-42.xbel/.dirs/runtime 723s ok 35 /bookmarks/parse/fail-42.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-02.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-02.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-02.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-02.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-02.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-02.xbel/.dirs/runtime 723s ok 36 /bookmarks/parse/fail-02.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-31.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-31.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-31.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-31.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-31.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-31.xbel/.dirs/runtime 723s ok 37 /bookmarks/parse/fail-31.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-23.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-23.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-23.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-23.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-23.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-23.xbel/.dirs/runtime 723s ok 38 /bookmarks/parse/fail-23.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-11.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-11.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-11.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-11.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-11.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-11.xbel/.dirs/runtime 723s ok 39 /bookmarks/parse/fail-11.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-37.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-37.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-37.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-37.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-37.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-37.xbel/.dirs/runtime 723s ok 40 /bookmarks/parse/fail-37.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-16.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-16.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-16.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-16.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-16.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-16.xbel/.dirs/runtime 723s ok 41 /bookmarks/parse/fail-16.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-15.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-15.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-15.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-15.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-15.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-15.xbel/.dirs/runtime 723s ok 42 /bookmarks/parse/fail-15.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-19.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-19.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-19.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-19.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-19.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-19.xbel/.dirs/runtime 723s ok 43 /bookmarks/parse/fail-19.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-13.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-13.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-13.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-13.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-13.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-13.xbel/.dirs/runtime 723s ok 44 /bookmarks/parse/fail-13.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-30.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-30.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-30.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-30.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-30.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-30.xbel/.dirs/runtime 723s ok 45 /bookmarks/parse/fail-30.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-29.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-29.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-29.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-29.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-29.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-29.xbel/.dirs/runtime 723s ok 46 /bookmarks/parse/fail-29.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-27.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-27.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-27.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-27.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-27.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-27.xbel/.dirs/runtime 723s ok 47 /bookmarks/parse/fail-27.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-02.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-02.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-02.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-02.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-02.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/valid-02.xbel/.dirs/runtime 723s ok 48 /bookmarks/parse/valid-02.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-14.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-14.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-14.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-14.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-14.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-14.xbel/.dirs/runtime 723s ok 49 /bookmarks/parse/fail-14.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-05.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-05.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-05.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-05.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-05.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-05.xbel/.dirs/runtime 723s ok 50 /bookmarks/parse/fail-05.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-20.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-20.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-20.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-20.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-20.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/parse/fail-20.xbel/.dirs/runtime 723s ok 51 /bookmarks/parse/fail-20.xbel 723s # End of parse tests 723s # Start of copy tests 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-36.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-36.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-36.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-36.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-36.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-36.xbel/.dirs/runtime 723s ok 52 /bookmarks/copy/fail-36.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-10.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-10.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-10.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-10.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-10.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-10.xbel/.dirs/runtime 723s ok 53 /bookmarks/copy/fail-10.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-41.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-41.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-41.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-41.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-41.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-41.xbel/.dirs/runtime 723s ok 54 /bookmarks/copy/fail-41.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-24.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-24.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-24.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-24.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-24.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-24.xbel/.dirs/runtime 723s ok 55 /bookmarks/copy/fail-24.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-12.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-12.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-12.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-12.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-12.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-12.xbel/.dirs/runtime 723s ok 56 /bookmarks/copy/fail-12.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-06.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-06.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-06.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-06.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-06.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-06.xbel/.dirs/runtime 723s ok 57 /bookmarks/copy/fail-06.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-32.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-32.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-32.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-32.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-32.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-32.xbel/.dirs/runtime 723s ok 58 /bookmarks/copy/fail-32.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-38.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-38.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-38.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-38.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-38.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-38.xbel/.dirs/runtime 723s ok 59 /bookmarks/copy/fail-38.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-08.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-08.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-08.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-08.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-08.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-08.xbel/.dirs/runtime 723s ok 60 /bookmarks/copy/fail-08.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-03.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-03.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-03.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-03.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-03.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-03.xbel/.dirs/runtime 723s ok 61 /bookmarks/copy/valid-03.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-25.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-25.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-25.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-25.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-25.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-25.xbel/.dirs/runtime 723s ok 62 /bookmarks/copy/fail-25.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-34.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-34.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-34.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-34.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-34.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-34.xbel/.dirs/runtime 723s ok 63 /bookmarks/copy/fail-34.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-04.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-04.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-04.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-04.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-04.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-04.xbel/.dirs/runtime 723s ok 64 /bookmarks/copy/fail-04.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-03.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-03.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-03.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-03.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-03.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-03.xbel/.dirs/runtime 723s ok 65 /bookmarks/copy/fail-03.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-35.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-35.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-35.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-35.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-35.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-35.xbel/.dirs/runtime 723s ok 66 /bookmarks/copy/fail-35.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-26.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-26.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-26.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-26.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-26.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-26.xbel/.dirs/runtime 723s ok 67 /bookmarks/copy/fail-26.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-18.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-18.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-18.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-18.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-18.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-18.xbel/.dirs/runtime 723s ok 68 /bookmarks/copy/fail-18.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-21.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-21.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-21.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-21.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-21.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-21.xbel/.dirs/runtime 723s ok 69 /bookmarks/copy/fail-21.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-01.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-01.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-01.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-01.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-01.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-01.xbel/.dirs/runtime 723s ok 70 /bookmarks/copy/fail-01.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-28.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-28.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-28.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-28.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-28.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-28.xbel/.dirs/runtime 723s ok 71 /bookmarks/copy/fail-28.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-33.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-33.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-33.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-33.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-33.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-33.xbel/.dirs/runtime 723s ok 72 /bookmarks/copy/fail-33.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-07.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-07.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-07.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-07.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-07.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-07.xbel/.dirs/runtime 723s ok 73 /bookmarks/copy/fail-07.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-09.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-09.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-09.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-09.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-09.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-09.xbel/.dirs/runtime 723s ok 74 /bookmarks/copy/fail-09.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-40.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-40.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-40.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-40.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-40.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-40.xbel/.dirs/runtime 723s ok 75 /bookmarks/copy/fail-40.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-22.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-22.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-22.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-22.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-22.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-22.xbel/.dirs/runtime 723s ok 76 /bookmarks/copy/fail-22.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-39.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-39.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-39.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-39.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-39.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-39.xbel/.dirs/runtime 723s ok 77 /bookmarks/copy/fail-39.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-01.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-01.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-01.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-01.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-01.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-01.xbel/.dirs/runtime 723s ok 78 /bookmarks/copy/valid-01.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-17.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-17.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-17.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-17.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-17.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-17.xbel/.dirs/runtime 723s ok 79 /bookmarks/copy/fail-17.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-42.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-42.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-42.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-42.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-42.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-42.xbel/.dirs/runtime 723s ok 80 /bookmarks/copy/fail-42.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-02.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-02.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-02.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-02.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-02.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-02.xbel/.dirs/runtime 723s ok 81 /bookmarks/copy/fail-02.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-31.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-31.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-31.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-31.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-31.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-31.xbel/.dirs/runtime 723s ok 82 /bookmarks/copy/fail-31.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-23.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-23.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-23.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-23.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-23.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-23.xbel/.dirs/runtime 723s ok 83 /bookmarks/copy/fail-23.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-11.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-11.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-11.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-11.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-11.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-11.xbel/.dirs/runtime 723s ok 84 /bookmarks/copy/fail-11.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-37.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-37.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-37.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-37.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-37.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-37.xbel/.dirs/runtime 723s ok 85 /bookmarks/copy/fail-37.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-16.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-16.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-16.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-16.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-16.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-16.xbel/.dirs/runtime 723s ok 86 /bookmarks/copy/fail-16.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-15.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-15.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-15.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-15.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-15.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-15.xbel/.dirs/runtime 723s ok 87 /bookmarks/copy/fail-15.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-19.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-19.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-19.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-19.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-19.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-19.xbel/.dirs/runtime 723s ok 88 /bookmarks/copy/fail-19.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-13.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-13.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-13.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-13.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-13.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-13.xbel/.dirs/runtime 723s ok 89 /bookmarks/copy/fail-13.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-30.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-30.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-30.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-30.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-30.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-30.xbel/.dirs/runtime 723s ok 90 /bookmarks/copy/fail-30.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-29.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-29.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-29.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-29.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-29.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-29.xbel/.dirs/runtime 723s ok 91 /bookmarks/copy/fail-29.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-27.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-27.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-27.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-27.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-27.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-27.xbel/.dirs/runtime 723s ok 92 /bookmarks/copy/fail-27.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-02.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-02.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-02.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-02.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-02.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/valid-02.xbel/.dirs/runtime 723s ok 93 /bookmarks/copy/valid-02.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-14.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-14.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-14.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-14.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-14.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-14.xbel/.dirs/runtime 723s ok 94 /bookmarks/copy/fail-14.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-05.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-05.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-05.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-05.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-05.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-05.xbel/.dirs/runtime 723s ok 95 /bookmarks/copy/fail-05.xbel 723s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-20.xbel/.dirs/home 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-20.xbel/.dirs/cache 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-20.xbel/.dirs/config 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-20.xbel/.dirs/data 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-20.xbel/.dirs/state 723s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_Z7U1K2/bookmarks/copy/fail-20.xbel/.dirs/runtime 723s ok 96 /bookmarks/copy/fail-20.xbel 723s # End of copy tests 723s # End of bookmarks tests 723s ok - glib/bookmarkfile.test 723s # Running test: glib/messages-low-memory.py.test 723s TAP version 13 723s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 723s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 723s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 723s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 723s # Return code: -6 723s # Output: 723s # Error: GLib-Message: 15:43:18.376: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 723s # GLib-Message: 15:43:18.376: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 723s # ../../../glib/gprintf.c:350: failed to allocate memory 723s 1..1 723s ok - glib/messages-low-memory.py.test 723s # Running test: glib/macros.test 723s TAP version 13 723s # random seed: R02Sbf97151aad66983bd31f088607fb0690 723s 1..3 723s # Start of alignof tests 723s ok 1 /alignof/fallback 723s # End of alignof tests 723s # Start of assert tests 723s ok 2 /assert/static 723s # End of assert tests 723s # Start of struct tests 723s ok 3 /struct/sizeof_member 723s # End of struct tests 723s ok - glib/macros.test 723s # Running test: glib/signals-refcount4.test 723s TAP version 13 723s # random seed: R02S4bc0c30b70d6bd4aa06188087d8ef488 723s 1..1 723s # Start of gobject tests 723s # Start of refcount tests 723s # init 0x2aa40e19420 723s # 723s # init 0x2aa40e195c0 723s # 723s # Executing: glib/signals-refcount4.test 728s # dispose 0x2aa40e19420! 728s # 728s # dispose 0x2aa40e195c0! 728s # 728s ok 1 /gobject/refcount/signals 728s # slow test /gobject/refcount/signals executed in 5.00 secs 728s # End of refcount tests 728s # End of gobject tests 728s ok - glib/signals-refcount4.test 728s # Running test: glib/portal-support-snap-classic.test 728s TAP version 13 728s # random seed: R02S72858b3571e5c17bf5aa43125afb2209 728s 1..3 728s # Start of portal-support tests 728s # Start of snap-classic tests 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/no-snapctl/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/no-snapctl/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/no-snapctl/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/no-snapctl/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/no-snapctl/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/no-snapctl/.dirs/runtime 728s ok 1 /portal-support/snap-classic/no-snapctl 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/none/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/none/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/none/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/none/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/none/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/none/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/none/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/none/.dirs/runtime 728s # Created snap.yaml in /tmp/test_portal-support-snap-classic_2ALUK2/meta/snap.yaml 728s # Created snapctl in /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/none/.dirs/runtime/snapctl 728s ok 2 /portal-support/snap-classic/none 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/all/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/all/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/all/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/all/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/all/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/all/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/all/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/all/.dirs/runtime 728s # Created snap.yaml in /tmp/test_portal-support-snap-classic_2ALUK2/meta/snap.yaml 728s # Created snapctl in /tmp/test_portal-support-snap-classic_2ALUK2/portal-support/snap-classic/all/.dirs/runtime/snapctl 728s ok 3 /portal-support/snap-classic/all 728s # End of snap-classic tests 728s # End of portal-support tests 728s ok - glib/portal-support-snap-classic.test 728s # Running test: glib/simple-async-result.test 728s TAP version 13 728s # random seed: R02S0d471eba8e1a119f4d6f97ed94fd9ff5 728s 1..2 728s # Start of gio tests 728s # Start of simple-async-result tests 728s ok 1 /gio/simple-async-result/test 728s # GLib-GIO-DEBUG: GTask 0x2aa1c2346e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 728s ok 2 /gio/simple-async-result/valid 728s # End of simple-async-result tests 728s # End of gio tests 728s ok - glib/simple-async-result.test 728s # Running test: glib/tree.test 728s TAP version 13 728s # random seed: R02S757289987adfb3bfc38b3153c55e75ee 728s 1..7 728s # Start of tree tests 728s ok 1 /tree/search 728s ok 2 /tree/remove 728s ok 3 /tree/destroy 728s ok 4 /tree/traverse 728s ok 5 /tree/insert 728s ok 6 /tree/bounds 728s ok 7 /tree/remove-all 728s # End of tree tests 728s ok - glib/tree.test 728s # Running test: glib/defaultvalue.test 728s TAP version 13 728s # random seed: R02S3a418e7ded77d01edaa4d1f85701a8fe 728s 1..84 728s # Start of Default Values tests 728s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 728s ok 2 /Default Values/GAppLaunchContext 728s ok 3 /Default Values/GApplicationCommandLine 728s # skipping GApplication:is-remote 728s ok 4 /Default Values/GApplication 728s ok 5 /Default Values/GBinding # SKIP mandatory construct params 728s ok 6 /Default Values/GBindingGroup 728s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 728s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 728s ok 9 /Default Values/GBytesIcon 728s ok 10 /Default Values/GCancellable 728s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 728s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 728s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 728s ok 14 /Default Values/GCredentials 728s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 728s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 728s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 728s ok 18 /Default Values/GDBusAuthObserver 728s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 728s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 728s ok 21 /Default Values/GDBusMessage 728s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 728s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 728s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 728s ok 25 /Default Values/GDBusObjectProxy 728s ok 26 /Default Values/GDBusObjectSkeleton 728s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 728s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 728s ok 29 /Default Values/GEmblem 728s ok 30 /Default Values/GEmblemedIcon 728s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 728s ok 32 /Default Values/GFileInfo 728s ok 33 /Default Values/GFileInputStream 728s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 728s ok 35 /Default Values/GFileOutputStream 728s ok 36 /Default Values/GFilenameCompleter 728s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 728s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 728s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 728s ok 40 /Default Values/GInitiallyUnowned 728s ok 41 /Default Values/GIOModule 728s ok 42 /Default Values/GListStore 728s ok 43 /Default Values/GMemoryInputStream 728s ok 44 /Default Values/GMemoryOutputStream 728s ok 45 /Default Values/GMenu 728s ok 46 /Default Values/GMenuItem 728s ok 47 /Default Values/GMountOperation 728s ok 48 /Default Values/GNativeSocketAddress 728s ok 49 /Default Values/GNetworkAddress 728s ok 50 /Default Values/GNetworkService 728s ok 51 /Default Values/GNotification 728s ok 52 /Default Values/GObject 728s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 728s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 728s # skipping GProxyAddressEnumerator:proxy-resolver 728s ok 54 /Default Values/GProxyAddressEnumerator 728s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 728s ok 56 /Default Values/GSettings # SKIP mandatory construct params 728s ok 57 /Default Values/GSignalGroup 728s ok 58 /Default Values/GSimpleAction 728s ok 59 /Default Values/GSimpleActionGroup 728s ok 60 /Default Values/GSimpleAsyncResult 728s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 728s ok 62 /Default Values/GSimplePermission 728s ok 63 /Default Values/GSimpleProxyResolver 728s # skipping GSocketClient:proxy-resolver 728s ok 64 /Default Values/GSocketClient 728s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 728s ok 66 /Default Values/GSocket # SKIP initialization failed 728s ok 67 /Default Values/GSocketListener 728s ok 68 /Default Values/GSocketService 728s ok 69 /Default Values/GSubprocess # SKIP initialization failed 728s ok 70 /Default Values/GSubprocessLauncher 728s # GLib-GIO-DEBUG: GTask 0x2aa2dd54030 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 728s ok 71 /Default Values/GTask 728s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 728s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 728s ok 74 /Default Values/GTestDBus 728s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 728s ok 76 /Default Values/GThreadedSocketService 728s ok 77 /Default Values/GTlsInteraction 728s ok 78 /Default Values/GTlsPassword 728s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 728s ok 80 /Default Values/GUnixFDList 728s ok 81 /Default Values/GVfs 728s ok 82 /Default Values/GVolumeMonitor 728s ok 83 /Default Values/GZlibCompressor 728s ok 84 /Default Values/GZlibDecompressor 728s # End of Default Values tests 728s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 728s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 728s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 728s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 728s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 728s ok - glib/defaultvalue.test 728s # Running test: glib/object-info.test 728s TAP version 13 728s # random seed: R02S24c909056052e8b4170c7c77da59ea2d 728s 1..2 728s # Start of object-info tests 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_CHWTK2/object-info/find-method-using-interfaces/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_CHWTK2/object-info/find-method-using-interfaces/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_CHWTK2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_CHWTK2/object-info/find-method-using-interfaces/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_CHWTK2/object-info/find-method-using-interfaces/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_CHWTK2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_CHWTK2/object-info/find-method-using-interfaces/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_CHWTK2/object-info/find-method-using-interfaces/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_CHWTK2/object-info/find-method-using-interfaces/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_CHWTK2/object-info/find-method-using-interfaces/.dirs/runtime 728s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 728s ok 1 /object-info/find-method-using-interfaces 728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_CHWTK2/object-info/find-vfunc-using-interfaces/.dirs/home 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_CHWTK2/object-info/find-vfunc-using-interfaces/.dirs/cache 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_CHWTK2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_CHWTK2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_CHWTK2/object-info/find-vfunc-using-interfaces/.dirs/config 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_CHWTK2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_CHWTK2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_CHWTK2/object-info/find-vfunc-using-interfaces/.dirs/data 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_CHWTK2/object-info/find-vfunc-using-interfaces/.dirs/state 728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_CHWTK2/object-info/find-vfunc-using-interfaces/.dirs/runtime 728s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 728s ok 2 /object-info/find-vfunc-using-interfaces 728s # End of object-info tests 728s ok - glib/object-info.test 728s # Running test: glib/memory-output-stream.test 728s TAP version 13 728s # random seed: R02S07ba8d8033d9adce0c309994c6473d60 728s 1..10 728s # Start of memory-output-stream tests 728s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 728s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 728s ok 1 /memory-output-stream/truncate 728s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 728s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 728s ok 2 /memory-output-stream/get-data-size 728s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 728s ok 3 /memory-output-stream/properties 728s ok 4 /memory-output-stream/write-bytes 728s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 728s ok 5 /memory-output-stream/write-null 728s ok 6 /memory-output-stream/writev 728s ok 7 /memory-output-stream/writev_nonblocking 728s ok 8 /memory-output-stream/steal_as_bytes 728s # Start of seek tests 728s ok 9 /memory-output-stream/seek/fixed 728s ok 10 /memory-output-stream/seek/resizable 728s # End of seek tests 728s # End of memory-output-stream tests 728s ok - glib/memory-output-stream.test 728s # Running test: glib/override.test 728s TAP version 13 728s # random seed: R02Sa818694f0bb2181454a7f5f24d76cf25 728s 1..1 728s # Start of gobject tests 728s # *** emitting foo on a TestA instance 728s # Expecting: TestA::foo,TestI::foo 728s # Got: TestA::foo,TestI::foo 728s # *** emitting bar on a TestA instance 728s # Expecting: TestA::bar 728s # Got: TestA::bar 728s # *** emitting baz on a TestA instance 728s # Expecting: TestA::baz 728s # Got: TestA::baz 728s # *** emitting foo on a TestB instance 728s # Expecting: TestB::foo,TestA::foo,TestI::foo 728s # Got: TestB::foo,TestA::foo,TestI::foo 728s # *** emitting bar on a TestB instance 728s # Expecting: TestB::bar,TestA::bar 728s # Got: TestB::bar,TestA::bar 728s # *** emitting baz on a TestB instance 728s # Expecting: TestB::baz,TestA::baz 728s # Got: TestB::baz,TestA::baz 728s # *** emitting foo on a TestC instance 728s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 728s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 728s # *** emitting bar on a TestC instance 728s # Expecting: TestC::bar,TestB::bar,TestA::bar 728s # Got: TestC::bar,TestB::bar,TestA::bar 728s # *** emitting baz on a TestC instance 728s # Expecting: TestC::baz,TestB::baz,TestA::baz 728s # Got: TestC::baz,TestB::baz,TestA::baz 728s ok 1 /gobject/override 728s # End of gobject tests 728s ok - glib/override.test 728s # Running test: glib/charset.test 728s TAP version 13 728s # random seed: R02Sb1ad6c93b802ad038de42134c6f1bfd5 728s 1..2 728s # Start of charset tests 728s # Test 0 728s # Test 1 728s # Test 2 728s # Test 3 728s ok 1 /charset/language_names_with_category 728s ok 2 /charset/language_names_with_category_async 728s # End of charset tests 728s ok - glib/charset.test 728s # Running test: glib/gdbus-threading.test 728s TAP version 13 728s # random seed: R02Saf03bcd0ab64405edd38e5131496e545 728s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 728s ok - glib/gdbus-threading.test 728s # Running test: glib/once.test 728s TAP version 13 728s # random seed: R02S1f3ea9562037332c1c2d98f554ae9ff4 728s 1..5 728s # Start of once tests 728s # /once/single-threaded summary: Test g_once() usage from a single thread 728s ok 1 /once/single-threaded 728s # /once/multi-threaded summary: Test g_once() usage from multiple threads 728s ok 2 /once/multi-threaded 728s # End of once tests 728s # Start of once-init tests 728s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 728s ok 3 /once-init/single-threaded 728s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 728s ok 4 /once-init/multi-threaded 728s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 728s ok 5 /once-init/string 728s # End of once-init tests 728s ok - glib/once.test 728s # Running test: glib/param.test 728s TAP version 13 728s # random seed: R02S479b16176812490eb711643b57e9c23a 728s # Executing: glib/param.test 728s 1..32 728s # Start of param tests 728s ok 1 /param/value 728s ok 2 /param/strings 728s ok 3 /param/qdata 728s ok 4 /param/validate 728s ok 5 /param/convert 728s ok 6 /param/implement # SKIP Skipping slow /param/implement test 728s ok 7 /param/default 728s ok 8 /param/is-valid-name 728s # Start of invalid-name tests 728s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 728s ok 9 /param/invalid-name/colon 728s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 728s ok 10 /param/invalid-name/first-char 728s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 728s ok 11 /param/invalid-name/empty 728s # End of invalid-name tests 728s # Start of implement tests 728s # Start of subprocess tests 728s # End of subprocess tests 728s # End of implement tests 728s # End of param tests 728s # Start of value tests 728s ok 12 /value/transform 728s # End of value tests 728s # Start of paramspec tests 728s ok 13 /paramspec/char 728s ok 14 /paramspec/uchar 728s ok 15 /paramspec/int 728s ok 16 /paramspec/uint 728s ok 17 /paramspec/long 728s ok 18 /paramspec/ulong 728s ok 19 /paramspec/int64 728s ok 20 /paramspec/uint64 728s ok 21 /paramspec/float 728s ok 22 /paramspec/double 728s ok 23 /paramspec/unichar 728s ok 24 /paramspec/param 728s ok 25 /paramspec/null-param 728s ok 26 /paramspec/string 728s ok 27 /paramspec/override 728s ok 28 /paramspec/gtype 728s ok 29 /paramspec/variant 728s ok 30 /paramspec/custom 728s ok 31 /paramspec/pool 728s # Start of variant tests 728s ok 32 /paramspec/variant/cmp 728s # End of variant tests 728s # End of paramspec tests 728s ok - glib/param.test 728s # Running test: glib/filter-streams.test 728s TAP version 13 728s # random seed: R02Sd810d62e790c9bda566486e32dcc822a 728s 1..4 728s # Start of filter-stream tests 728s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 728s ok 1 /filter-stream/input 728s ok 2 /filter-stream/output 728s ok 3 /filter-stream/async-input 728s ok 4 /filter-stream/async-output 728s # End of filter-stream tests 728s ok - glib/filter-streams.test 728s # Running test: glib/onceinit.test 728s TAP version 13 728s # random seed: R02S33e299f504909380f7ae4920fe2a896f 728s 1..1 728s # Start of thread tests 728s ok 1 /thread/onceinit 728s # End of thread tests 728s ok - glib/onceinit.test 728s # Running test: glib/socket.test 728s TAP version 13 728s # random seed: R02Sec7dd6f491046a41c7b8b8e4da0e098e 728s 1..28 728s # Start of socket tests 729s ok 1 /socket/ipv4_sync 729s # slow test /socket/ipv4_sync executed in 1.00 secs 730s ok 2 /socket/ipv4_async 730s # slow test /socket/ipv4_async executed in 1.00 secs 730s ok 3 /socket/ipv6_sync 730s ok 4 /socket/ipv6_async 730s ok 5 /socket/ipv6_v4mapped 731s ok 6 /socket/close_graceful 731s # slow test /socket/close_graceful executed in 1.00 secs 731s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 731s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 731s ok 8 /socket/fd_reuse 731s ok 9 /socket/address 731s ok 10 /socket/unix-from-fd 731s ok 11 /socket/unix-connection 731s ok 12 /socket/unix-connection-ancillary-data 731s ok 13 /socket/source-postmortem 731s ok 14 /socket/read_write 731s ok 15 /socket/read_writev 731s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 731s ok 16 /socket/receive_bytes 731s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 731s ok 17 /socket/receive_bytes_from 731s # Start of ipv4_sync tests 731s ok 18 /socket/ipv4_sync/datagram 732s # Start of datagram tests 733s ok 19 /socket/ipv4_sync/datagram/timeouts 733s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 733s # End of datagram tests 733s # End of ipv4_sync tests 733s # Start of ipv6_sync tests 733s ok 20 /socket/ipv6_sync/datagram 733s # Start of datagram tests 733s # Executing: glib/socket.test 734s ok 21 /socket/ipv6_sync/datagram/timeouts 734s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 734s # End of datagram tests 734s # End of ipv6_sync tests 734s # Start of reuse tests 734s ok 22 /socket/reuse/tcp 734s ok 23 /socket/reuse/udp 734s # End of reuse tests 734s # Start of get_available tests 734s ok 24 /socket/get_available/datagram 734s ok 25 /socket/get_available/stream 734s # End of get_available tests 734s # Start of credentials tests 734s # Supported on this OS: GCredentials:linux-ucred:pid=0 734s ok 26 /socket/credentials/tcp_client 734s # Supported on this OS: GCredentials:linux-ucred:pid=0 734s ok 27 /socket/credentials/tcp_server 734s # Supported on this OS: GCredentials:linux-ucred:pid=13561,uid=1000,gid=1000 734s ok 28 /socket/credentials/unix_socketpair 734s # End of credentials tests 734s # End of socket tests 734s ok - glib/socket.test 734s # Running test: glib/value.test 734s TAP version 13 734s # random seed: R02Sb33c06fb9da061fb1dd40cd0ca2bc791 734s 1..8 734s # Start of value tests 734s ok 1 /value/basic 734s ok 2 /value/collection 734s ok 3 /value/copying 734s ok 4 /value/enum-transformation 734s ok 5 /value/gtype 734s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 734s ok 6 /value/string 734s # Next: GObject object in GValue of GObject to GValue of GObject 734s # Next: GObject object in GValue of GObject to GValue of TestInterface 734s # Next: GObject object in GValue of GObject to GValue of TestObjectA 734s # Next: GObject object in GValue of GObject to GValue of TestObjectB 734s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 734s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 734s # Next: TestObjectA object in GValue of GObject to GValue of GObject 734s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 734s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 734s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 734s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 734s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 734s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 734s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 734s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 734s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 734s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 734s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 734s # Next: TestObjectB object in GValue of GObject to GValue of GObject 734s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 734s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 734s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 734s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 734s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 734s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 734s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 734s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 734s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 734s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 734s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 734s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 734s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 734s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 734s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 734s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 734s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 734s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 734s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 734s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 734s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 734s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 734s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 734s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 734s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 734s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 734s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 734s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 734s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 734s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 734s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 734s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 734s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 734s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 734s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 734s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 734s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 734s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 734s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 734s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 734s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 734s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 734s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 734s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 734s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 734s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 734s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 734s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 734s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 734s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 734s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 734s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 734s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 734s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 734s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 734s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 734s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 734s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 734s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 734s ok 7 /value/transform-object 734s # Start of array tests 734s ok 8 /value/array/basic 734s # End of array tests 734s # End of value tests 734s ok - glib/value.test 734s # Running test: glib/gdbus-connection-flush.test 734s TAP version 13 734s # random seed: R02S6a21d953094b5ce3354889b395892f2c 734s 1..2 734s # Start of gdbus tests 734s # Start of connection tests 734s # Start of flush tests 734s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/busy/.dirs/home 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/busy/.dirs/cache 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/busy/.dirs/system-config2 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/busy/.dirs/config 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/busy/.dirs/system-data2 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/busy/.dirs/data 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/busy/.dirs/state 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/busy/.dirs/runtime 734s ok 1 /gdbus/connection/flush/busy 734s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/idle/.dirs/home 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/idle/.dirs/cache 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/idle/.dirs/system-config2 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/idle/.dirs/config 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/idle/.dirs/system-data2 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/idle/.dirs/data 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/idle/.dirs/state 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_A3IXK2/gdbus/connection/flush/idle/.dirs/runtime 734s ok 2 /gdbus/connection/flush/idle 734s # End of flush tests 734s # End of connection tests 734s # End of gdbus tests 734s ok - glib/gdbus-connection-flush.test 734s # Running test: glib/gutils-user-database.test 734s TAP version 13 734s # random seed: R02Sbddd9bec8bcbca3008ba5ec8d6bbabc5 734s 1..1 734s # Start of gutils tests 734s ok 1 /gutils/get_user_database_entry 734s # End of gutils tests 734s ok - glib/gutils-user-database.test 734s # Running test: glib/volumemonitor.test 734s TAP version 13 734s # random seed: R02Sd577051d271790b744541b8ca3008421 734s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 734s 1..3 734s # Start of volumemonitor tests 734s ok 1 /volumemonitor/connected_drives 734s ok 2 /volumemonitor/volumes 734s ok 3 /volumemonitor/mounts 734s # End of volumemonitor tests 734s ok - glib/volumemonitor.test 734s # Running test: glib/node.test 734s TAP version 13 734s # random seed: R02Sdba6d313ad68cf60b9e2a1dc5833bc8f 734s 1..6 734s # Start of node tests 734s ok 1 /node/allocation 734s ok 2 /node/construction 734s ok 3 /node/traversal 734s ok 4 /node/misc 734s ok 5 /node/unlink 734s ok 6 /node/copy 734s # End of node tests 734s ok - glib/node.test 734s # Running test: glib/binding.test 734s TAP version 13 734s # random seed: R02Sed0ab6ba724bbae86d0f928ad68bd1f6 734s 1..19 734s # Start of binding tests 734s ok 1 /binding/default 734s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 734s ok 2 /binding/canonicalisation 734s ok 3 /binding/bidirectional 734s ok 4 /binding/transform 734s ok 5 /binding/transform-default 734s ok 6 /binding/transform-closure 734s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 734s ok 7 /binding/chain 734s ok 8 /binding/sync-create 734s ok 9 /binding/invert-boolean 734s ok 10 /binding/same-object 734s ok 11 /binding/unbind 734s ok 12 /binding/unbind-weak 734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 734s ok 13 /binding/unbind-multiple 734s ok 14 /binding/fail 734s ok 15 /binding/interface 734s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 734s ok 16 /binding/concurrent-unbind 734s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 734s ok 17 /binding/concurrent-finalizing 734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 734s ok 18 /binding/dispose-source 734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 734s ok 19 /binding/dispose-target 734s # End of binding tests 734s ok - glib/binding.test 734s # Running test: glib/module-test-library.test 734s TAP version 13 734s # random seed: R02S3979b66b6eff41e7ac9bdecca53502dd 734s 1..2 734s # Start of module tests 734s ok 1 /module/basics 734s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 734s ok 2 /module/invalid-libtool-archive 734s # End of module tests 734s ok - glib/module-test-library.test 734s # Running test: glib/atomic-c-17.test 734s TAP version 13 734s # random seed: R02S53741cb7a3818adc53a5cc30c19fc13b 734s 1..2 734s # Start of atomic tests 734s ok 1 /atomic/types 734s ok 2 /atomic/threaded 734s # End of atomic tests 734s ok - glib/atomic-c-17.test 734s # Running test: glib/autoptr.test 734s TAP version 13 734s # random seed: R02S13e4fbee19102dd72233fd2c9736b38b 734s 1..6 734s # Start of autoptr tests 734s ok 1 /autoptr/autoptr 734s ok 2 /autoptr/autoptr_steal 734s ok 3 /autoptr/autolist 734s ok 4 /autoptr/autoslist 734s ok 5 /autoptr/autoqueue 734s ok 6 /autoptr/autoclass 734s # End of autoptr tests 734s ok - glib/autoptr.test 734s # Running test: glib/appmonitor.test 734s TAP version 13 734s # random seed: R02Sc9b19c50d3aca705c1b55b5cbc8dd54e 734s 1..1 734s # Start of monitor tests 734s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_FUTQK2/monitor/app/.dirs/home 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_FUTQK2/monitor/app/.dirs/cache 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_FUTQK2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_FUTQK2/monitor/app/.dirs/system-config2 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_FUTQK2/monitor/app/.dirs/config 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_FUTQK2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_FUTQK2/monitor/app/.dirs/system-data2 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_FUTQK2/monitor/app/.dirs/data 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_FUTQK2/monitor/app/.dirs/state 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_FUTQK2/monitor/app/.dirs/runtime 734s # Using data directory: /tmp/test_appmonitor_FUTQK2/monitor/app/.dirs/data 734s ok 1 /monitor/app 734s # End of monitor tests 734s ok - glib/appmonitor.test 734s # Running test: glib/signals.test 734s TAP version 13 734s # random seed: R02Sb4ced2d38b746aad15eccb33ab16c314 734s 1..31 734s # Start of gobject tests 734s # Start of signals tests 734s ok 1 /gobject/signals/all-types 734s ok 2 /gobject/signals/variant 734s ok 3 /gobject/signals/destroy-target-object 734s ok 4 /gobject/signals/generic-marshaller-1 734s ok 5 /gobject/signals/generic-marshaller-2 734s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 734s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 734s ok 8 /gobject/signals/generic-marshaller-int-return 734s ok 9 /gobject/signals/generic-marshaller-uint-return 734s ok 10 /gobject/signals/generic-marshaller-interface-return 734s ok 11 /gobject/signals/custom-marshaller 734s ok 12 /gobject/signals/connect 734s ok 13 /gobject/signals/emission-hook 734s ok 14 /gobject/signals/emitv 734s ok 15 /gobject/signals/accumulator 734s # Signal: accumulator-class-first 734s # Signal: accumulator-class-last 734s # Signal: accumulator-class-cleanup 734s # Signal: accumulator-class-first-last 734s # Signal: accumulator-class-first-last-cleanup 734s # Signal: accumulator-class-last-cleanup 734s ok 16 /gobject/signals/accumulator-class 734s ok 17 /gobject/signals/introspection 734s ok 18 /gobject/signals/block-handler 734s ok 19 /gobject/signals/stop-emission 734s ok 20 /gobject/signals/invocation-hint 734s ok 21 /gobject/signals/test-disconnection-wrong-object 734s ok 22 /gobject/signals/clear-signal-handler 734s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 734s ok 23 /gobject/signals/lookup 734s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 734s ok 24 /gobject/signals/parse-name 734s ok 25 /gobject/signals/is-valid-name 734s ok 26 /gobject/signals/weak-ref-disconnect 734s # Start of lookup tests 734s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 734s ok 27 /gobject/signals/lookup/invalid 734s # End of lookup tests 734s # Start of parse-name tests 734s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 734s # Parser input: 734s # Parser input: 7zip 734s # Parser input: invalid:signal 734s # Parser input: simple-detailed:: 734s # Parser input: simple-detailed: 734s # Parser input: : 734s # Parser input: :: 734s # Parser input: :valid-detail 734s # Parser input: ::valid-detail 734s ok 28 /gobject/signals/parse-name/invalid 734s # End of parse-name tests 734s # Start of invalid-name tests 734s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 734s ok 29 /gobject/signals/invalid-name/colon 734s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 734s ok 30 /gobject/signals/invalid-name/first-char 734s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 734s ok 31 /gobject/signals/invalid-name/empty 734s # End of invalid-name tests 734s # End of signals tests 734s # End of gobject tests 734s ok - glib/signals.test 734s # Running test: glib/completion.test 734s TAP version 13 734s # random seed: R02S65a2f5ade094fcab2329e2c9a1a72949 734s 1..1 734s # Start of completion tests 734s ok 1 /completion/test-completion 734s # End of completion tests 734s ok - glib/completion.test 734s # Running test: glib/keyfile.test 734s TAP version 13 734s # random seed: R02Sf9357bfde937a3f27d5d7fe1a1e8e75f 734s 1..36 734s # Start of keyfile tests 734s ok 1 /keyfile/line-ends 734s ok 2 /keyfile/whitespace 734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 734s ok 3 /keyfile/comments 734s ok 4 /keyfile/listing 734s ok 5 /keyfile/string 734s ok 6 /keyfile/boolean 734s ok 7 /keyfile/number 734s ok 8 /keyfile/locale-string 734s ok 9 /keyfile/lists 734s ok 10 /keyfile/lists-set-get 734s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 734s ok 11 /keyfile/group-remove 734s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 734s ok 12 /keyfile/key-remove 734s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 734s ok 13 /keyfile/groups 734s ok 14 /keyfile/duplicate-keys 734s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 734s ok 15 /keyfile/duplicate-groups 734s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 734s ok 16 /keyfile/duplicate-groups2 734s ok 17 /keyfile/group-names 734s ok 18 /keyfile/key-names 734s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 734s ok 19 /keyfile/reload 734s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 734s ok 20 /keyfile/int64 734s ok 21 /keyfile/load 734s ok 22 /keyfile/save 734s ok 23 /keyfile/load-fail 734s ok 24 /keyfile/non-utf8 734s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 734s ok 25 /keyfile/page-boundary 734s ok 26 /keyfile/ref 734s ok 27 /keyfile/replace-value 734s ok 28 /keyfile/list-separator 734s ok 29 /keyfile/empty-string 734s ok 30 /keyfile/limbo 734s # Testing invalid encoding ?non-UTF-8 734s # Testing invalid encoding ?UTF? 734s # Testing invalid encoding ?UTF-9? 734s ok 31 /keyfile/utf8 734s ok 32 /keyfile/roundtrip 734s ok 33 /keyfile/bytes 734s ok 34 /keyfile/get-locale 734s ok 35 /keyfile/free-when-not-last-ref 734s # Start of locale-string tests 734s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 734s ok 36 /keyfile/locale-string/multiple-loads 734s # End of locale-string tests 734s # End of keyfile tests 734s ok - glib/keyfile.test 734s # Running test: glib/memory-input-stream.test 734s TAP version 13 734s # random seed: R02S18dcaacb0233d65eeb8f9f8dec30eef3 734s 1..6 734s # Start of memory-input-stream tests 734s ok 1 /memory-input-stream/read-chunks 734s ok 2 /memory-input-stream/async 734s ok 3 /memory-input-stream/seek 734s ok 4 /memory-input-stream/truncate 734s ok 5 /memory-input-stream/read-bytes 734s ok 6 /memory-input-stream/from-bytes 734s # End of memory-input-stream tests 734s ok - glib/memory-input-stream.test 734s # Running test: glib/fileattributematcher.test 734s TAP version 13 734s # random seed: R02Sa34916a6bf8042dd4b088be286da455a 734s 1..3 734s # Start of fileattributematcher tests 734s ok 1 /fileattributematcher/exact 734s ok 2 /fileattributematcher/equality 734s ok 3 /fileattributematcher/subtract 734s # End of fileattributematcher tests 734s ok - glib/fileattributematcher.test 734s # Running test: glib/portal-support-flatpak-none.test 734s TAP version 13 734s # random seed: R02Sb4d0f229cdf72a5f689edc20b9acc109 734s 1..1 734s # Start of portal-support tests 734s # Start of flatpak tests 734s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_1KKSK2/portal-support/flatpak/none/.dirs/home 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_1KKSK2/portal-support/flatpak/none/.dirs/cache 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_1KKSK2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_1KKSK2/portal-support/flatpak/none/.dirs/system-config2 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_1KKSK2/portal-support/flatpak/none/.dirs/config 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_1KKSK2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_1KKSK2/portal-support/flatpak/none/.dirs/system-data2 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_1KKSK2/portal-support/flatpak/none/.dirs/data 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_1KKSK2/portal-support/flatpak/none/.dirs/state 734s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_1KKSK2/portal-support/flatpak/none/.dirs/runtime 734s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_1KKSK2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 734s ok 1 /portal-support/flatpak/none 734s # End of flatpak tests 734s # End of portal-support tests 734s ok - glib/portal-support-flatpak-none.test 734s # Running test: glib/test-printf.test 734s TAP version 13 734s # random seed: R02S34019a2adb0ce6bd7f85cc3cb9c660db 734s 1..22 734s # Start of snprintf tests 734s ok 1 /snprintf/retval-and-trunc 734s ok 2 /snprintf/%d 734s ok 3 /snprintf/%d-invalid 734s ok 4 /snprintf/%o 734s ok 5 /snprintf/%u 734s ok 6 /snprintf/%x 734s ok 7 /snprintf/%X 734s ok 8 /snprintf/%f 734s ok 9 /snprintf/%e 734s ok 10 /snprintf/%c 734s ok 11 /snprintf/%s 734s ok 12 /snprintf/%n 734s ok 13 /snprintf/test-percent 734s ok 14 /snprintf/test-positional-params 734s ok 15 /snprintf/test-64bit 734s # End of snprintf tests 734s # Start of printf tests 734s ok 16 /printf/test-percent 734s ok 17 /printf/test-positional-params 734s ok 18 /printf/test-64bit 734s # Start of test-64bit tests 734s # Start of subprocess tests 734s # End of subprocess tests 734s # End of test-64bit tests 734s # End of printf tests 734s # Start of sprintf tests 734s ok 19 /sprintf/test-positional-params 734s ok 20 /sprintf/upper-bound 734s # End of sprintf tests 734s # Start of vasprintf tests 734s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 734s ok 21 /vasprintf/invalid-format-placeholder 734s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 734s ok 22 /vasprintf/invalid-wide-string 734s # End of vasprintf tests 734s ok - glib/test-printf.test 734s # Running test: glib/assert-msg-test.py.test 734s TAP version 13 734s ok 1 __main__.TestAssertMessage.test_gassert 734s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 734s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 734s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 734s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 734s # Error: ** 734s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 734s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 734s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 734s 1..2 734s ok - glib/assert-msg-test.py.test 734s # Running test: glib/guuid.test 734s TAP version 13 734s # random seed: R02Sde5cbe14d4b5ea093c0e50ee6dcce726 734s 1..2 734s # Start of uuid tests 734s ok 1 /uuid/string 734s ok 2 /uuid/random 734s # End of uuid tests 734s ok - glib/guuid.test 734s # Running test: glib/g-file-info.test 734s TAP version 13 734s # random seed: R02S1d93bfcf2c1e703571d5f223e71408f1 734s 1..6 734s # Start of g-file-info tests 734s ok 1 /g-file-info/test_g_file_info 734s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 734s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 734s ok 2 /g-file-info/xattrs 734s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 734s ok 3 /g-file-info/set-modified-date-time-precision 734s # Start of test_g_file_info tests 734s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 734s ok 4 /g-file-info/test_g_file_info/modification-time 734s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 734s ok 5 /g-file-info/test_g_file_info/access-time 734s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 734s ok 6 /g-file-info/test_g_file_info/creation-time 734s # End of test_g_file_info tests 734s # End of g-file-info tests 734s ok - glib/g-file-info.test 734s # Running test: glib/network-monitor.test 734s TAP version 13 734s # random seed: R02S98bee4f8ca8529703e8975fc24650ff5 734s 1..4 734s # Start of network-monitor tests 734s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 734s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 734s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 734s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 734s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 734s ok 1 /network-monitor/default 734s ok 2 /network-monitor/remove_default 734s ok 3 /network-monitor/add_networks 734s ok 4 /network-monitor/remove_networks 734s # End of network-monitor tests 734s ok - glib/network-monitor.test 734s # Running test: glib/proxy-test.test 734s TAP version 13 734s # random seed: R02S7468c369e6ea6277e2a684cd908ac613 734s 1..11 734s # Start of proxy tests 734s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 734s ok 1 /proxy/direct_sync 734s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 734s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d8f5980 and GSocketClientAsyncConnectData 0x2aa2d8eb260 734s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 734s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d8f6390 for GSocketClientAsyncConnectData 0x2aa2d8eb260 734s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 734s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 734s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 734s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 734s ok 2 /proxy/direct_async 734s ok 3 /proxy/single_sync 734s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 734s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d8f7c90 and GSocketClientAsyncConnectData 0x2aa2d8f6de0 734s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 734s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d8f87f0 for GSocketClientAsyncConnectData 0x2aa2d8f6de0 734s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 734s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 734s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 734s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 734s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 734s ok 4 /proxy/single_async 734s ok 5 /proxy/multiple_sync 734s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 734s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d8f8520 and GSocketClientAsyncConnectData 0x2aa2d8f82f0 734s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 734s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d8f8e70 for GSocketClientAsyncConnectData 0x2aa2d8f82f0 734s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 734s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 734s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 734s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 734s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 734s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d8f8880 for GSocketClientAsyncConnectData 0x2aa2d8f82f0 734s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 734s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 734s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 734s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 734s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 734s ok 6 /proxy/multiple_async 734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 734s ok 7 /proxy/invalid-uris-sync 734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 734s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 734s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d8f8c00 and GSocketClientAsyncConnectData 0x2aa2d8f8100 734s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 734s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 734s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 734s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d8f8c00 and GSocketClientAsyncConnectData 0x2aa2d8f8100 734s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 734s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 734s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 734s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d8f8c00 and GSocketClientAsyncConnectData 0x2aa2d8f8100 734s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 734s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d8f6ba0 for GSocketClientAsyncConnectData 0x2aa2d8f8100 734s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 734s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 734s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 734s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 734s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 734s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d8f8520 and GSocketClientAsyncConnectData 0x2aa2d8f85e0 734s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 734s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d8f60a0 for GSocketClientAsyncConnectData 0x2aa2d8f85e0 734s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 734s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 734s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 734s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 734s ok 8 /proxy/invalid-uris-async 734s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 734s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d8f8c00 and GSocketClientAsyncConnectData 0x2aa2d8f8100 734s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 734s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 734s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 734s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 734s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 734s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d8f8520 and GSocketClientAsyncConnectData 0x2aa2d8f85e0 734s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 734s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d8f6ba0 for GSocketClientAsyncConnectData 0x2aa2d8f85e0 734s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 734s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 734s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 734s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 734s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 734s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 734s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 734s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d8f7db0 and GSocketClientAsyncConnectData 0x2aa2d8f9110 734s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 734s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d8f8f30 for GSocketClientAsyncConnectData 0x2aa2d8f9110 734s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 734s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 734s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 734s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 734s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 734s ok 9 /proxy/dns 734s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 734s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d8f87f0 and GSocketClientAsyncConnectData 0x2aa2d8f29c0 734s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 734s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d8f88b0 for GSocketClientAsyncConnectData 0x2aa2d8f29c0 734s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 734s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 734s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 734s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 734s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 734s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 734s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 734s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d8f67d0 and GSocketClientAsyncConnectData 0x2aa2d8f9330 734s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 734s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d8f88b0 for GSocketClientAsyncConnectData 0x2aa2d8f9330 734s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 734s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 734s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 734s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 734s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 734s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 734s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2d8f79a0 and GSocketClientAsyncConnectData 0x2aa2d8f29c0 734s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 734s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2d8f9490 for GSocketClientAsyncConnectData 0x2aa2d8f29c0 734s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 734s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 734s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 734s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 734s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 734s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 734s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 734s ok 10 /proxy/override 734s ok 11 /proxy/enumerator-ports 734s # End of proxy tests 734s ok - glib/proxy-test.test 734s # Running test: glib/async-close-output-stream.test 734s TAP version 13 734s # random seed: R02S89f100899248f8aa9c024ca68fe3608f 734s 1..3 734s # Start of close-async tests 734s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 734s ok 1 /close-async/without-flush 734s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 734s ok 2 /close-async/with-flush 734s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 734s ok 3 /close-async/with-async-flush 734s # End of close-async tests 734s ok - glib/async-close-output-stream.test 734s # Running test: glib/thread-deprecated.test 734s TAP version 13 734s # random seed: R02S2b2c53b7e4de1a072279d1442e69bae7 734s 1..6 734s # Start of thread tests 735s ok 1 /thread/mutex 735s ok 2 /thread/static-rec-mutex 738s # Executing: glib/thread-deprecated.test 739s ok 3 /thread/static-private 739s # slow test /thread/static-private executed in 4.21 secs 743s # Executing: glib/thread-deprecated.test 744s ok 4 /thread/static-rw-lock 744s # slow test /thread/static-rw-lock executed in 5.00 secs 744s ok 5 /thread/once 748s # Executing: glib/thread-deprecated.test 753s # Executing: glib/thread-deprecated.test 754s ok 6 /thread/rerun-all 754s # slow test /thread/rerun-all executed in 10.03 secs 754s # End of thread tests 754s ok - glib/thread-deprecated.test 754s # Running test: glib/utf8-validate.test 754s TAP version 13 754s # random seed: R02S89b44ac3d354b1c92fcaa9e8c4ac6ab8 754s 1..216 754s # Start of utf8 tests 754s # Vector 0 754s # Vector 1 754s # Vector 2 754s # Vector 3 754s # Vector 4 754s # Vector 5 754s # Vector 6 754s # Vector 7 754s # Vector 8 754s # Vector 9 754s # Vector 10 754s # Vector 11 754s # Vector 12 754s # Vector 13 754s # Vector 14 754s # Vector 15 754s # Vector 16 754s # Vector 17 754s # Vector 18 754s # Vector 19 754s # Vector 20 754s # Vector 21 754s # Vector 22 754s # Vector 23 754s # Vector 24 754s # Vector 25 754s # Vector 26 754s # Vector 27 754s ok 1 /utf8/get-char-validated 754s # Start of validate tests 754s ok 2 /utf8/validate/0 754s ok 3 /utf8/validate/1 754s ok 4 /utf8/validate/2 754s ok 5 /utf8/validate/3 754s ok 6 /utf8/validate/4 754s ok 7 /utf8/validate/5 754s ok 8 /utf8/validate/6 754s ok 9 /utf8/validate/7 754s ok 10 /utf8/validate/8 754s ok 11 /utf8/validate/9 754s ok 12 /utf8/validate/10 754s ok 13 /utf8/validate/11 754s ok 14 /utf8/validate/12 754s ok 15 /utf8/validate/13 754s ok 16 /utf8/validate/14 754s ok 17 /utf8/validate/15 754s ok 18 /utf8/validate/16 754s ok 19 /utf8/validate/17 754s ok 20 /utf8/validate/18 754s ok 21 /utf8/validate/19 754s ok 22 /utf8/validate/20 754s ok 23 /utf8/validate/21 754s ok 24 /utf8/validate/22 754s ok 25 /utf8/validate/23 754s ok 26 /utf8/validate/24 754s ok 27 /utf8/validate/25 754s ok 28 /utf8/validate/26 754s ok 29 /utf8/validate/27 754s ok 30 /utf8/validate/28 754s ok 31 /utf8/validate/29 754s ok 32 /utf8/validate/30 754s ok 33 /utf8/validate/31 754s ok 34 /utf8/validate/32 754s ok 35 /utf8/validate/33 754s ok 36 /utf8/validate/34 754s ok 37 /utf8/validate/35 754s ok 38 /utf8/validate/36 754s ok 39 /utf8/validate/37 754s ok 40 /utf8/validate/38 754s ok 41 /utf8/validate/39 754s ok 42 /utf8/validate/40 754s ok 43 /utf8/validate/41 754s ok 44 /utf8/validate/42 754s ok 45 /utf8/validate/43 754s ok 46 /utf8/validate/44 754s ok 47 /utf8/validate/45 754s ok 48 /utf8/validate/46 754s ok 49 /utf8/validate/47 754s ok 50 /utf8/validate/48 754s ok 51 /utf8/validate/49 754s ok 52 /utf8/validate/50 754s ok 53 /utf8/validate/51 754s ok 54 /utf8/validate/52 754s ok 55 /utf8/validate/53 754s ok 56 /utf8/validate/54 754s ok 57 /utf8/validate/55 754s ok 58 /utf8/validate/56 754s ok 59 /utf8/validate/57 754s ok 60 /utf8/validate/58 754s ok 61 /utf8/validate/59 754s ok 62 /utf8/validate/60 754s ok 63 /utf8/validate/61 754s ok 64 /utf8/validate/62 754s ok 65 /utf8/validate/63 754s ok 66 /utf8/validate/64 754s ok 67 /utf8/validate/65 754s ok 68 /utf8/validate/66 754s ok 69 /utf8/validate/67 754s ok 70 /utf8/validate/68 754s ok 71 /utf8/validate/69 754s ok 72 /utf8/validate/70 754s ok 73 /utf8/validate/71 754s ok 74 /utf8/validate/72 754s ok 75 /utf8/validate/73 754s ok 76 /utf8/validate/74 754s ok 77 /utf8/validate/75 754s ok 78 /utf8/validate/76 754s ok 79 /utf8/validate/77 754s ok 80 /utf8/validate/78 754s ok 81 /utf8/validate/79 754s ok 82 /utf8/validate/80 754s ok 83 /utf8/validate/81 754s ok 84 /utf8/validate/82 754s ok 85 /utf8/validate/83 754s ok 86 /utf8/validate/84 754s ok 87 /utf8/validate/85 754s ok 88 /utf8/validate/86 754s ok 89 /utf8/validate/87 754s ok 90 /utf8/validate/88 754s ok 91 /utf8/validate/89 754s ok 92 /utf8/validate/90 754s ok 93 /utf8/validate/91 754s ok 94 /utf8/validate/92 754s ok 95 /utf8/validate/93 754s ok 96 /utf8/validate/94 754s ok 97 /utf8/validate/95 754s ok 98 /utf8/validate/96 754s ok 99 /utf8/validate/97 754s ok 100 /utf8/validate/98 754s ok 101 /utf8/validate/99 754s ok 102 /utf8/validate/100 754s ok 103 /utf8/validate/101 754s ok 104 /utf8/validate/102 754s ok 105 /utf8/validate/103 754s ok 106 /utf8/validate/104 754s ok 107 /utf8/validate/105 754s ok 108 /utf8/validate/106 754s ok 109 /utf8/validate/107 754s ok 110 /utf8/validate/108 754s ok 111 /utf8/validate/109 754s ok 112 /utf8/validate/110 754s ok 113 /utf8/validate/111 754s ok 114 /utf8/validate/112 754s ok 115 /utf8/validate/113 754s ok 116 /utf8/validate/114 754s ok 117 /utf8/validate/115 754s ok 118 /utf8/validate/116 754s ok 119 /utf8/validate/117 754s ok 120 /utf8/validate/118 754s ok 121 /utf8/validate/119 754s ok 122 /utf8/validate/120 754s ok 123 /utf8/validate/121 754s ok 124 /utf8/validate/122 754s ok 125 /utf8/validate/123 754s ok 126 /utf8/validate/124 754s ok 127 /utf8/validate/125 754s ok 128 /utf8/validate/126 754s ok 129 /utf8/validate/127 754s ok 130 /utf8/validate/128 754s ok 131 /utf8/validate/129 754s ok 132 /utf8/validate/130 754s ok 133 /utf8/validate/131 754s ok 134 /utf8/validate/132 754s ok 135 /utf8/validate/133 754s ok 136 /utf8/validate/134 754s ok 137 /utf8/validate/135 754s ok 138 /utf8/validate/136 754s ok 139 /utf8/validate/137 754s ok 140 /utf8/validate/138 754s ok 141 /utf8/validate/139 754s ok 142 /utf8/validate/140 754s ok 143 /utf8/validate/141 754s ok 144 /utf8/validate/142 754s ok 145 /utf8/validate/143 754s ok 146 /utf8/validate/144 754s ok 147 /utf8/validate/145 754s ok 148 /utf8/validate/146 754s ok 149 /utf8/validate/147 754s ok 150 /utf8/validate/148 754s ok 151 /utf8/validate/149 754s ok 152 /utf8/validate/150 754s ok 153 /utf8/validate/151 754s ok 154 /utf8/validate/152 754s ok 155 /utf8/validate/153 754s ok 156 /utf8/validate/154 754s ok 157 /utf8/validate/155 754s ok 158 /utf8/validate/156 754s ok 159 /utf8/validate/157 754s ok 160 /utf8/validate/158 754s ok 161 /utf8/validate/159 754s ok 162 /utf8/validate/160 754s ok 163 /utf8/validate/161 754s ok 164 /utf8/validate/162 754s ok 165 /utf8/validate/163 754s ok 166 /utf8/validate/164 754s ok 167 /utf8/validate/165 754s ok 168 /utf8/validate/166 754s ok 169 /utf8/validate/167 754s ok 170 /utf8/validate/168 754s ok 171 /utf8/validate/169 754s ok 172 /utf8/validate/170 754s ok 173 /utf8/validate/171 754s ok 174 /utf8/validate/172 754s ok 175 /utf8/validate/173 754s ok 176 /utf8/validate/174 754s ok 177 /utf8/validate/175 754s ok 178 /utf8/validate/176 754s ok 179 /utf8/validate/177 754s ok 180 /utf8/validate/178 754s ok 181 /utf8/validate/179 754s ok 182 /utf8/validate/180 754s ok 183 /utf8/validate/181 754s ok 184 /utf8/validate/182 754s ok 185 /utf8/validate/183 754s ok 186 /utf8/validate/184 754s ok 187 /utf8/validate/185 754s ok 188 /utf8/validate/186 754s ok 189 /utf8/validate/187 754s ok 190 /utf8/validate/188 754s ok 191 /utf8/validate/189 754s ok 192 /utf8/validate/190 754s ok 193 /utf8/validate/191 754s ok 194 /utf8/validate/192 754s ok 195 /utf8/validate/193 754s ok 196 /utf8/validate/194 754s ok 197 /utf8/validate/195 754s ok 198 /utf8/validate/196 754s ok 199 /utf8/validate/197 754s ok 200 /utf8/validate/198 754s ok 201 /utf8/validate/199 754s ok 202 /utf8/validate/200 754s ok 203 /utf8/validate/201 754s ok 204 /utf8/validate/202 754s ok 205 /utf8/validate/203 754s ok 206 /utf8/validate/204 754s ok 207 /utf8/validate/205 754s ok 208 /utf8/validate/206 754s ok 209 /utf8/validate/207 754s ok 210 /utf8/validate/208 754s ok 211 /utf8/validate/209 754s ok 212 /utf8/validate/210 754s ok 213 /utf8/validate/211 754s ok 214 /utf8/validate/212 754s ok 215 /utf8/validate/213 754s ok 216 /utf8/validate/214 754s # End of validate tests 754s # End of utf8 tests 754s ok - glib/utf8-validate.test 754s # Running test: glib/checksum.test 754s TAP version 13 754s # random seed: R02S1026dad3b3cf87e1817f67c2559f0b8d 754s 1..1851 754s # Start of checksum tests 754s ok 1 /checksum/unsupported 754s # Start of MD5 tests 754s ok 2 /checksum/MD5/0 754s ok 3 /checksum/MD5/1 754s ok 4 /checksum/MD5/2 754s ok 5 /checksum/MD5/3 754s ok 6 /checksum/MD5/4 754s ok 7 /checksum/MD5/5 754s ok 8 /checksum/MD5/6 754s ok 9 /checksum/MD5/7 754s ok 10 /checksum/MD5/8 754s ok 11 /checksum/MD5/9 754s ok 12 /checksum/MD5/10 754s ok 13 /checksum/MD5/11 754s ok 14 /checksum/MD5/12 754s ok 15 /checksum/MD5/13 754s ok 16 /checksum/MD5/14 754s ok 17 /checksum/MD5/15 754s ok 18 /checksum/MD5/16 754s ok 19 /checksum/MD5/17 754s ok 20 /checksum/MD5/18 754s ok 21 /checksum/MD5/19 754s ok 22 /checksum/MD5/20 754s ok 23 /checksum/MD5/21 754s ok 24 /checksum/MD5/22 754s ok 25 /checksum/MD5/23 754s ok 26 /checksum/MD5/24 754s ok 27 /checksum/MD5/25 754s ok 28 /checksum/MD5/26 754s ok 29 /checksum/MD5/27 754s ok 30 /checksum/MD5/28 754s ok 31 /checksum/MD5/29 754s ok 32 /checksum/MD5/30 754s ok 33 /checksum/MD5/31 754s ok 34 /checksum/MD5/32 754s ok 35 /checksum/MD5/33 754s ok 36 /checksum/MD5/34 754s ok 37 /checksum/MD5/35 754s ok 38 /checksum/MD5/36 754s ok 39 /checksum/MD5/37 754s ok 40 /checksum/MD5/38 754s ok 41 /checksum/MD5/39 754s ok 42 /checksum/MD5/40 754s ok 43 /checksum/MD5/41 754s ok 44 /checksum/MD5/42 754s ok 45 /checksum/MD5/43 754s ok 46 /checksum/MD5/44 754s ok 47 /checksum/MD5/45 754s ok 48 /checksum/MD5/46 754s ok 49 /checksum/MD5/47 754s ok 50 /checksum/MD5/48 754s ok 51 /checksum/MD5/49 754s ok 52 /checksum/MD5/50 754s ok 53 /checksum/MD5/51 754s ok 54 /checksum/MD5/52 754s ok 55 /checksum/MD5/53 754s ok 56 /checksum/MD5/54 754s ok 57 /checksum/MD5/55 754s ok 58 /checksum/MD5/56 754s ok 59 /checksum/MD5/57 754s ok 60 /checksum/MD5/58 754s ok 61 /checksum/MD5/59 754s ok 62 /checksum/MD5/60 754s ok 63 /checksum/MD5/61 754s ok 64 /checksum/MD5/62 754s ok 65 /checksum/MD5/63 754s ok 66 /checksum/MD5/64 754s ok 67 /checksum/MD5/65 754s ok 68 /checksum/MD5/66 754s ok 69 /checksum/MD5/67 754s ok 70 /checksum/MD5/68 754s ok 71 /checksum/MD5/69 754s ok 72 /checksum/MD5/70 754s ok 73 /checksum/MD5/71 754s ok 74 /checksum/MD5/72 754s ok 75 /checksum/MD5/73 754s ok 76 /checksum/MD5/74 754s ok 77 /checksum/MD5/75 754s ok 78 /checksum/MD5/76 754s ok 79 /checksum/MD5/77 754s ok 80 /checksum/MD5/78 754s ok 81 /checksum/MD5/79 754s ok 82 /checksum/MD5/80 754s ok 83 /checksum/MD5/81 754s ok 84 /checksum/MD5/82 754s ok 85 /checksum/MD5/83 754s ok 86 /checksum/MD5/84 754s ok 87 /checksum/MD5/85 754s ok 88 /checksum/MD5/86 754s ok 89 /checksum/MD5/87 754s ok 90 /checksum/MD5/88 754s ok 91 /checksum/MD5/89 754s ok 92 /checksum/MD5/90 754s ok 93 /checksum/MD5/91 754s ok 94 /checksum/MD5/92 754s ok 95 /checksum/MD5/93 754s ok 96 /checksum/MD5/94 754s ok 97 /checksum/MD5/95 754s ok 98 /checksum/MD5/96 754s ok 99 /checksum/MD5/97 754s ok 100 /checksum/MD5/98 754s ok 101 /checksum/MD5/99 754s ok 102 /checksum/MD5/100 754s ok 103 /checksum/MD5/101 754s ok 104 /checksum/MD5/102 754s ok 105 /checksum/MD5/103 754s ok 106 /checksum/MD5/104 754s ok 107 /checksum/MD5/105 754s ok 108 /checksum/MD5/106 754s ok 109 /checksum/MD5/107 754s ok 110 /checksum/MD5/108 754s ok 111 /checksum/MD5/109 754s ok 112 /checksum/MD5/110 754s ok 113 /checksum/MD5/111 754s ok 114 /checksum/MD5/112 754s ok 115 /checksum/MD5/113 754s ok 116 /checksum/MD5/114 754s ok 117 /checksum/MD5/115 754s ok 118 /checksum/MD5/116 754s ok 119 /checksum/MD5/117 754s ok 120 /checksum/MD5/118 754s ok 121 /checksum/MD5/119 754s ok 122 /checksum/MD5/120 754s ok 123 /checksum/MD5/121 754s ok 124 /checksum/MD5/122 754s ok 125 /checksum/MD5/123 754s ok 126 /checksum/MD5/124 754s ok 127 /checksum/MD5/125 754s ok 128 /checksum/MD5/126 754s ok 129 /checksum/MD5/127 754s ok 130 /checksum/MD5/128 754s ok 131 /checksum/MD5/129 754s ok 132 /checksum/MD5/130 754s ok 133 /checksum/MD5/131 754s ok 134 /checksum/MD5/132 754s ok 135 /checksum/MD5/133 754s ok 136 /checksum/MD5/134 754s ok 137 /checksum/MD5/135 754s ok 138 /checksum/MD5/136 754s ok 139 /checksum/MD5/137 754s ok 140 /checksum/MD5/138 754s ok 141 /checksum/MD5/139 754s ok 142 /checksum/MD5/140 754s ok 143 /checksum/MD5/141 754s ok 144 /checksum/MD5/142 754s ok 145 /checksum/MD5/143 754s ok 146 /checksum/MD5/144 754s ok 147 /checksum/MD5/145 754s ok 148 /checksum/MD5/146 754s ok 149 /checksum/MD5/147 754s ok 150 /checksum/MD5/148 754s ok 151 /checksum/MD5/149 754s ok 152 /checksum/MD5/150 754s ok 153 /checksum/MD5/151 754s ok 154 /checksum/MD5/152 754s ok 155 /checksum/MD5/153 754s ok 156 /checksum/MD5/154 754s ok 157 /checksum/MD5/155 754s ok 158 /checksum/MD5/156 754s ok 159 /checksum/MD5/157 754s ok 160 /checksum/MD5/158 754s ok 161 /checksum/MD5/159 754s ok 162 /checksum/MD5/160 754s ok 163 /checksum/MD5/161 754s ok 164 /checksum/MD5/162 754s ok 165 /checksum/MD5/163 754s ok 166 /checksum/MD5/164 754s ok 167 /checksum/MD5/165 754s ok 168 /checksum/MD5/166 754s ok 169 /checksum/MD5/167 754s ok 170 /checksum/MD5/168 754s ok 171 /checksum/MD5/169 754s ok 172 /checksum/MD5/170 754s ok 173 /checksum/MD5/171 754s ok 174 /checksum/MD5/172 754s ok 175 /checksum/MD5/173 754s ok 176 /checksum/MD5/174 754s ok 177 /checksum/MD5/175 754s ok 178 /checksum/MD5/176 754s ok 179 /checksum/MD5/177 754s ok 180 /checksum/MD5/178 754s ok 181 /checksum/MD5/179 754s ok 182 /checksum/MD5/180 754s ok 183 /checksum/MD5/181 754s ok 184 /checksum/MD5/182 754s ok 185 /checksum/MD5/183 754s ok 186 /checksum/MD5/string 754s ok 187 /checksum/MD5/bytes 754s # Start of reset tests 754s ok 188 /checksum/MD5/reset/0 754s ok 189 /checksum/MD5/reset/1 754s ok 190 /checksum/MD5/reset/2 754s ok 191 /checksum/MD5/reset/3 754s ok 192 /checksum/MD5/reset/4 754s ok 193 /checksum/MD5/reset/5 754s ok 194 /checksum/MD5/reset/6 754s ok 195 /checksum/MD5/reset/7 754s ok 196 /checksum/MD5/reset/8 754s ok 197 /checksum/MD5/reset/9 754s ok 198 /checksum/MD5/reset/10 754s ok 199 /checksum/MD5/reset/11 754s ok 200 /checksum/MD5/reset/12 754s ok 201 /checksum/MD5/reset/13 754s ok 202 /checksum/MD5/reset/14 754s ok 203 /checksum/MD5/reset/15 754s ok 204 /checksum/MD5/reset/16 754s ok 205 /checksum/MD5/reset/17 754s ok 206 /checksum/MD5/reset/18 754s ok 207 /checksum/MD5/reset/19 754s ok 208 /checksum/MD5/reset/20 754s ok 209 /checksum/MD5/reset/21 754s ok 210 /checksum/MD5/reset/22 754s ok 211 /checksum/MD5/reset/23 754s ok 212 /checksum/MD5/reset/24 754s ok 213 /checksum/MD5/reset/25 754s ok 214 /checksum/MD5/reset/26 754s ok 215 /checksum/MD5/reset/27 754s ok 216 /checksum/MD5/reset/28 754s ok 217 /checksum/MD5/reset/29 754s ok 218 /checksum/MD5/reset/30 754s ok 219 /checksum/MD5/reset/31 754s ok 220 /checksum/MD5/reset/32 754s ok 221 /checksum/MD5/reset/33 754s ok 222 /checksum/MD5/reset/34 754s ok 223 /checksum/MD5/reset/35 754s ok 224 /checksum/MD5/reset/36 754s ok 225 /checksum/MD5/reset/37 754s ok 226 /checksum/MD5/reset/38 754s ok 227 /checksum/MD5/reset/39 754s ok 228 /checksum/MD5/reset/40 754s ok 229 /checksum/MD5/reset/41 754s ok 230 /checksum/MD5/reset/42 754s ok 231 /checksum/MD5/reset/43 754s ok 232 /checksum/MD5/reset/44 754s ok 233 /checksum/MD5/reset/45 754s ok 234 /checksum/MD5/reset/46 754s ok 235 /checksum/MD5/reset/47 754s ok 236 /checksum/MD5/reset/48 754s ok 237 /checksum/MD5/reset/49 754s ok 238 /checksum/MD5/reset/50 754s ok 239 /checksum/MD5/reset/51 754s ok 240 /checksum/MD5/reset/52 754s ok 241 /checksum/MD5/reset/53 754s ok 242 /checksum/MD5/reset/54 754s ok 243 /checksum/MD5/reset/55 754s ok 244 /checksum/MD5/reset/56 754s ok 245 /checksum/MD5/reset/57 754s ok 246 /checksum/MD5/reset/58 754s ok 247 /checksum/MD5/reset/59 754s ok 248 /checksum/MD5/reset/60 754s ok 249 /checksum/MD5/reset/61 754s ok 250 /checksum/MD5/reset/62 754s ok 251 /checksum/MD5/reset/63 754s ok 252 /checksum/MD5/reset/64 754s ok 253 /checksum/MD5/reset/65 754s ok 254 /checksum/MD5/reset/66 754s ok 255 /checksum/MD5/reset/67 754s ok 256 /checksum/MD5/reset/68 754s ok 257 /checksum/MD5/reset/69 754s ok 258 /checksum/MD5/reset/70 754s ok 259 /checksum/MD5/reset/71 754s ok 260 /checksum/MD5/reset/72 754s ok 261 /checksum/MD5/reset/73 754s ok 262 /checksum/MD5/reset/74 754s ok 263 /checksum/MD5/reset/75 754s ok 264 /checksum/MD5/reset/76 754s ok 265 /checksum/MD5/reset/77 754s ok 266 /checksum/MD5/reset/78 754s ok 267 /checksum/MD5/reset/79 754s ok 268 /checksum/MD5/reset/80 754s ok 269 /checksum/MD5/reset/81 754s ok 270 /checksum/MD5/reset/82 754s ok 271 /checksum/MD5/reset/83 754s ok 272 /checksum/MD5/reset/84 754s ok 273 /checksum/MD5/reset/85 754s ok 274 /checksum/MD5/reset/86 754s ok 275 /checksum/MD5/reset/87 754s ok 276 /checksum/MD5/reset/88 754s ok 277 /checksum/MD5/reset/89 754s ok 278 /checksum/MD5/reset/90 754s ok 279 /checksum/MD5/reset/91 754s ok 280 /checksum/MD5/reset/92 754s ok 281 /checksum/MD5/reset/93 754s ok 282 /checksum/MD5/reset/94 754s ok 283 /checksum/MD5/reset/95 754s ok 284 /checksum/MD5/reset/96 754s ok 285 /checksum/MD5/reset/97 754s ok 286 /checksum/MD5/reset/98 754s ok 287 /checksum/MD5/reset/99 754s ok 288 /checksum/MD5/reset/100 754s ok 289 /checksum/MD5/reset/101 754s ok 290 /checksum/MD5/reset/102 754s ok 291 /checksum/MD5/reset/103 754s ok 292 /checksum/MD5/reset/104 754s ok 293 /checksum/MD5/reset/105 754s ok 294 /checksum/MD5/reset/106 754s ok 295 /checksum/MD5/reset/107 754s ok 296 /checksum/MD5/reset/108 754s ok 297 /checksum/MD5/reset/109 754s ok 298 /checksum/MD5/reset/110 754s ok 299 /checksum/MD5/reset/111 754s ok 300 /checksum/MD5/reset/112 754s ok 301 /checksum/MD5/reset/113 754s ok 302 /checksum/MD5/reset/114 754s ok 303 /checksum/MD5/reset/115 754s ok 304 /checksum/MD5/reset/116 754s ok 305 /checksum/MD5/reset/117 754s ok 306 /checksum/MD5/reset/118 754s ok 307 /checksum/MD5/reset/119 754s ok 308 /checksum/MD5/reset/120 754s ok 309 /checksum/MD5/reset/121 754s ok 310 /checksum/MD5/reset/122 754s ok 311 /checksum/MD5/reset/123 754s ok 312 /checksum/MD5/reset/124 754s ok 313 /checksum/MD5/reset/125 754s ok 314 /checksum/MD5/reset/126 754s ok 315 /checksum/MD5/reset/127 754s ok 316 /checksum/MD5/reset/128 754s ok 317 /checksum/MD5/reset/129 754s ok 318 /checksum/MD5/reset/130 754s ok 319 /checksum/MD5/reset/131 754s ok 320 /checksum/MD5/reset/132 754s ok 321 /checksum/MD5/reset/133 754s ok 322 /checksum/MD5/reset/134 754s ok 323 /checksum/MD5/reset/135 754s ok 324 /checksum/MD5/reset/136 754s ok 325 /checksum/MD5/reset/137 754s ok 326 /checksum/MD5/reset/138 754s ok 327 /checksum/MD5/reset/139 754s ok 328 /checksum/MD5/reset/140 754s ok 329 /checksum/MD5/reset/141 754s ok 330 /checksum/MD5/reset/142 754s ok 331 /checksum/MD5/reset/143 754s ok 332 /checksum/MD5/reset/144 754s ok 333 /checksum/MD5/reset/145 754s ok 334 /checksum/MD5/reset/146 754s ok 335 /checksum/MD5/reset/147 754s ok 336 /checksum/MD5/reset/148 754s ok 337 /checksum/MD5/reset/149 754s ok 338 /checksum/MD5/reset/150 754s ok 339 /checksum/MD5/reset/151 754s ok 340 /checksum/MD5/reset/152 754s ok 341 /checksum/MD5/reset/153 754s ok 342 /checksum/MD5/reset/154 754s ok 343 /checksum/MD5/reset/155 754s ok 344 /checksum/MD5/reset/156 754s ok 345 /checksum/MD5/reset/157 754s ok 346 /checksum/MD5/reset/158 754s ok 347 /checksum/MD5/reset/159 754s ok 348 /checksum/MD5/reset/160 754s ok 349 /checksum/MD5/reset/161 754s ok 350 /checksum/MD5/reset/162 754s ok 351 /checksum/MD5/reset/163 754s ok 352 /checksum/MD5/reset/164 754s ok 353 /checksum/MD5/reset/165 754s ok 354 /checksum/MD5/reset/166 754s ok 355 /checksum/MD5/reset/167 754s ok 356 /checksum/MD5/reset/168 754s ok 357 /checksum/MD5/reset/169 754s ok 358 /checksum/MD5/reset/170 754s ok 359 /checksum/MD5/reset/171 754s ok 360 /checksum/MD5/reset/172 754s ok 361 /checksum/MD5/reset/173 754s ok 362 /checksum/MD5/reset/174 754s ok 363 /checksum/MD5/reset/175 754s ok 364 /checksum/MD5/reset/176 754s ok 365 /checksum/MD5/reset/177 754s ok 366 /checksum/MD5/reset/178 754s ok 367 /checksum/MD5/reset/179 754s ok 368 /checksum/MD5/reset/180 754s ok 369 /checksum/MD5/reset/181 754s ok 370 /checksum/MD5/reset/182 754s ok 371 /checksum/MD5/reset/183 754s # End of reset tests 754s # End of MD5 tests 754s # Start of SHA1 tests 754s ok 372 /checksum/SHA1/0 754s ok 373 /checksum/SHA1/1 754s ok 374 /checksum/SHA1/2 754s ok 375 /checksum/SHA1/3 754s ok 376 /checksum/SHA1/4 754s ok 377 /checksum/SHA1/5 754s ok 378 /checksum/SHA1/6 754s ok 379 /checksum/SHA1/7 754s ok 380 /checksum/SHA1/8 754s ok 381 /checksum/SHA1/9 754s ok 382 /checksum/SHA1/10 754s ok 383 /checksum/SHA1/11 754s ok 384 /checksum/SHA1/12 754s ok 385 /checksum/SHA1/13 754s ok 386 /checksum/SHA1/14 754s ok 387 /checksum/SHA1/15 754s ok 388 /checksum/SHA1/16 754s ok 389 /checksum/SHA1/17 754s ok 390 /checksum/SHA1/18 754s ok 391 /checksum/SHA1/19 754s ok 392 /checksum/SHA1/20 754s ok 393 /checksum/SHA1/21 754s ok 394 /checksum/SHA1/22 754s ok 395 /checksum/SHA1/23 754s ok 396 /checksum/SHA1/24 754s ok 397 /checksum/SHA1/25 754s ok 398 /checksum/SHA1/26 754s ok 399 /checksum/SHA1/27 754s ok 400 /checksum/SHA1/28 754s ok 401 /checksum/SHA1/29 754s ok 402 /checksum/SHA1/30 754s ok 403 /checksum/SHA1/31 754s ok 404 /checksum/SHA1/32 754s ok 405 /checksum/SHA1/33 754s ok 406 /checksum/SHA1/34 754s ok 407 /checksum/SHA1/35 754s ok 408 /checksum/SHA1/36 754s ok 409 /checksum/SHA1/37 754s ok 410 /checksum/SHA1/38 754s ok 411 /checksum/SHA1/39 754s ok 412 /checksum/SHA1/40 754s ok 413 /checksum/SHA1/41 754s ok 414 /checksum/SHA1/42 754s ok 415 /checksum/SHA1/43 754s ok 416 /checksum/SHA1/44 754s ok 417 /checksum/SHA1/45 754s ok 418 /checksum/SHA1/46 754s ok 419 /checksum/SHA1/47 754s ok 420 /checksum/SHA1/48 754s ok 421 /checksum/SHA1/49 754s ok 422 /checksum/SHA1/50 754s ok 423 /checksum/SHA1/51 754s ok 424 /checksum/SHA1/52 754s ok 425 /checksum/SHA1/53 754s ok 426 /checksum/SHA1/54 754s ok 427 /checksum/SHA1/55 754s ok 428 /checksum/SHA1/56 754s ok 429 /checksum/SHA1/57 754s ok 430 /checksum/SHA1/58 754s ok 431 /checksum/SHA1/59 754s ok 432 /checksum/SHA1/60 754s ok 433 /checksum/SHA1/61 754s ok 434 /checksum/SHA1/62 754s ok 435 /checksum/SHA1/63 754s ok 436 /checksum/SHA1/64 754s ok 437 /checksum/SHA1/65 754s ok 438 /checksum/SHA1/66 754s ok 439 /checksum/SHA1/67 754s ok 440 /checksum/SHA1/68 754s ok 441 /checksum/SHA1/69 754s ok 442 /checksum/SHA1/70 754s ok 443 /checksum/SHA1/71 754s ok 444 /checksum/SHA1/72 754s ok 445 /checksum/SHA1/73 754s ok 446 /checksum/SHA1/74 754s ok 447 /checksum/SHA1/75 754s ok 448 /checksum/SHA1/76 754s ok 449 /checksum/SHA1/77 754s ok 450 /checksum/SHA1/78 754s ok 451 /checksum/SHA1/79 754s ok 452 /checksum/SHA1/80 754s ok 453 /checksum/SHA1/81 754s ok 454 /checksum/SHA1/82 754s ok 455 /checksum/SHA1/83 754s ok 456 /checksum/SHA1/84 754s ok 457 /checksum/SHA1/85 754s ok 458 /checksum/SHA1/86 754s ok 459 /checksum/SHA1/87 754s ok 460 /checksum/SHA1/88 754s ok 461 /checksum/SHA1/89 754s ok 462 /checksum/SHA1/90 754s ok 463 /checksum/SHA1/91 754s ok 464 /checksum/SHA1/92 754s ok 465 /checksum/SHA1/93 754s ok 466 /checksum/SHA1/94 754s ok 467 /checksum/SHA1/95 754s ok 468 /checksum/SHA1/96 754s ok 469 /checksum/SHA1/97 754s ok 470 /checksum/SHA1/98 754s ok 471 /checksum/SHA1/99 754s ok 472 /checksum/SHA1/100 754s ok 473 /checksum/SHA1/101 754s ok 474 /checksum/SHA1/102 754s ok 475 /checksum/SHA1/103 754s ok 476 /checksum/SHA1/104 754s ok 477 /checksum/SHA1/105 754s ok 478 /checksum/SHA1/106 754s ok 479 /checksum/SHA1/107 754s ok 480 /checksum/SHA1/108 754s ok 481 /checksum/SHA1/109 754s ok 482 /checksum/SHA1/110 754s ok 483 /checksum/SHA1/111 754s ok 484 /checksum/SHA1/112 754s ok 485 /checksum/SHA1/113 754s ok 486 /checksum/SHA1/114 754s ok 487 /checksum/SHA1/115 754s ok 488 /checksum/SHA1/116 754s ok 489 /checksum/SHA1/117 754s ok 490 /checksum/SHA1/118 754s ok 491 /checksum/SHA1/119 754s ok 492 /checksum/SHA1/120 754s ok 493 /checksum/SHA1/121 754s ok 494 /checksum/SHA1/122 754s ok 495 /checksum/SHA1/123 754s ok 496 /checksum/SHA1/124 754s ok 497 /checksum/SHA1/125 754s ok 498 /checksum/SHA1/126 754s ok 499 /checksum/SHA1/127 754s ok 500 /checksum/SHA1/128 754s ok 501 /checksum/SHA1/129 754s ok 502 /checksum/SHA1/130 754s ok 503 /checksum/SHA1/131 754s ok 504 /checksum/SHA1/132 754s ok 505 /checksum/SHA1/133 754s ok 506 /checksum/SHA1/134 754s ok 507 /checksum/SHA1/135 754s ok 508 /checksum/SHA1/136 754s ok 509 /checksum/SHA1/137 754s ok 510 /checksum/SHA1/138 754s ok 511 /checksum/SHA1/139 754s ok 512 /checksum/SHA1/140 754s ok 513 /checksum/SHA1/141 754s ok 514 /checksum/SHA1/142 754s ok 515 /checksum/SHA1/143 754s ok 516 /checksum/SHA1/144 754s ok 517 /checksum/SHA1/145 754s ok 518 /checksum/SHA1/146 754s ok 519 /checksum/SHA1/147 754s ok 520 /checksum/SHA1/148 754s ok 521 /checksum/SHA1/149 754s ok 522 /checksum/SHA1/150 754s ok 523 /checksum/SHA1/151 754s ok 524 /checksum/SHA1/152 754s ok 525 /checksum/SHA1/153 754s ok 526 /checksum/SHA1/154 754s ok 527 /checksum/SHA1/155 754s ok 528 /checksum/SHA1/156 754s ok 529 /checksum/SHA1/157 754s ok 530 /checksum/SHA1/158 754s ok 531 /checksum/SHA1/159 754s ok 532 /checksum/SHA1/160 754s ok 533 /checksum/SHA1/161 754s ok 534 /checksum/SHA1/162 754s ok 535 /checksum/SHA1/163 754s ok 536 /checksum/SHA1/164 754s ok 537 /checksum/SHA1/165 754s ok 538 /checksum/SHA1/166 754s ok 539 /checksum/SHA1/167 754s ok 540 /checksum/SHA1/168 754s ok 541 /checksum/SHA1/169 754s ok 542 /checksum/SHA1/170 754s ok 543 /checksum/SHA1/171 754s ok 544 /checksum/SHA1/172 754s ok 545 /checksum/SHA1/173 754s ok 546 /checksum/SHA1/174 754s ok 547 /checksum/SHA1/175 754s ok 548 /checksum/SHA1/176 754s ok 549 /checksum/SHA1/177 754s ok 550 /checksum/SHA1/178 754s ok 551 /checksum/SHA1/179 754s ok 552 /checksum/SHA1/180 754s ok 553 /checksum/SHA1/181 754s ok 554 /checksum/SHA1/182 754s ok 555 /checksum/SHA1/183 754s ok 556 /checksum/SHA1/string 754s ok 557 /checksum/SHA1/bytes 754s # Start of reset tests 754s ok 558 /checksum/SHA1/reset/0 754s ok 559 /checksum/SHA1/reset/1 754s ok 560 /checksum/SHA1/reset/2 754s ok 561 /checksum/SHA1/reset/3 754s ok 562 /checksum/SHA1/reset/4 754s ok 563 /checksum/SHA1/reset/5 754s ok 564 /checksum/SHA1/reset/6 754s ok 565 /checksum/SHA1/reset/7 754s ok 566 /checksum/SHA1/reset/8 754s ok 567 /checksum/SHA1/reset/9 754s ok 568 /checksum/SHA1/reset/10 754s ok 569 /checksum/SHA1/reset/11 754s ok 570 /checksum/SHA1/reset/12 754s ok 571 /checksum/SHA1/reset/13 754s ok 572 /checksum/SHA1/reset/14 754s ok 573 /checksum/SHA1/reset/15 754s ok 574 /checksum/SHA1/reset/16 754s ok 575 /checksum/SHA1/reset/17 754s ok 576 /checksum/SHA1/reset/18 754s ok 577 /checksum/SHA1/reset/19 754s ok 578 /checksum/SHA1/reset/20 754s ok 579 /checksum/SHA1/reset/21 754s ok 580 /checksum/SHA1/reset/22 754s ok 581 /checksum/SHA1/reset/23 754s ok 582 /checksum/SHA1/reset/24 754s ok 583 /checksum/SHA1/reset/25 754s ok 584 /checksum/SHA1/reset/26 754s ok 585 /checksum/SHA1/reset/27 754s ok 586 /checksum/SHA1/reset/28 754s ok 587 /checksum/SHA1/reset/29 754s ok 588 /checksum/SHA1/reset/30 754s ok 589 /checksum/SHA1/reset/31 754s ok 590 /checksum/SHA1/reset/32 754s ok 591 /checksum/SHA1/reset/33 754s ok 592 /checksum/SHA1/reset/34 754s ok 593 /checksum/SHA1/reset/35 754s ok 594 /checksum/SHA1/reset/36 754s ok 595 /checksum/SHA1/reset/37 754s ok 596 /checksum/SHA1/reset/38 754s ok 597 /checksum/SHA1/reset/39 754s ok 598 /checksum/SHA1/reset/40 754s ok 599 /checksum/SHA1/reset/41 754s ok 600 /checksum/SHA1/reset/42 754s ok 601 /checksum/SHA1/reset/43 754s ok 602 /checksum/SHA1/reset/44 754s ok 603 /checksum/SHA1/reset/45 754s ok 604 /checksum/SHA1/reset/46 754s ok 605 /checksum/SHA1/reset/47 754s ok 606 /checksum/SHA1/reset/48 754s ok 607 /checksum/SHA1/reset/49 754s ok 608 /checksum/SHA1/reset/50 754s ok 609 /checksum/SHA1/reset/51 754s ok 610 /checksum/SHA1/reset/52 754s ok 611 /checksum/SHA1/reset/53 754s ok 612 /checksum/SHA1/reset/54 754s ok 613 /checksum/SHA1/reset/55 754s ok 614 /checksum/SHA1/reset/56 754s ok 615 /checksum/SHA1/reset/57 754s ok 616 /checksum/SHA1/reset/58 754s ok 617 /checksum/SHA1/reset/59 754s ok 618 /checksum/SHA1/reset/60 754s ok 619 /checksum/SHA1/reset/61 754s ok 620 /checksum/SHA1/reset/62 754s ok 621 /checksum/SHA1/reset/63 754s ok 622 /checksum/SHA1/reset/64 754s ok 623 /checksum/SHA1/reset/65 754s ok 624 /checksum/SHA1/reset/66 754s ok 625 /checksum/SHA1/reset/67 754s ok 626 /checksum/SHA1/reset/68 754s ok 627 /checksum/SHA1/reset/69 754s ok 628 /checksum/SHA1/reset/70 754s ok 629 /checksum/SHA1/reset/71 754s ok 630 /checksum/SHA1/reset/72 754s ok 631 /checksum/SHA1/reset/73 754s ok 632 /checksum/SHA1/reset/74 754s ok 633 /checksum/SHA1/reset/75 754s ok 634 /checksum/SHA1/reset/76 754s ok 635 /checksum/SHA1/reset/77 754s ok 636 /checksum/SHA1/reset/78 754s ok 637 /checksum/SHA1/reset/79 754s ok 638 /checksum/SHA1/reset/80 754s ok 639 /checksum/SHA1/reset/81 754s ok 640 /checksum/SHA1/reset/82 754s ok 641 /checksum/SHA1/reset/83 754s ok 642 /checksum/SHA1/reset/84 754s ok 643 /checksum/SHA1/reset/85 754s ok 644 /checksum/SHA1/reset/86 754s ok 645 /checksum/SHA1/reset/87 754s ok 646 /checksum/SHA1/reset/88 754s ok 647 /checksum/SHA1/reset/89 754s ok 648 /checksum/SHA1/reset/90 754s ok 649 /checksum/SHA1/reset/91 754s ok 650 /checksum/SHA1/reset/92 754s ok 651 /checksum/SHA1/reset/93 754s ok 652 /checksum/SHA1/reset/94 754s ok 653 /checksum/SHA1/reset/95 754s ok 654 /checksum/SHA1/reset/96 754s ok 655 /checksum/SHA1/reset/97 754s ok 656 /checksum/SHA1/reset/98 754s ok 657 /checksum/SHA1/reset/99 754s ok 658 /checksum/SHA1/reset/100 754s ok 659 /checksum/SHA1/reset/101 754s ok 660 /checksum/SHA1/reset/102 754s ok 661 /checksum/SHA1/reset/103 754s ok 662 /checksum/SHA1/reset/104 754s ok 663 /checksum/SHA1/reset/105 754s ok 664 /checksum/SHA1/reset/106 754s ok 665 /checksum/SHA1/reset/107 754s ok 666 /checksum/SHA1/reset/108 754s ok 667 /checksum/SHA1/reset/109 754s ok 668 /checksum/SHA1/reset/110 754s ok 669 /checksum/SHA1/reset/111 754s ok 670 /checksum/SHA1/reset/112 754s ok 671 /checksum/SHA1/reset/113 754s ok 672 /checksum/SHA1/reset/114 754s ok 673 /checksum/SHA1/reset/115 754s ok 674 /checksum/SHA1/reset/116 754s ok 675 /checksum/SHA1/reset/117 754s ok 676 /checksum/SHA1/reset/118 754s ok 677 /checksum/SHA1/reset/119 754s ok 678 /checksum/SHA1/reset/120 754s ok 679 /checksum/SHA1/reset/121 754s ok 680 /checksum/SHA1/reset/122 754s ok 681 /checksum/SHA1/reset/123 754s ok 682 /checksum/SHA1/reset/124 754s ok 683 /checksum/SHA1/reset/125 754s ok 684 /checksum/SHA1/reset/126 754s ok 685 /checksum/SHA1/reset/127 754s ok 686 /checksum/SHA1/reset/128 754s ok 687 /checksum/SHA1/reset/129 754s ok 688 /checksum/SHA1/reset/130 754s ok 689 /checksum/SHA1/reset/131 754s ok 690 /checksum/SHA1/reset/132 754s ok 691 /checksum/SHA1/reset/133 754s ok 692 /checksum/SHA1/reset/134 754s ok 693 /checksum/SHA1/reset/135 754s ok 694 /checksum/SHA1/reset/136 754s ok 695 /checksum/SHA1/reset/137 754s ok 696 /checksum/SHA1/reset/138 754s ok 697 /checksum/SHA1/reset/139 754s ok 698 /checksum/SHA1/reset/140 754s ok 699 /checksum/SHA1/reset/141 754s ok 700 /checksum/SHA1/reset/142 754s ok 701 /checksum/SHA1/reset/143 754s ok 702 /checksum/SHA1/reset/144 754s ok 703 /checksum/SHA1/reset/145 754s ok 704 /checksum/SHA1/reset/146 754s ok 705 /checksum/SHA1/reset/147 754s ok 706 /checksum/SHA1/reset/148 754s ok 707 /checksum/SHA1/reset/149 754s ok 708 /checksum/SHA1/reset/150 754s ok 709 /checksum/SHA1/reset/151 754s ok 710 /checksum/SHA1/reset/152 754s ok 711 /checksum/SHA1/reset/153 754s ok 712 /checksum/SHA1/reset/154 754s ok 713 /checksum/SHA1/reset/155 754s ok 714 /checksum/SHA1/reset/156 754s ok 715 /checksum/SHA1/reset/157 754s ok 716 /checksum/SHA1/reset/158 754s ok 717 /checksum/SHA1/reset/159 754s ok 718 /checksum/SHA1/reset/160 754s ok 719 /checksum/SHA1/reset/161 754s ok 720 /checksum/SHA1/reset/162 754s ok 721 /checksum/SHA1/reset/163 754s ok 722 /checksum/SHA1/reset/164 754s ok 723 /checksum/SHA1/reset/165 754s ok 724 /checksum/SHA1/reset/166 754s ok 725 /checksum/SHA1/reset/167 754s ok 726 /checksum/SHA1/reset/168 754s ok 727 /checksum/SHA1/reset/169 754s ok 728 /checksum/SHA1/reset/170 754s ok 729 /checksum/SHA1/reset/171 754s ok 730 /checksum/SHA1/reset/172 754s ok 731 /checksum/SHA1/reset/173 754s ok 732 /checksum/SHA1/reset/174 754s ok 733 /checksum/SHA1/reset/175 754s ok 734 /checksum/SHA1/reset/176 754s ok 735 /checksum/SHA1/reset/177 754s ok 736 /checksum/SHA1/reset/178 754s ok 737 /checksum/SHA1/reset/179 754s ok 738 /checksum/SHA1/reset/180 754s ok 739 /checksum/SHA1/reset/181 754s ok 740 /checksum/SHA1/reset/182 754s ok 741 /checksum/SHA1/reset/183 754s # End of reset tests 754s # End of SHA1 tests 754s # Start of SHA256 tests 754s ok 742 /checksum/SHA256/0 754s ok 743 /checksum/SHA256/1 754s ok 744 /checksum/SHA256/2 754s ok 745 /checksum/SHA256/3 754s ok 746 /checksum/SHA256/4 754s ok 747 /checksum/SHA256/5 754s ok 748 /checksum/SHA256/6 754s ok 749 /checksum/SHA256/7 754s ok 750 /checksum/SHA256/8 754s ok 751 /checksum/SHA256/9 754s ok 752 /checksum/SHA256/10 754s ok 753 /checksum/SHA256/11 754s ok 754 /checksum/SHA256/12 754s ok 755 /checksum/SHA256/13 754s ok 756 /checksum/SHA256/14 754s ok 757 /checksum/SHA256/15 754s ok 758 /checksum/SHA256/16 754s ok 759 /checksum/SHA256/17 754s ok 760 /checksum/SHA256/18 754s ok 761 /checksum/SHA256/19 754s ok 762 /checksum/SHA256/20 754s ok 763 /checksum/SHA256/21 754s ok 764 /checksum/SHA256/22 754s ok 765 /checksum/SHA256/23 754s ok 766 /checksum/SHA256/24 754s ok 767 /checksum/SHA256/25 754s ok 768 /checksum/SHA256/26 754s ok 769 /checksum/SHA256/27 754s ok 770 /checksum/SHA256/28 754s ok 771 /checksum/SHA256/29 754s ok 772 /checksum/SHA256/30 754s ok 773 /checksum/SHA256/31 754s ok 774 /checksum/SHA256/32 754s ok 775 /checksum/SHA256/33 754s ok 776 /checksum/SHA256/34 754s ok 777 /checksum/SHA256/35 754s ok 778 /checksum/SHA256/36 754s ok 779 /checksum/SHA256/37 754s ok 780 /checksum/SHA256/38 754s ok 781 /checksum/SHA256/39 754s ok 782 /checksum/SHA256/40 754s ok 783 /checksum/SHA256/41 754s ok 784 /checksum/SHA256/42 754s ok 785 /checksum/SHA256/43 754s ok 786 /checksum/SHA256/44 754s ok 787 /checksum/SHA256/45 754s ok 788 /checksum/SHA256/46 754s ok 789 /checksum/SHA256/47 754s ok 790 /checksum/SHA256/48 754s ok 791 /checksum/SHA256/49 754s ok 792 /checksum/SHA256/50 754s ok 793 /checksum/SHA256/51 754s ok 794 /checksum/SHA256/52 754s ok 795 /checksum/SHA256/53 754s ok 796 /checksum/SHA256/54 754s ok 797 /checksum/SHA256/55 754s ok 798 /checksum/SHA256/56 754s ok 799 /checksum/SHA256/57 754s ok 800 /checksum/SHA256/58 754s ok 801 /checksum/SHA256/59 754s ok 802 /checksum/SHA256/60 754s ok 803 /checksum/SHA256/61 754s ok 804 /checksum/SHA256/62 754s ok 805 /checksum/SHA256/63 754s ok 806 /checksum/SHA256/64 754s ok 807 /checksum/SHA256/65 754s ok 808 /checksum/SHA256/66 754s ok 809 /checksum/SHA256/67 754s ok 810 /checksum/SHA256/68 754s ok 811 /checksum/SHA256/69 754s ok 812 /checksum/SHA256/70 754s ok 813 /checksum/SHA256/71 754s ok 814 /checksum/SHA256/72 754s ok 815 /checksum/SHA256/73 754s ok 816 /checksum/SHA256/74 754s ok 817 /checksum/SHA256/75 754s ok 818 /checksum/SHA256/76 754s ok 819 /checksum/SHA256/77 754s ok 820 /checksum/SHA256/78 754s ok 821 /checksum/SHA256/79 754s ok 822 /checksum/SHA256/80 754s ok 823 /checksum/SHA256/81 754s ok 824 /checksum/SHA256/82 754s ok 825 /checksum/SHA256/83 754s ok 826 /checksum/SHA256/84 754s ok 827 /checksum/SHA256/85 754s ok 828 /checksum/SHA256/86 754s ok 829 /checksum/SHA256/87 754s ok 830 /checksum/SHA256/88 754s ok 831 /checksum/SHA256/89 754s ok 832 /checksum/SHA256/90 754s ok 833 /checksum/SHA256/91 754s ok 834 /checksum/SHA256/92 754s ok 835 /checksum/SHA256/93 754s ok 836 /checksum/SHA256/94 754s ok 837 /checksum/SHA256/95 754s ok 838 /checksum/SHA256/96 754s ok 839 /checksum/SHA256/97 754s ok 840 /checksum/SHA256/98 754s ok 841 /checksum/SHA256/99 754s ok 842 /checksum/SHA256/100 754s ok 843 /checksum/SHA256/101 754s ok 844 /checksum/SHA256/102 754s ok 845 /checksum/SHA256/103 754s ok 846 /checksum/SHA256/104 754s ok 847 /checksum/SHA256/105 754s ok 848 /checksum/SHA256/106 754s ok 849 /checksum/SHA256/107 754s ok 850 /checksum/SHA256/108 754s ok 851 /checksum/SHA256/109 754s ok 852 /checksum/SHA256/110 754s ok 853 /checksum/SHA256/111 754s ok 854 /checksum/SHA256/112 754s ok 855 /checksum/SHA256/113 754s ok 856 /checksum/SHA256/114 754s ok 857 /checksum/SHA256/115 754s ok 858 /checksum/SHA256/116 754s ok 859 /checksum/SHA256/117 754s ok 860 /checksum/SHA256/118 754s ok 861 /checksum/SHA256/119 754s ok 862 /checksum/SHA256/120 754s ok 863 /checksum/SHA256/121 754s ok 864 /checksum/SHA256/122 754s ok 865 /checksum/SHA256/123 754s ok 866 /checksum/SHA256/124 754s ok 867 /checksum/SHA256/125 754s ok 868 /checksum/SHA256/126 754s ok 869 /checksum/SHA256/127 754s ok 870 /checksum/SHA256/128 754s ok 871 /checksum/SHA256/129 754s ok 872 /checksum/SHA256/130 754s ok 873 /checksum/SHA256/131 754s ok 874 /checksum/SHA256/132 754s ok 875 /checksum/SHA256/133 754s ok 876 /checksum/SHA256/134 754s ok 877 /checksum/SHA256/135 754s ok 878 /checksum/SHA256/136 754s ok 879 /checksum/SHA256/137 754s ok 880 /checksum/SHA256/138 754s ok 881 /checksum/SHA256/139 754s ok 882 /checksum/SHA256/140 754s ok 883 /checksum/SHA256/141 754s ok 884 /checksum/SHA256/142 754s ok 885 /checksum/SHA256/143 754s ok 886 /checksum/SHA256/144 754s ok 887 /checksum/SHA256/145 754s ok 888 /checksum/SHA256/146 754s ok 889 /checksum/SHA256/147 754s ok 890 /checksum/SHA256/148 754s ok 891 /checksum/SHA256/149 754s ok 892 /checksum/SHA256/150 754s ok 893 /checksum/SHA256/151 754s ok 894 /checksum/SHA256/152 754s ok 895 /checksum/SHA256/153 754s ok 896 /checksum/SHA256/154 754s ok 897 /checksum/SHA256/155 754s ok 898 /checksum/SHA256/156 754s ok 899 /checksum/SHA256/157 754s ok 900 /checksum/SHA256/158 754s ok 901 /checksum/SHA256/159 754s ok 902 /checksum/SHA256/160 754s ok 903 /checksum/SHA256/161 754s ok 904 /checksum/SHA256/162 754s ok 905 /checksum/SHA256/163 754s ok 906 /checksum/SHA256/164 754s ok 907 /checksum/SHA256/165 754s ok 908 /checksum/SHA256/166 754s ok 909 /checksum/SHA256/167 754s ok 910 /checksum/SHA256/168 754s ok 911 /checksum/SHA256/169 754s ok 912 /checksum/SHA256/170 754s ok 913 /checksum/SHA256/171 754s ok 914 /checksum/SHA256/172 754s ok 915 /checksum/SHA256/173 754s ok 916 /checksum/SHA256/174 754s ok 917 /checksum/SHA256/175 754s ok 918 /checksum/SHA256/176 754s ok 919 /checksum/SHA256/177 754s ok 920 /checksum/SHA256/178 754s ok 921 /checksum/SHA256/179 754s ok 922 /checksum/SHA256/180 754s ok 923 /checksum/SHA256/181 754s ok 924 /checksum/SHA256/182 754s ok 925 /checksum/SHA256/183 754s ok 926 /checksum/SHA256/string 754s ok 927 /checksum/SHA256/bytes 754s # Start of reset tests 754s ok 928 /checksum/SHA256/reset/0 754s ok 929 /checksum/SHA256/reset/1 754s ok 930 /checksum/SHA256/reset/2 754s ok 931 /checksum/SHA256/reset/3 754s ok 932 /checksum/SHA256/reset/4 754s ok 933 /checksum/SHA256/reset/5 754s ok 934 /checksum/SHA256/reset/6 754s ok 935 /checksum/SHA256/reset/7 754s ok 936 /checksum/SHA256/reset/8 754s ok 937 /checksum/SHA256/reset/9 754s ok 938 /checksum/SHA256/reset/10 754s ok 939 /checksum/SHA256/reset/11 754s ok 940 /checksum/SHA256/reset/12 754s ok 941 /checksum/SHA256/reset/13 754s ok 942 /checksum/SHA256/reset/14 754s ok 943 /checksum/SHA256/reset/15 754s ok 944 /checksum/SHA256/reset/16 754s ok 945 /checksum/SHA256/reset/17 754s ok 946 /checksum/SHA256/reset/18 754s ok 947 /checksum/SHA256/reset/19 754s ok 948 /checksum/SHA256/reset/20 754s ok 949 /checksum/SHA256/reset/21 754s ok 950 /checksum/SHA256/reset/22 754s ok 951 /checksum/SHA256/reset/23 754s ok 952 /checksum/SHA256/reset/24 754s ok 953 /checksum/SHA256/reset/25 754s ok 954 /checksum/SHA256/reset/26 754s ok 955 /checksum/SHA256/reset/27 754s ok 956 /checksum/SHA256/reset/28 754s ok 957 /checksum/SHA256/reset/29 754s ok 958 /checksum/SHA256/reset/30 754s ok 959 /checksum/SHA256/reset/31 754s ok 960 /checksum/SHA256/reset/32 754s ok 961 /checksum/SHA256/reset/33 754s ok 962 /checksum/SHA256/reset/34 754s ok 963 /checksum/SHA256/reset/35 754s ok 964 /checksum/SHA256/reset/36 754s ok 965 /checksum/SHA256/reset/37 754s ok 966 /checksum/SHA256/reset/38 754s ok 967 /checksum/SHA256/reset/39 754s ok 968 /checksum/SHA256/reset/40 754s ok 969 /checksum/SHA256/reset/41 754s ok 970 /checksum/SHA256/reset/42 754s ok 971 /checksum/SHA256/reset/43 754s ok 972 /checksum/SHA256/reset/44 754s ok 973 /checksum/SHA256/reset/45 754s ok 974 /checksum/SHA256/reset/46 754s ok 975 /checksum/SHA256/reset/47 754s ok 976 /checksum/SHA256/reset/48 754s ok 977 /checksum/SHA256/reset/49 754s ok 978 /checksum/SHA256/reset/50 754s ok 979 /checksum/SHA256/reset/51 754s ok 980 /checksum/SHA256/reset/52 754s ok 981 /checksum/SHA256/reset/53 754s ok 982 /checksum/SHA256/reset/54 754s ok 983 /checksum/SHA256/reset/55 754s ok 984 /checksum/SHA256/reset/56 754s ok 985 /checksum/SHA256/reset/57 754s ok 986 /checksum/SHA256/reset/58 754s ok 987 /checksum/SHA256/reset/59 754s ok 988 /checksum/SHA256/reset/60 754s ok 989 /checksum/SHA256/reset/61 754s ok 990 /checksum/SHA256/reset/62 754s ok 991 /checksum/SHA256/reset/63 754s ok 992 /checksum/SHA256/reset/64 754s ok 993 /checksum/SHA256/reset/65 754s ok 994 /checksum/SHA256/reset/66 754s ok 995 /checksum/SHA256/reset/67 754s ok 996 /checksum/SHA256/reset/68 754s ok 997 /checksum/SHA256/reset/69 754s ok 998 /checksum/SHA256/reset/70 754s ok 999 /checksum/SHA256/reset/71 754s ok 1000 /checksum/SHA256/reset/72 754s ok 1001 /checksum/SHA256/reset/73 754s ok 1002 /checksum/SHA256/reset/74 754s ok 1003 /checksum/SHA256/reset/75 754s ok 1004 /checksum/SHA256/reset/76 754s ok 1005 /checksum/SHA256/reset/77 754s ok 1006 /checksum/SHA256/reset/78 754s ok 1007 /checksum/SHA256/reset/79 754s ok 1008 /checksum/SHA256/reset/80 754s ok 1009 /checksum/SHA256/reset/81 754s ok 1010 /checksum/SHA256/reset/82 754s ok 1011 /checksum/SHA256/reset/83 754s ok 1012 /checksum/SHA256/reset/84 754s ok 1013 /checksum/SHA256/reset/85 754s ok 1014 /checksum/SHA256/reset/86 754s ok 1015 /checksum/SHA256/reset/87 754s ok 1016 /checksum/SHA256/reset/88 754s ok 1017 /checksum/SHA256/reset/89 754s ok 1018 /checksum/SHA256/reset/90 754s ok 1019 /checksum/SHA256/reset/91 754s ok 1020 /checksum/SHA256/reset/92 754s ok 1021 /checksum/SHA256/reset/93 754s ok 1022 /checksum/SHA256/reset/94 754s ok 1023 /checksum/SHA256/reset/95 754s ok 1024 /checksum/SHA256/reset/96 754s ok 1025 /checksum/SHA256/reset/97 754s ok 1026 /checksum/SHA256/reset/98 754s ok 1027 /checksum/SHA256/reset/99 754s ok 1028 /checksum/SHA256/reset/100 754s ok 1029 /checksum/SHA256/reset/101 754s ok 1030 /checksum/SHA256/reset/102 754s ok 1031 /checksum/SHA256/reset/103 754s ok 1032 /checksum/SHA256/reset/104 754s ok 1033 /checksum/SHA256/reset/105 754s ok 1034 /checksum/SHA256/reset/106 754s ok 1035 /checksum/SHA256/reset/107 754s ok 1036 /checksum/SHA256/reset/108 754s ok 1037 /checksum/SHA256/reset/109 754s ok 1038 /checksum/SHA256/reset/110 754s ok 1039 /checksum/SHA256/reset/111 754s ok 1040 /checksum/SHA256/reset/112 754s ok 1041 /checksum/SHA256/reset/113 754s ok 1042 /checksum/SHA256/reset/114 754s ok 1043 /checksum/SHA256/reset/115 754s ok 1044 /checksum/SHA256/reset/116 754s ok 1045 /checksum/SHA256/reset/117 754s ok 1046 /checksum/SHA256/reset/118 754s ok 1047 /checksum/SHA256/reset/119 754s ok 1048 /checksum/SHA256/reset/120 754s ok 1049 /checksum/SHA256/reset/121 754s ok 1050 /checksum/SHA256/reset/122 754s ok 1051 /checksum/SHA256/reset/123 754s ok 1052 /checksum/SHA256/reset/124 754s ok 1053 /checksum/SHA256/reset/125 754s ok 1054 /checksum/SHA256/reset/126 754s ok 1055 /checksum/SHA256/reset/127 754s ok 1056 /checksum/SHA256/reset/128 754s ok 1057 /checksum/SHA256/reset/129 754s ok 1058 /checksum/SHA256/reset/130 754s ok 1059 /checksum/SHA256/reset/131 754s ok 1060 /checksum/SHA256/reset/132 754s ok 1061 /checksum/SHA256/reset/133 754s ok 1062 /checksum/SHA256/reset/134 754s ok 1063 /checksum/SHA256/reset/135 754s ok 1064 /checksum/SHA256/reset/136 754s ok 1065 /checksum/SHA256/reset/137 754s ok 1066 /checksum/SHA256/reset/138 754s ok 1067 /checksum/SHA256/reset/139 754s ok 1068 /checksum/SHA256/reset/140 754s ok 1069 /checksum/SHA256/reset/141 754s ok 1070 /checksum/SHA256/reset/142 754s ok 1071 /checksum/SHA256/reset/143 754s ok 1072 /checksum/SHA256/reset/144 754s ok 1073 /checksum/SHA256/reset/145 754s ok 1074 /checksum/SHA256/reset/146 754s ok 1075 /checksum/SHA256/reset/147 754s ok 1076 /checksum/SHA256/reset/148 754s ok 1077 /checksum/SHA256/reset/149 754s ok 1078 /checksum/SHA256/reset/150 754s ok 1079 /checksum/SHA256/reset/151 754s ok 1080 /checksum/SHA256/reset/152 754s ok 1081 /checksum/SHA256/reset/153 754s ok 1082 /checksum/SHA256/reset/154 754s ok 1083 /checksum/SHA256/reset/155 754s ok 1084 /checksum/SHA256/reset/156 754s ok 1085 /checksum/SHA256/reset/157 754s ok 1086 /checksum/SHA256/reset/158 754s ok 1087 /checksum/SHA256/reset/159 754s ok 1088 /checksum/SHA256/reset/160 754s ok 1089 /checksum/SHA256/reset/161 754s ok 1090 /checksum/SHA256/reset/162 754s ok 1091 /checksum/SHA256/reset/163 754s ok 1092 /checksum/SHA256/reset/164 754s ok 1093 /checksum/SHA256/reset/165 754s ok 1094 /checksum/SHA256/reset/166 754s ok 1095 /checksum/SHA256/reset/167 754s ok 1096 /checksum/SHA256/reset/168 754s ok 1097 /checksum/SHA256/reset/169 754s ok 1098 /checksum/SHA256/reset/170 754s ok 1099 /checksum/SHA256/reset/171 754s ok 1100 /checksum/SHA256/reset/172 754s ok 1101 /checksum/SHA256/reset/173 754s ok 1102 /checksum/SHA256/reset/174 754s ok 1103 /checksum/SHA256/reset/175 754s ok 1104 /checksum/SHA256/reset/176 754s ok 1105 /checksum/SHA256/reset/177 754s ok 1106 /checksum/SHA256/reset/178 754s ok 1107 /checksum/SHA256/reset/179 754s ok 1108 /checksum/SHA256/reset/180 754s ok 1109 /checksum/SHA256/reset/181 754s ok 1110 /checksum/SHA256/reset/182 754s ok 1111 /checksum/SHA256/reset/183 754s # End of reset tests 754s # End of SHA256 tests 754s # Start of SHA384 tests 754s ok 1112 /checksum/SHA384/0 754s ok 1113 /checksum/SHA384/1 754s ok 1114 /checksum/SHA384/2 754s ok 1115 /checksum/SHA384/3 754s ok 1116 /checksum/SHA384/4 754s ok 1117 /checksum/SHA384/5 754s ok 1118 /checksum/SHA384/6 754s ok 1119 /checksum/SHA384/7 754s ok 1120 /checksum/SHA384/8 754s ok 1121 /checksum/SHA384/9 754s ok 1122 /checksum/SHA384/10 754s ok 1123 /checksum/SHA384/11 754s ok 1124 /checksum/SHA384/12 754s ok 1125 /checksum/SHA384/13 754s ok 1126 /checksum/SHA384/14 754s ok 1127 /checksum/SHA384/15 754s ok 1128 /checksum/SHA384/16 754s ok 1129 /checksum/SHA384/17 754s ok 1130 /checksum/SHA384/18 754s ok 1131 /checksum/SHA384/19 754s ok 1132 /checksum/SHA384/20 754s ok 1133 /checksum/SHA384/21 754s ok 1134 /checksum/SHA384/22 754s ok 1135 /checksum/SHA384/23 754s ok 1136 /checksum/SHA384/24 754s ok 1137 /checksum/SHA384/25 754s ok 1138 /checksum/SHA384/26 754s ok 1139 /checksum/SHA384/27 754s ok 1140 /checksum/SHA384/28 754s ok 1141 /checksum/SHA384/29 754s ok 1142 /checksum/SHA384/30 754s ok 1143 /checksum/SHA384/31 754s ok 1144 /checksum/SHA384/32 754s ok 1145 /checksum/SHA384/33 754s ok 1146 /checksum/SHA384/34 754s ok 1147 /checksum/SHA384/35 754s ok 1148 /checksum/SHA384/36 754s ok 1149 /checksum/SHA384/37 754s ok 1150 /checksum/SHA384/38 754s ok 1151 /checksum/SHA384/39 754s ok 1152 /checksum/SHA384/40 754s ok 1153 /checksum/SHA384/41 754s ok 1154 /checksum/SHA384/42 754s ok 1155 /checksum/SHA384/43 754s ok 1156 /checksum/SHA384/44 754s ok 1157 /checksum/SHA384/45 754s ok 1158 /checksum/SHA384/46 754s ok 1159 /checksum/SHA384/47 754s ok 1160 /checksum/SHA384/48 754s ok 1161 /checksum/SHA384/49 754s ok 1162 /checksum/SHA384/50 754s ok 1163 /checksum/SHA384/51 754s ok 1164 /checksum/SHA384/52 754s ok 1165 /checksum/SHA384/53 754s ok 1166 /checksum/SHA384/54 754s ok 1167 /checksum/SHA384/55 754s ok 1168 /checksum/SHA384/56 754s ok 1169 /checksum/SHA384/57 754s ok 1170 /checksum/SHA384/58 754s ok 1171 /checksum/SHA384/59 754s ok 1172 /checksum/SHA384/60 754s ok 1173 /checksum/SHA384/61 754s ok 1174 /checksum/SHA384/62 754s ok 1175 /checksum/SHA384/63 754s ok 1176 /checksum/SHA384/64 754s ok 1177 /checksum/SHA384/65 754s ok 1178 /checksum/SHA384/66 754s ok 1179 /checksum/SHA384/67 754s ok 1180 /checksum/SHA384/68 754s ok 1181 /checksum/SHA384/69 754s ok 1182 /checksum/SHA384/70 754s ok 1183 /checksum/SHA384/71 754s ok 1184 /checksum/SHA384/72 754s ok 1185 /checksum/SHA384/73 754s ok 1186 /checksum/SHA384/74 754s ok 1187 /checksum/SHA384/75 754s ok 1188 /checksum/SHA384/76 754s ok 1189 /checksum/SHA384/77 754s ok 1190 /checksum/SHA384/78 754s ok 1191 /checksum/SHA384/79 754s ok 1192 /checksum/SHA384/80 754s ok 1193 /checksum/SHA384/81 754s ok 1194 /checksum/SHA384/82 754s ok 1195 /checksum/SHA384/83 754s ok 1196 /checksum/SHA384/84 754s ok 1197 /checksum/SHA384/85 754s ok 1198 /checksum/SHA384/86 754s ok 1199 /checksum/SHA384/87 754s ok 1200 /checksum/SHA384/88 754s ok 1201 /checksum/SHA384/89 754s ok 1202 /checksum/SHA384/90 754s ok 1203 /checksum/SHA384/91 754s ok 1204 /checksum/SHA384/92 754s ok 1205 /checksum/SHA384/93 754s ok 1206 /checksum/SHA384/94 754s ok 1207 /checksum/SHA384/95 754s ok 1208 /checksum/SHA384/96 754s ok 1209 /checksum/SHA384/97 754s ok 1210 /checksum/SHA384/98 754s ok 1211 /checksum/SHA384/99 754s ok 1212 /checksum/SHA384/100 754s ok 1213 /checksum/SHA384/101 754s ok 1214 /checksum/SHA384/102 754s ok 1215 /checksum/SHA384/103 754s ok 1216 /checksum/SHA384/104 754s ok 1217 /checksum/SHA384/105 754s ok 1218 /checksum/SHA384/106 754s ok 1219 /checksum/SHA384/107 754s ok 1220 /checksum/SHA384/108 754s ok 1221 /checksum/SHA384/109 754s ok 1222 /checksum/SHA384/110 754s ok 1223 /checksum/SHA384/111 754s ok 1224 /checksum/SHA384/112 754s ok 1225 /checksum/SHA384/113 754s ok 1226 /checksum/SHA384/114 754s ok 1227 /checksum/SHA384/115 754s ok 1228 /checksum/SHA384/116 754s ok 1229 /checksum/SHA384/117 754s ok 1230 /checksum/SHA384/118 754s ok 1231 /checksum/SHA384/119 754s ok 1232 /checksum/SHA384/120 754s ok 1233 /checksum/SHA384/121 754s ok 1234 /checksum/SHA384/122 754s ok 1235 /checksum/SHA384/123 754s ok 1236 /checksum/SHA384/124 754s ok 1237 /checksum/SHA384/125 754s ok 1238 /checksum/SHA384/126 754s ok 1239 /checksum/SHA384/127 754s ok 1240 /checksum/SHA384/128 754s ok 1241 /checksum/SHA384/129 754s ok 1242 /checksum/SHA384/130 754s ok 1243 /checksum/SHA384/131 754s ok 1244 /checksum/SHA384/132 754s ok 1245 /checksum/SHA384/133 754s ok 1246 /checksum/SHA384/134 754s ok 1247 /checksum/SHA384/135 754s ok 1248 /checksum/SHA384/136 754s ok 1249 /checksum/SHA384/137 754s ok 1250 /checksum/SHA384/138 754s ok 1251 /checksum/SHA384/139 754s ok 1252 /checksum/SHA384/140 754s ok 1253 /checksum/SHA384/141 754s ok 1254 /checksum/SHA384/142 754s ok 1255 /checksum/SHA384/143 754s ok 1256 /checksum/SHA384/144 754s ok 1257 /checksum/SHA384/145 754s ok 1258 /checksum/SHA384/146 754s ok 1259 /checksum/SHA384/147 754s ok 1260 /checksum/SHA384/148 754s ok 1261 /checksum/SHA384/149 754s ok 1262 /checksum/SHA384/150 754s ok 1263 /checksum/SHA384/151 754s ok 1264 /checksum/SHA384/152 754s ok 1265 /checksum/SHA384/153 754s ok 1266 /checksum/SHA384/154 754s ok 1267 /checksum/SHA384/155 754s ok 1268 /checksum/SHA384/156 754s ok 1269 /checksum/SHA384/157 754s ok 1270 /checksum/SHA384/158 754s ok 1271 /checksum/SHA384/159 754s ok 1272 /checksum/SHA384/160 754s ok 1273 /checksum/SHA384/161 754s ok 1274 /checksum/SHA384/162 754s ok 1275 /checksum/SHA384/163 754s ok 1276 /checksum/SHA384/164 754s ok 1277 /checksum/SHA384/165 754s ok 1278 /checksum/SHA384/166 754s ok 1279 /checksum/SHA384/167 754s ok 1280 /checksum/SHA384/168 754s ok 1281 /checksum/SHA384/169 754s ok 1282 /checksum/SHA384/170 754s ok 1283 /checksum/SHA384/171 754s ok 1284 /checksum/SHA384/172 754s ok 1285 /checksum/SHA384/173 754s ok 1286 /checksum/SHA384/174 754s ok 1287 /checksum/SHA384/175 754s ok 1288 /checksum/SHA384/176 754s ok 1289 /checksum/SHA384/177 754s ok 1290 /checksum/SHA384/178 754s ok 1291 /checksum/SHA384/179 754s ok 1292 /checksum/SHA384/180 754s ok 1293 /checksum/SHA384/181 754s ok 1294 /checksum/SHA384/182 754s ok 1295 /checksum/SHA384/183 754s ok 1296 /checksum/SHA384/string 754s ok 1297 /checksum/SHA384/bytes 754s # Start of reset tests 754s ok 1298 /checksum/SHA384/reset/0 754s ok 1299 /checksum/SHA384/reset/1 754s ok 1300 /checksum/SHA384/reset/2 754s ok 1301 /checksum/SHA384/reset/3 754s ok 1302 /checksum/SHA384/reset/4 754s ok 1303 /checksum/SHA384/reset/5 754s ok 1304 /checksum/SHA384/reset/6 754s ok 1305 /checksum/SHA384/reset/7 754s ok 1306 /checksum/SHA384/reset/8 754s ok 1307 /checksum/SHA384/reset/9 754s ok 1308 /checksum/SHA384/reset/10 754s ok 1309 /checksum/SHA384/reset/11 754s ok 1310 /checksum/SHA384/reset/12 754s ok 1311 /checksum/SHA384/reset/13 754s ok 1312 /checksum/SHA384/reset/14 754s ok 1313 /checksum/SHA384/reset/15 754s ok 1314 /checksum/SHA384/reset/16 754s ok 1315 /checksum/SHA384/reset/17 754s ok 1316 /checksum/SHA384/reset/18 754s ok 1317 /checksum/SHA384/reset/19 754s ok 1318 /checksum/SHA384/reset/20 754s ok 1319 /checksum/SHA384/reset/21 754s ok 1320 /checksum/SHA384/reset/22 754s ok 1321 /checksum/SHA384/reset/23 754s ok 1322 /checksum/SHA384/reset/24 754s ok 1323 /checksum/SHA384/reset/25 754s ok 1324 /checksum/SHA384/reset/26 754s ok 1325 /checksum/SHA384/reset/27 754s ok 1326 /checksum/SHA384/reset/28 754s ok 1327 /checksum/SHA384/reset/29 754s ok 1328 /checksum/SHA384/reset/30 754s ok 1329 /checksum/SHA384/reset/31 754s ok 1330 /checksum/SHA384/reset/32 754s ok 1331 /checksum/SHA384/reset/33 754s ok 1332 /checksum/SHA384/reset/34 754s ok 1333 /checksum/SHA384/reset/35 754s ok 1334 /checksum/SHA384/reset/36 754s ok 1335 /checksum/SHA384/reset/37 754s ok 1336 /checksum/SHA384/reset/38 754s ok 1337 /checksum/SHA384/reset/39 754s ok 1338 /checksum/SHA384/reset/40 754s ok 1339 /checksum/SHA384/reset/41 754s ok 1340 /checksum/SHA384/reset/42 754s ok 1341 /checksum/SHA384/reset/43 754s ok 1342 /checksum/SHA384/reset/44 754s ok 1343 /checksum/SHA384/reset/45 754s ok 1344 /checksum/SHA384/reset/46 754s ok 1345 /checksum/SHA384/reset/47 754s ok 1346 /checksum/SHA384/reset/48 754s ok 1347 /checksum/SHA384/reset/49 754s ok 1348 /checksum/SHA384/reset/50 754s ok 1349 /checksum/SHA384/reset/51 754s ok 1350 /checksum/SHA384/reset/52 754s ok 1351 /checksum/SHA384/reset/53 754s ok 1352 /checksum/SHA384/reset/54 754s ok 1353 /checksum/SHA384/reset/55 754s ok 1354 /checksum/SHA384/reset/56 754s ok 1355 /checksum/SHA384/reset/57 754s ok 1356 /checksum/SHA384/reset/58 754s ok 1357 /checksum/SHA384/reset/59 754s ok 1358 /checksum/SHA384/reset/60 754s ok 1359 /checksum/SHA384/reset/61 754s ok 1360 /checksum/SHA384/reset/62 754s ok 1361 /checksum/SHA384/reset/63 754s ok 1362 /checksum/SHA384/reset/64 754s ok 1363 /checksum/SHA384/reset/65 754s ok 1364 /checksum/SHA384/reset/66 754s ok 1365 /checksum/SHA384/reset/67 754s ok 1366 /checksum/SHA384/reset/68 754s ok 1367 /checksum/SHA384/reset/69 754s ok 1368 /checksum/SHA384/reset/70 754s ok 1369 /checksum/SHA384/reset/71 754s ok 1370 /checksum/SHA384/reset/72 754s ok 1371 /checksum/SHA384/reset/73 754s ok 1372 /checksum/SHA384/reset/74 754s ok 1373 /checksum/SHA384/reset/75 754s ok 1374 /checksum/SHA384/reset/76 754s ok 1375 /checksum/SHA384/reset/77 754s ok 1376 /checksum/SHA384/reset/78 754s ok 1377 /checksum/SHA384/reset/79 754s ok 1378 /checksum/SHA384/reset/80 754s ok 1379 /checksum/SHA384/reset/81 754s ok 1380 /checksum/SHA384/reset/82 754s ok 1381 /checksum/SHA384/reset/83 754s ok 1382 /checksum/SHA384/reset/84 754s ok 1383 /checksum/SHA384/reset/85 754s ok 1384 /checksum/SHA384/reset/86 754s ok 1385 /checksum/SHA384/reset/87 754s ok 1386 /checksum/SHA384/reset/88 754s ok 1387 /checksum/SHA384/reset/89 754s ok 1388 /checksum/SHA384/reset/90 754s ok 1389 /checksum/SHA384/reset/91 754s ok 1390 /checksum/SHA384/reset/92 754s ok 1391 /checksum/SHA384/reset/93 754s ok 1392 /checksum/SHA384/reset/94 754s ok 1393 /checksum/SHA384/reset/95 754s ok 1394 /checksum/SHA384/reset/96 754s ok 1395 /checksum/SHA384/reset/97 754s ok 1396 /checksum/SHA384/reset/98 754s ok 1397 /checksum/SHA384/reset/99 754s ok 1398 /checksum/SHA384/reset/100 754s ok 1399 /checksum/SHA384/reset/101 754s ok 1400 /checksum/SHA384/reset/102 754s ok 1401 /checksum/SHA384/reset/103 754s ok 1402 /checksum/SHA384/reset/104 754s ok 1403 /checksum/SHA384/reset/105 754s ok 1404 /checksum/SHA384/reset/106 754s ok 1405 /checksum/SHA384/reset/107 754s ok 1406 /checksum/SHA384/reset/108 754s ok 1407 /checksum/SHA384/reset/109 754s ok 1408 /checksum/SHA384/reset/110 754s ok 1409 /checksum/SHA384/reset/111 754s ok 1410 /checksum/SHA384/reset/112 754s ok 1411 /checksum/SHA384/reset/113 754s ok 1412 /checksum/SHA384/reset/114 754s ok 1413 /checksum/SHA384/reset/115 754s ok 1414 /checksum/SHA384/reset/116 754s ok 1415 /checksum/SHA384/reset/117 754s ok 1416 /checksum/SHA384/reset/118 754s ok 1417 /checksum/SHA384/reset/119 754s ok 1418 /checksum/SHA384/reset/120 754s ok 1419 /checksum/SHA384/reset/121 754s ok 1420 /checksum/SHA384/reset/122 754s ok 1421 /checksum/SHA384/reset/123 754s ok 1422 /checksum/SHA384/reset/124 754s ok 1423 /checksum/SHA384/reset/125 754s ok 1424 /checksum/SHA384/reset/126 754s ok 1425 /checksum/SHA384/reset/127 754s ok 1426 /checksum/SHA384/reset/128 754s ok 1427 /checksum/SHA384/reset/129 754s ok 1428 /checksum/SHA384/reset/130 754s ok 1429 /checksum/SHA384/reset/131 754s ok 1430 /checksum/SHA384/reset/132 754s ok 1431 /checksum/SHA384/reset/133 754s ok 1432 /checksum/SHA384/reset/134 754s ok 1433 /checksum/SHA384/reset/135 754s ok 1434 /checksum/SHA384/reset/136 754s ok 1435 /checksum/SHA384/reset/137 754s ok 1436 /checksum/SHA384/reset/138 754s ok 1437 /checksum/SHA384/reset/139 754s ok 1438 /checksum/SHA384/reset/140 754s ok 1439 /checksum/SHA384/reset/141 754s ok 1440 /checksum/SHA384/reset/142 754s ok 1441 /checksum/SHA384/reset/143 754s ok 1442 /checksum/SHA384/reset/144 754s ok 1443 /checksum/SHA384/reset/145 754s ok 1444 /checksum/SHA384/reset/146 754s ok 1445 /checksum/SHA384/reset/147 754s ok 1446 /checksum/SHA384/reset/148 754s ok 1447 /checksum/SHA384/reset/149 754s ok 1448 /checksum/SHA384/reset/150 754s ok 1449 /checksum/SHA384/reset/151 754s ok 1450 /checksum/SHA384/reset/152 754s ok 1451 /checksum/SHA384/reset/153 754s ok 1452 /checksum/SHA384/reset/154 754s ok 1453 /checksum/SHA384/reset/155 754s ok 1454 /checksum/SHA384/reset/156 754s ok 1455 /checksum/SHA384/reset/157 754s ok 1456 /checksum/SHA384/reset/158 754s ok 1457 /checksum/SHA384/reset/159 754s ok 1458 /checksum/SHA384/reset/160 754s ok 1459 /checksum/SHA384/reset/161 754s ok 1460 /checksum/SHA384/reset/162 754s ok 1461 /checksum/SHA384/reset/163 754s ok 1462 /checksum/SHA384/reset/164 754s ok 1463 /checksum/SHA384/reset/165 754s ok 1464 /checksum/SHA384/reset/166 754s ok 1465 /checksum/SHA384/reset/167 754s ok 1466 /checksum/SHA384/reset/168 754s ok 1467 /checksum/SHA384/reset/169 754s ok 1468 /checksum/SHA384/reset/170 754s ok 1469 /checksum/SHA384/reset/171 754s ok 1470 /checksum/SHA384/reset/172 754s ok 1471 /checksum/SHA384/reset/173 754s ok 1472 /checksum/SHA384/reset/174 754s ok 1473 /checksum/SHA384/reset/175 754s ok 1474 /checksum/SHA384/reset/176 754s ok 1475 /checksum/SHA384/reset/177 754s ok 1476 /checksum/SHA384/reset/178 754s ok 1477 /checksum/SHA384/reset/179 754s ok 1478 /checksum/SHA384/reset/180 754s ok 1479 /checksum/SHA384/reset/181 754s ok 1480 /checksum/SHA384/reset/182 754s ok 1481 /checksum/SHA384/reset/183 754s # End of reset tests 754s # End of SHA384 tests 754s # Start of SHA512 tests 754s ok 1482 /checksum/SHA512/0 754s ok 1483 /checksum/SHA512/1 754s ok 1484 /checksum/SHA512/2 754s ok 1485 /checksum/SHA512/3 754s ok 1486 /checksum/SHA512/4 754s ok 1487 /checksum/SHA512/5 754s ok 1488 /checksum/SHA512/6 754s ok 1489 /checksum/SHA512/7 754s ok 1490 /checksum/SHA512/8 754s ok 1491 /checksum/SHA512/9 754s ok 1492 /checksum/SHA512/10 754s ok 1493 /checksum/SHA512/11 754s ok 1494 /checksum/SHA512/12 754s ok 1495 /checksum/SHA512/13 754s ok 1496 /checksum/SHA512/14 754s ok 1497 /checksum/SHA512/15 754s ok 1498 /checksum/SHA512/16 754s ok 1499 /checksum/SHA512/17 754s ok 1500 /checksum/SHA512/18 754s ok 1501 /checksum/SHA512/19 754s ok 1502 /checksum/SHA512/20 754s ok 1503 /checksum/SHA512/21 754s ok 1504 /checksum/SHA512/22 754s ok 1505 /checksum/SHA512/23 754s ok 1506 /checksum/SHA512/24 754s ok 1507 /checksum/SHA512/25 754s ok 1508 /checksum/SHA512/26 754s ok 1509 /checksum/SHA512/27 754s ok 1510 /checksum/SHA512/28 754s ok 1511 /checksum/SHA512/29 754s ok 1512 /checksum/SHA512/30 754s ok 1513 /checksum/SHA512/31 754s ok 1514 /checksum/SHA512/32 754s ok 1515 /checksum/SHA512/33 754s ok 1516 /checksum/SHA512/34 754s ok 1517 /checksum/SHA512/35 754s ok 1518 /checksum/SHA512/36 754s ok 1519 /checksum/SHA512/37 754s ok 1520 /checksum/SHA512/38 754s ok 1521 /checksum/SHA512/39 754s ok 1522 /checksum/SHA512/40 754s ok 1523 /checksum/SHA512/41 754s ok 1524 /checksum/SHA512/42 754s ok 1525 /checksum/SHA512/43 754s ok 1526 /checksum/SHA512/44 754s ok 1527 /checksum/SHA512/45 754s ok 1528 /checksum/SHA512/46 754s ok 1529 /checksum/SHA512/47 754s ok 1530 /checksum/SHA512/48 754s ok 1531 /checksum/SHA512/49 754s ok 1532 /checksum/SHA512/50 754s ok 1533 /checksum/SHA512/51 754s ok 1534 /checksum/SHA512/52 754s ok 1535 /checksum/SHA512/53 754s ok 1536 /checksum/SHA512/54 754s ok 1537 /checksum/SHA512/55 754s ok 1538 /checksum/SHA512/56 754s ok 1539 /checksum/SHA512/57 754s ok 1540 /checksum/SHA512/58 754s ok 1541 /checksum/SHA512/59 754s ok 1542 /checksum/SHA512/60 754s ok 1543 /checksum/SHA512/61 754s ok 1544 /checksum/SHA512/62 754s ok 1545 /checksum/SHA512/63 754s ok 1546 /checksum/SHA512/64 754s ok 1547 /checksum/SHA512/65 754s ok 1548 /checksum/SHA512/66 754s ok 1549 /checksum/SHA512/67 754s ok 1550 /checksum/SHA512/68 755s ok 1551 /checksum/SHA512/69 755s ok 1552 /checksum/SHA512/70 755s ok 1553 /checksum/SHA512/71 755s ok 1554 /checksum/SHA512/72 755s ok 1555 /checksum/SHA512/73 755s ok 1556 /checksum/SHA512/74 755s ok 1557 /checksum/SHA512/75 755s ok 1558 /checksum/SHA512/76 755s ok 1559 /checksum/SHA512/77 755s ok 1560 /checksum/SHA512/78 755s ok 1561 /checksum/SHA512/79 755s ok 1562 /checksum/SHA512/80 755s ok 1563 /checksum/SHA512/81 755s ok 1564 /checksum/SHA512/82 755s ok 1565 /checksum/SHA512/83 755s ok 1566 /checksum/SHA512/84 755s ok 1567 /checksum/SHA512/85 755s ok 1568 /checksum/SHA512/86 755s ok 1569 /checksum/SHA512/87 755s ok 1570 /checksum/SHA512/88 755s ok 1571 /checksum/SHA512/89 755s ok 1572 /checksum/SHA512/90 755s ok 1573 /checksum/SHA512/91 755s ok 1574 /checksum/SHA512/92 755s ok 1575 /checksum/SHA512/93 755s ok 1576 /checksum/SHA512/94 755s ok 1577 /checksum/SHA512/95 755s ok 1578 /checksum/SHA512/96 755s ok 1579 /checksum/SHA512/97 755s ok 1580 /checksum/SHA512/98 755s ok 1581 /checksum/SHA512/99 755s ok 1582 /checksum/SHA512/100 755s ok 1583 /checksum/SHA512/101 755s ok 1584 /checksum/SHA512/102 755s ok 1585 /checksum/SHA512/103 755s ok 1586 /checksum/SHA512/104 755s ok 1587 /checksum/SHA512/105 755s ok 1588 /checksum/SHA512/106 755s ok 1589 /checksum/SHA512/107 755s ok 1590 /checksum/SHA512/108 755s ok 1591 /checksum/SHA512/109 755s ok 1592 /checksum/SHA512/110 755s ok 1593 /checksum/SHA512/111 755s ok 1594 /checksum/SHA512/112 755s ok 1595 /checksum/SHA512/113 755s ok 1596 /checksum/SHA512/114 755s ok 1597 /checksum/SHA512/115 755s ok 1598 /checksum/SHA512/116 755s ok 1599 /checksum/SHA512/117 755s ok 1600 /checksum/SHA512/118 755s ok 1601 /checksum/SHA512/119 755s ok 1602 /checksum/SHA512/120 755s ok 1603 /checksum/SHA512/121 755s ok 1604 /checksum/SHA512/122 755s ok 1605 /checksum/SHA512/123 755s ok 1606 /checksum/SHA512/124 755s ok 1607 /checksum/SHA512/125 755s ok 1608 /checksum/SHA512/126 755s ok 1609 /checksum/SHA512/127 755s ok 1610 /checksum/SHA512/128 755s ok 1611 /checksum/SHA512/129 755s ok 1612 /checksum/SHA512/130 755s ok 1613 /checksum/SHA512/131 755s ok 1614 /checksum/SHA512/132 755s ok 1615 /checksum/SHA512/133 755s ok 1616 /checksum/SHA512/134 755s ok 1617 /checksum/SHA512/135 755s ok 1618 /checksum/SHA512/136 755s ok 1619 /checksum/SHA512/137 755s ok 1620 /checksum/SHA512/138 755s ok 1621 /checksum/SHA512/139 755s ok 1622 /checksum/SHA512/140 755s ok 1623 /checksum/SHA512/141 755s ok 1624 /checksum/SHA512/142 755s ok 1625 /checksum/SHA512/143 755s ok 1626 /checksum/SHA512/144 755s ok 1627 /checksum/SHA512/145 755s ok 1628 /checksum/SHA512/146 755s ok 1629 /checksum/SHA512/147 755s ok 1630 /checksum/SHA512/148 755s ok 1631 /checksum/SHA512/149 755s ok 1632 /checksum/SHA512/150 755s ok 1633 /checksum/SHA512/151 755s ok 1634 /checksum/SHA512/152 755s ok 1635 /checksum/SHA512/153 755s ok 1636 /checksum/SHA512/154 755s ok 1637 /checksum/SHA512/155 755s ok 1638 /checksum/SHA512/156 755s ok 1639 /checksum/SHA512/157 755s ok 1640 /checksum/SHA512/158 755s ok 1641 /checksum/SHA512/159 755s ok 1642 /checksum/SHA512/160 755s ok 1643 /checksum/SHA512/161 755s ok 1644 /checksum/SHA512/162 755s ok 1645 /checksum/SHA512/163 755s ok 1646 /checksum/SHA512/164 755s ok 1647 /checksum/SHA512/165 755s ok 1648 /checksum/SHA512/166 755s ok 1649 /checksum/SHA512/167 755s ok 1650 /checksum/SHA512/168 755s ok 1651 /checksum/SHA512/169 755s ok 1652 /checksum/SHA512/170 755s ok 1653 /checksum/SHA512/171 755s ok 1654 /checksum/SHA512/172 755s ok 1655 /checksum/SHA512/173 755s ok 1656 /checksum/SHA512/174 755s ok 1657 /checksum/SHA512/175 755s ok 1658 /checksum/SHA512/176 755s ok 1659 /checksum/SHA512/177 755s ok 1660 /checksum/SHA512/178 755s ok 1661 /checksum/SHA512/179 755s ok 1662 /checksum/SHA512/180 755s ok 1663 /checksum/SHA512/181 755s ok 1664 /checksum/SHA512/182 755s ok 1665 /checksum/SHA512/183 755s ok 1666 /checksum/SHA512/string 755s ok 1667 /checksum/SHA512/bytes 755s # Start of reset tests 755s ok 1668 /checksum/SHA512/reset/0 755s ok 1669 /checksum/SHA512/reset/1 755s ok 1670 /checksum/SHA512/reset/2 755s ok 1671 /checksum/SHA512/reset/3 755s ok 1672 /checksum/SHA512/reset/4 755s ok 1673 /checksum/SHA512/reset/5 755s ok 1674 /checksum/SHA512/reset/6 755s ok 1675 /checksum/SHA512/reset/7 755s ok 1676 /checksum/SHA512/reset/8 755s ok 1677 /checksum/SHA512/reset/9 755s ok 1678 /checksum/SHA512/reset/10 755s ok 1679 /checksum/SHA512/reset/11 755s ok 1680 /checksum/SHA512/reset/12 755s ok 1681 /checksum/SHA512/reset/13 755s ok 1682 /checksum/SHA512/reset/14 755s ok 1683 /checksum/SHA512/reset/15 755s ok 1684 /checksum/SHA512/reset/16 755s ok 1685 /checksum/SHA512/reset/17 755s ok 1686 /checksum/SHA512/reset/18 755s ok 1687 /checksum/SHA512/reset/19 755s ok 1688 /checksum/SHA512/reset/20 755s ok 1689 /checksum/SHA512/reset/21 755s ok 1690 /checksum/SHA512/reset/22 755s ok 1691 /checksum/SHA512/reset/23 755s ok 1692 /checksum/SHA512/reset/24 755s ok 1693 /checksum/SHA512/reset/25 755s ok 1694 /checksum/SHA512/reset/26 755s ok 1695 /checksum/SHA512/reset/27 755s ok 1696 /checksum/SHA512/reset/28 755s ok 1697 /checksum/SHA512/reset/29 755s ok 1698 /checksum/SHA512/reset/30 755s ok 1699 /checksum/SHA512/reset/31 755s ok 1700 /checksum/SHA512/reset/32 755s ok 1701 /checksum/SHA512/reset/33 755s ok 1702 /checksum/SHA512/reset/34 755s ok 1703 /checksum/SHA512/reset/35 755s ok 1704 /checksum/SHA512/reset/36 755s ok 1705 /checksum/SHA512/reset/37 755s ok 1706 /checksum/SHA512/reset/38 755s ok 1707 /checksum/SHA512/reset/39 755s ok 1708 /checksum/SHA512/reset/40 755s ok 1709 /checksum/SHA512/reset/41 755s ok 1710 /checksum/SHA512/reset/42 755s ok 1711 /checksum/SHA512/reset/43 755s ok 1712 /checksum/SHA512/reset/44 755s ok 1713 /checksum/SHA512/reset/45 755s ok 1714 /checksum/SHA512/reset/46 755s ok 1715 /checksum/SHA512/reset/47 755s ok 1716 /checksum/SHA512/reset/48 755s ok 1717 /checksum/SHA512/reset/49 755s ok 1718 /checksum/SHA512/reset/50 755s ok 1719 /checksum/SHA512/reset/51 755s ok 1720 /checksum/SHA512/reset/52 755s ok 1721 /checksum/SHA512/reset/53 755s ok 1722 /checksum/SHA512/reset/54 755s ok 1723 /checksum/SHA512/reset/55 755s ok 1724 /checksum/SHA512/reset/56 755s ok 1725 /checksum/SHA512/reset/57 755s ok 1726 /checksum/SHA512/reset/58 755s ok 1727 /checksum/SHA512/reset/59 755s ok 1728 /checksum/SHA512/reset/60 755s ok 1729 /checksum/SHA512/reset/61 755s ok 1730 /checksum/SHA512/reset/62 755s ok 1731 /checksum/SHA512/reset/63 755s ok 1732 /checksum/SHA512/reset/64 755s ok 1733 /checksum/SHA512/reset/65 755s ok 1734 /checksum/SHA512/reset/66 755s ok 1735 /checksum/SHA512/reset/67 755s ok 1736 /checksum/SHA512/reset/68 755s ok 1737 /checksum/SHA512/reset/69 755s ok 1738 /checksum/SHA512/reset/70 755s ok 1739 /checksum/SHA512/reset/71 755s ok 1740 /checksum/SHA512/reset/72 755s ok 1741 /checksum/SHA512/reset/73 755s ok 1742 /checksum/SHA512/reset/74 755s ok 1743 /checksum/SHA512/reset/75 755s ok 1744 /checksum/SHA512/reset/76 755s ok 1745 /checksum/SHA512/reset/77 755s ok 1746 /checksum/SHA512/reset/78 755s ok 1747 /checksum/SHA512/reset/79 755s ok 1748 /checksum/SHA512/reset/80 755s ok 1749 /checksum/SHA512/reset/81 755s ok 1750 /checksum/SHA512/reset/82 755s ok 1751 /checksum/SHA512/reset/83 755s ok 1752 /checksum/SHA512/reset/84 755s ok 1753 /checksum/SHA512/reset/85 755s ok 1754 /checksum/SHA512/reset/86 755s ok 1755 /checksum/SHA512/reset/87 755s ok 1756 /checksum/SHA512/reset/88 755s ok 1757 /checksum/SHA512/reset/89 755s ok 1758 /checksum/SHA512/reset/90 755s ok 1759 /checksum/SHA512/reset/91 755s ok 1760 /checksum/SHA512/reset/92 755s ok 1761 /checksum/SHA512/reset/93 755s ok 1762 /checksum/SHA512/reset/94 755s ok 1763 /checksum/SHA512/reset/95 755s ok 1764 /checksum/SHA512/reset/96 755s ok 1765 /checksum/SHA512/reset/97 755s ok 1766 /checksum/SHA512/reset/98 755s ok 1767 /checksum/SHA512/reset/99 755s ok 1768 /checksum/SHA512/reset/100 755s ok 1769 /checksum/SHA512/reset/101 755s ok 1770 /checksum/SHA512/reset/102 755s ok 1771 /checksum/SHA512/reset/103 755s ok 1772 /checksum/SHA512/reset/104 755s ok 1773 /checksum/SHA512/reset/105 755s ok 1774 /checksum/SHA512/reset/106 755s ok 1775 /checksum/SHA512/reset/107 755s ok 1776 /checksum/SHA512/reset/108 755s ok 1777 /checksum/SHA512/reset/109 755s ok 1778 /checksum/SHA512/reset/110 755s ok 1779 /checksum/SHA512/reset/111 755s ok 1780 /checksum/SHA512/reset/112 755s ok 1781 /checksum/SHA512/reset/113 755s ok 1782 /checksum/SHA512/reset/114 755s ok 1783 /checksum/SHA512/reset/115 755s ok 1784 /checksum/SHA512/reset/116 755s ok 1785 /checksum/SHA512/reset/117 755s ok 1786 /checksum/SHA512/reset/118 755s ok 1787 /checksum/SHA512/reset/119 755s ok 1788 /checksum/SHA512/reset/120 755s ok 1789 /checksum/SHA512/reset/121 755s ok 1790 /checksum/SHA512/reset/122 755s ok 1791 /checksum/SHA512/reset/123 755s ok 1792 /checksum/SHA512/reset/124 755s ok 1793 /checksum/SHA512/reset/125 755s ok 1794 /checksum/SHA512/reset/126 755s ok 1795 /checksum/SHA512/reset/127 755s ok 1796 /checksum/SHA512/reset/128 755s ok 1797 /checksum/SHA512/reset/129 755s ok 1798 /checksum/SHA512/reset/130 755s ok 1799 /checksum/SHA512/reset/131 755s ok 1800 /checksum/SHA512/reset/132 755s ok 1801 /checksum/SHA512/reset/133 755s ok 1802 /checksum/SHA512/reset/134 755s ok 1803 /checksum/SHA512/reset/135 755s ok 1804 /checksum/SHA512/reset/136 755s ok 1805 /checksum/SHA512/reset/137 755s ok 1806 /checksum/SHA512/reset/138 755s ok 1807 /checksum/SHA512/reset/139 755s ok 1808 /checksum/SHA512/reset/140 755s ok 1809 /checksum/SHA512/reset/141 755s ok 1810 /checksum/SHA512/reset/142 755s ok 1811 /checksum/SHA512/reset/143 755s ok 1812 /checksum/SHA512/reset/144 755s ok 1813 /checksum/SHA512/reset/145 755s ok 1814 /checksum/SHA512/reset/146 755s ok 1815 /checksum/SHA512/reset/147 755s ok 1816 /checksum/SHA512/reset/148 755s ok 1817 /checksum/SHA512/reset/149 755s ok 1818 /checksum/SHA512/reset/150 755s ok 1819 /checksum/SHA512/reset/151 755s ok 1820 /checksum/SHA512/reset/152 755s ok 1821 /checksum/SHA512/reset/153 755s ok 1822 /checksum/SHA512/reset/154 755s ok 1823 /checksum/SHA512/reset/155 755s ok 1824 /checksum/SHA512/reset/156 755s ok 1825 /checksum/SHA512/reset/157 755s ok 1826 /checksum/SHA512/reset/158 755s ok 1827 /checksum/SHA512/reset/159 755s ok 1828 /checksum/SHA512/reset/160 755s ok 1829 /checksum/SHA512/reset/161 755s ok 1830 /checksum/SHA512/reset/162 755s ok 1831 /checksum/SHA512/reset/163 755s ok 1832 /checksum/SHA512/reset/164 755s ok 1833 /checksum/SHA512/reset/165 755s ok 1834 /checksum/SHA512/reset/166 755s ok 1835 /checksum/SHA512/reset/167 755s ok 1836 /checksum/SHA512/reset/168 755s ok 1837 /checksum/SHA512/reset/169 755s ok 1838 /checksum/SHA512/reset/170 755s ok 1839 /checksum/SHA512/reset/171 755s ok 1840 /checksum/SHA512/reset/172 755s ok 1841 /checksum/SHA512/reset/173 755s ok 1842 /checksum/SHA512/reset/174 755s ok 1843 /checksum/SHA512/reset/175 755s ok 1844 /checksum/SHA512/reset/176 755s ok 1845 /checksum/SHA512/reset/177 755s ok 1846 /checksum/SHA512/reset/178 755s ok 1847 /checksum/SHA512/reset/179 755s ok 1848 /checksum/SHA512/reset/180 755s ok 1849 /checksum/SHA512/reset/181 755s ok 1850 /checksum/SHA512/reset/182 755s ok 1851 /checksum/SHA512/reset/183 755s # End of reset tests 755s # End of SHA512 tests 755s # End of checksum tests 755s ok - glib/checksum.test 755s # Running test: glib/enums.test 755s TAP version 13 755s # random seed: R02S329470b0ee3771363919515a0f181e8c 755s 1..4 755s # Start of enum tests 755s ok 1 /enum/basic 755s ok 2 /enum/define-type 755s # End of enum tests 755s # Start of flags tests 755s ok 3 /flags/basic 755s ok 4 /flags/define-type 755s # End of flags tests 755s ok - glib/enums.test 755s # Running test: glib/macros-c-99.test 755s TAP version 13 755s # random seed: R02S1da88b6661626bf882ef2cf208c798cd 755s 1..4 755s # Start of C tests 755s ok 1 /C/standard-99 755s # End of C tests 755s # Start of alignof tests 755s ok 2 /alignof/fallback 755s # End of alignof tests 755s # Start of assert tests 755s ok 3 /assert/static 755s # End of assert tests 755s # Start of struct tests 755s ok 4 /struct/sizeof_member 755s # End of struct tests 755s ok - glib/macros-c-99.test 755s # Running test: glib/objects-refcount2.test 755s TAP version 13 755s # random seed: R02S9ce5f95d5404a6b65525319a080427ad 755s 1..1 755s # Start of gobject tests 755s # Start of refcount tests 755s # init 0x2aa29e34740 755s # 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 755s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 756s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 757s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # Executing: glib/objects-refcount2.test 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 758s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 759s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 760s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 761s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 762s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # Executing: glib/objects-refcount2.test 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 763s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # . 764s # dispose 0x2aa29e34740! 764s # 764s ok 1 /gobject/refcount/object-advanced 764s # slow test /gobject/refcount/object-advanced executed in 9.38 secs 764s # End of refcount tests 764s # End of gobject tests 764s ok - glib/objects-refcount2.test 764s # Running test: glib/cxx-98.test 764s TAP version 13 764s # random seed: R02S4f55bd2b5c6432bfc368d810669b9a2a 764s 1..2 764s # Start of gtask tests 764s # 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. 764s ok 1 /gtask/name 764s # Start of name tests 764s # 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. 764s ok 2 /gtask/name/macro-wrapper 764s # End of name tests 764s # End of gtask tests 764s ok - glib/cxx-98.test 764s # Running test: glib/properties-introspection.test 764s TAP version 13 764s # random seed: R02S143575d26d9b6dca73240e31e4bdafa2 764s 1..2 764s # Start of properties tests 764s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 764s ok 1 /properties/introspection 764s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 764s ok 2 /properties/collision 764s # End of properties tests 764s ok - glib/properties-introspection.test 764s # Running test: glib/reference.test 764s TAP version 13 764s # random seed: R02Sc51f26c8cc8657d1b61f083361159bde 764s 1..29 764s # Start of type tests 764s ok 1 /type/fundamentals 764s ok 2 /type/qdata 764s ok 3 /type/query 764s ok 4 /type/class-private 764s # End of type tests 764s # Start of object tests 764s ok 5 /object/clear 764s ok 6 /object/clear-function 764s ok 7 /object/set 764s ok 8 /object/set-function 764s ok 9 /object/value 764s ok 10 /object/initially-unowned 764s ok 11 /object/weak-pointer 764s ok 12 /object/weak-ref 764s ok 13 /object/toggle-ref 764s ok 14 /object/qdata 764s ok 15 /object/qdata2 764s # Start of set tests 764s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 764s ok 16 /object/set/derived-type 764s # End of set tests 764s # Start of weak-pointer tests 764s ok 17 /object/weak-pointer/clear 764s ok 18 /object/weak-pointer/clear-function 764s ok 19 /object/weak-pointer/set 764s ok 20 /object/weak-pointer/set-function 764s # End of weak-pointer tests 764s # Start of weak-ref tests 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 764s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 764s ok 21 /object/weak-ref/on-dispose 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 764s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 764s ok 22 /object/weak-ref/on-run-dispose 764s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 764s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 764s ok 23 /object/weak-ref/on-toggle-notify 764s ok 24 /object/weak-ref/in-toggle-notify 764s ok 25 /object/weak-ref/many 764s # Start of concurrent tests 768s # Executing: glib/reference.test 772s ok 26 /object/weak-ref/concurrent/0 772s # slow test /object/weak-ref/concurrent/0 executed in 7.51 secs 773s # Executing: glib/reference.test 778s # Executing: glib/reference.test 780s ok 27 /object/weak-ref/concurrent/1 780s # slow test /object/weak-ref/concurrent/1 executed in 8.28 secs 780s # End of concurrent tests 780s # End of weak-ref tests 780s # Start of toggle-ref tests 780s ok 28 /object/toggle-ref/ref-on-dispose 780s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 780s # End of toggle-ref tests 780s # End of object tests 780s ok - glib/reference.test 780s # Running test: glib/spawn-singlethread.test 780s TAP version 13 780s # random seed: R02Sd524f9c04b24ec720485cbcd1d0c07a8 780s 1..9 780s # Start of gthread tests 780s ok 1 /gthread/spawn-single-sync 780s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 780s ok 2 /gthread/spawn-stderr-socket 780s ok 3 /gthread/spawn-single-async 780s # thread 1 780s # thread 1 780s ok 4 /gthread/spawn-single-async-with-fds 780s ok 5 /gthread/spawn-async-with-invalid-fds 780s ok 6 /gthread/spawn-script 780s ok 7 /gthread/spawn-posix-spawn 780s # Start of spawn tests 780s ok 8 /gthread/spawn/nonexistent 780s # FD map: 780s # • 5 → 15 780s # • 6 → 16 780s # • 7 → 17 780s # • 8 → 18 780s # • 9 → 19 780s # • 10 → 20 780s # • 11 → 21 780s # • 12 → 22 780s # • 13 → 23 780s # • 3 → 13 780s ok 9 /gthread/spawn/fd-assignment-clash 780s # End of spawn tests 780s # End of gthread tests 780s ok - glib/spawn-singlethread.test 780s # Running test: glib/giomodule.test 780s TAP version 13 780s # random seed: R02S2daaea34659d0ae505df2a3cb28f5fb1 780s 1..3 780s # Start of giomodule tests 780s ok 1 /giomodule/extension-point 780s ok 2 /giomodule/module-scan-all 780s ok 3 /giomodule/module-scan-all-with-scope 780s # End of giomodule tests 780s ok - glib/giomodule.test 780s # Running test: glib/debugcontroller.test 780s TAP version 13 780s # random seed: R02Sfa4206bf0c8d1a3f16a3364ebf72a108 780s 1..3 780s # Start of debug-controller tests 780s # Start of dbus tests 780s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Debug output enabled 780s # GLib-GIO-DEBUG: Debug output disabled 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s ok 1 /debug-controller/dbus/basic 780s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s ok 2 /debug-controller/dbus/duplicate 780s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 780s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 780s # End of dbus tests 780s # End of debug-controller tests 780s ok - glib/debugcontroller.test 780s # Running test: glib/mapping.test 780s TAP version 13 780s # random seed: R02Sbc1c4c4b52fcb296dae9ee42e7eb9913 780s 1..3 780s # Start of mapping tests 780s # test_mapping: ok 780s ok 1 /mapping/flags 780s ok 2 /mapping/private 780s # Subtest: /usr/libexec/installed-tests/glib/mapping 780s # test_child_private: child spawned 780s # # random seed: R02S717cea0762ae7904c9faf8029b5a9b89 780s # test_child_private: received first child signal 780s # # test_child_private: received parent signal 780s # test_child_private: received second child signal 780s ok 3 /mapping/private-child 780s # End of mapping tests 780s ok - glib/mapping.test 780s # Running test: glib/repository.test 780s TAP version 13 780s # random seed: R02S8f275190d4fd4bae0c1cfac66058af9d 780s 1..20 780s # Start of repository tests 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/basic/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/basic/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/basic/.dirs/system-config1:/tmp/test_repository_389QK2/repository/basic/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/basic/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/basic/.dirs/system-data1:/tmp/test_repository_389QK2/repository/basic/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/basic/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/basic/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/basic/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 780s ok 1 /repository/basic 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/info/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/info/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/info/.dirs/system-config1:/tmp/test_repository_389QK2/repository/info/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/info/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/info/.dirs/system-data1:/tmp/test_repository_389QK2/repository/info/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/info/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/info/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/info/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/info summary: Test retrieving some basic info blobs from a typelib 780s ok 2 /repository/info 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/dependencies/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/dependencies/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_389QK2/repository/dependencies/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/dependencies/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_389QK2/repository/dependencies/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/dependencies/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/dependencies/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/dependencies/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 780s ok 3 /repository/dependencies 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/arg-info/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/arg-info/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_389QK2/repository/arg-info/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/arg-info/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_389QK2/repository/arg-info/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/arg-info/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/arg-info/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/arg-info/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 780s ok 4 /repository/arg-info 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/callable-info/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/callable-info/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_389QK2/repository/callable-info/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/callable-info/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_389QK2/repository/callable-info/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/callable-info/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/callable-info/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/callable-info/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 780s ok 5 /repository/callable-info 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/callback-info/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/callback-info/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_389QK2/repository/callback-info/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/callback-info/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_389QK2/repository/callback-info/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/callback-info/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/callback-info/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/callback-info/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 780s ok 6 /repository/callback-info 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/char-types/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/char-types/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/char-types/.dirs/system-config1:/tmp/test_repository_389QK2/repository/char-types/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/char-types/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/char-types/.dirs/system-data1:/tmp/test_repository_389QK2/repository/char-types/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/char-types/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/char-types/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/char-types/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 780s ok 7 /repository/char-types 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/constructor-return-type/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/constructor-return-type/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_389QK2/repository/constructor-return-type/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/constructor-return-type/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_389QK2/repository/constructor-return-type/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/constructor-return-type/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/constructor-return-type/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/constructor-return-type/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 780s ok 8 /repository/constructor-return-type 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/enum-info-c-identifier/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/enum-info-c-identifier/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_389QK2/repository/enum-info-c-identifier/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/enum-info-c-identifier/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_389QK2/repository/enum-info-c-identifier/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/enum-info-c-identifier/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/enum-info-c-identifier/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/enum-info-c-identifier/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 780s ok 9 /repository/enum-info-c-identifier 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/enum-info-static-methods/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/enum-info-static-methods/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_389QK2/repository/enum-info-static-methods/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/enum-info-static-methods/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_389QK2/repository/enum-info-static-methods/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/enum-info-static-methods/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/enum-info-static-methods/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/enum-info-static-methods/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/enum-info-static-methods summary: Test an enum with methods 780s ok 10 /repository/enum-info-static-methods 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/error-quark/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/error-quark/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_389QK2/repository/error-quark/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/error-quark/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_389QK2/repository/error-quark/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/error-quark/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/error-quark/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/error-quark/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/error-quark summary: Test finding an error quark by error domain 780s ok 11 /repository/error-quark 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/flags-info-c-identifier/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/flags-info-c-identifier/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_389QK2/repository/flags-info-c-identifier/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/flags-info-c-identifier/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_389QK2/repository/flags-info-c-identifier/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/flags-info-c-identifier/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/flags-info-c-identifier/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/flags-info-c-identifier/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 780s ok 12 /repository/flags-info-c-identifier 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/fundamental-ref-func/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/fundamental-ref-func/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_389QK2/repository/fundamental-ref-func/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/fundamental-ref-func/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_389QK2/repository/fundamental-ref-func/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/fundamental-ref-func/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/fundamental-ref-func/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/fundamental-ref-func/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 780s ok 13 /repository/fundamental-ref-func 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/instance-method-ownership-transfer/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/instance-method-ownership-transfer/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_389QK2/repository/instance-method-ownership-transfer/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/instance-method-ownership-transfer/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_389QK2/repository/instance-method-ownership-transfer/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/instance-method-ownership-transfer/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/instance-method-ownership-transfer/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/instance-method-ownership-transfer/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 780s ok 14 /repository/instance-method-ownership-transfer 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/object-gtype-interfaces/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/object-gtype-interfaces/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_389QK2/repository/object-gtype-interfaces/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/object-gtype-interfaces/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_389QK2/repository/object-gtype-interfaces/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/object-gtype-interfaces/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/object-gtype-interfaces/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/object-gtype-interfaces/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 780s ok 15 /repository/object-gtype-interfaces 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/signal-info-with-array-length-arg/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/signal-info-with-array-length-arg/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_389QK2/repository/signal-info-with-array-length-arg/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/signal-info-with-array-length-arg/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_389QK2/repository/signal-info-with-array-length-arg/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/signal-info-with-array-length-arg/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/signal-info-with-array-length-arg/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/signal-info-with-array-length-arg/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 780s ok 16 /repository/signal-info-with-array-length-arg 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/type-info-name/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/type-info-name/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_389QK2/repository/type-info-name/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/type-info-name/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_389QK2/repository/type-info-name/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/type-info-name/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/type-info-name/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/type-info-name/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 780s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 780s ok 17 /repository/type-info-name 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/vfunc-info-with-no-invoker/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/vfunc-info-with-no-invoker/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_389QK2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/vfunc-info-with-no-invoker/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_389QK2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/vfunc-info-with-no-invoker/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/vfunc-info-with-no-invoker/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/vfunc-info-with-no-invoker/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 780s ok 18 /repository/vfunc-info-with-no-invoker 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 780s ok 19 /repository/vfunc-info-with-invoker-on-interface 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-object/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-object/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-object/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-object/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_389QK2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 780s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 780s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 780s ok 20 /repository/vfunc-info-with-invoker-on-object 780s # End of repository tests 780s ok - glib/repository.test 780s # Running test: glib/power-profile-monitor.test 780s TAP version 13 780s # random seed: R02S1738f90b1557c92fb5b7cdfc00427bf9 780s 1..1 780s # Start of power-profile-monitor tests 780s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 780s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor 780s ok 1 /power-profile-monitor/default 780s # End of power-profile-monitor tests 780s ok - glib/power-profile-monitor.test 780s # Running test: glib/unix-mounts.test 780s TAP version 13 780s # random seed: R02S0d76612fdeeace0f8c75b2ada920b88a 780s 1..2 780s # Start of unix-mounts tests 780s ok 1 /unix-mounts/is-system-fs-type 780s ok 2 /unix-mounts/is-system-device-path 780s # End of unix-mounts tests 780s ok - glib/unix-mounts.test 780s # Running test: glib/gdbus-proxy-well-known-name.test 780s TAP version 13 780s # random seed: R02S297e9cd18fe6086e385ff766aab1ffdf 780s 1..1 780s # Start of gdbus tests 780s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_UHCTK2/gdbus/proxy-well-known-name/.dirs/home 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_UHCTK2/gdbus/proxy-well-known-name/.dirs/cache 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_UHCTK2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_UHCTK2/gdbus/proxy-well-known-name/.dirs/system-config2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_UHCTK2/gdbus/proxy-well-known-name/.dirs/config 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_UHCTK2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_UHCTK2/gdbus/proxy-well-known-name/.dirs/system-data2 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_UHCTK2/gdbus/proxy-well-known-name/.dirs/data 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_UHCTK2/gdbus/proxy-well-known-name/.dirs/state 780s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_UHCTK2/gdbus/proxy-well-known-name/.dirs/runtime 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s ok 1 /gdbus/proxy-well-known-name 780s # End of gdbus tests 780s ok - glib/gdbus-proxy-well-known-name.test 780s # Running test: glib/markup.test 780s TAP version 13 780s # random seed: R02S6848ec3dd9dcb766f9b1eb28f21851a7 780s 1..1 780s # Start of markup tests 780s ok 1 /markup/stack 780s # End of markup tests 780s ok - glib/markup.test 780s # Running test: glib/rand.test 780s TAP version 13 780s # random seed: R02Sfe282fc14472e0644568595c15e2ab61 780s 1..2 780s # Start of rand tests 780s ok 1 /rand/test-rand 780s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 780s ok 2 /rand/double-range 780s # End of rand tests 780s ok - glib/rand.test 780s # Running test: glib/memory-monitor.test 780s TAP version 13 780s # random seed: R02Sfcd517f38caa3c190489e7178fa92a4f 780s 1..1 780s # Start of memory-monitor tests 780s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 780s ok 1 /memory-monitor/default 780s # End of memory-monitor tests 780s ok - glib/memory-monitor.test 780s # Running test: glib/basics-gobject.test 780s TAP version 13 780s # random seed: R02S2c57c1d53288301ea3f72652eae4dc7a 780s 1..1 780s # Start of gobject tests 780s # private data during initialization: 54321 == 54321 780s # MAIN: emit test-signal: 780s # ::test_signal default_handler called 780s # ::test_signal default_handler called 780s # ::test_signal default_handler called 780s # signal return: "" 780s # MAIN: call iface print-string on test and derived object: 780s # Iface-FOO: "iface-string-from-test-type" from 0x2aa19b597a0 780s # Iface-BAR: "iface-string-from-derived-type" from 0x2aa19b596c0 780s # chaining: 780s # Iface-FOO: "iface-string-from-derived-type" from 0x2aa19b596c0 780s # private data after initialization: 54321 == 54321 780s ok 1 /gobject/basics 780s # End of gobject tests 780s ok - glib/basics-gobject.test 780s # Running test: glib/contexts.test 780s TAP version 13 780s # random seed: R02S3e075d045ebc8f6dacfd4b12ee463797 780s 1..5 780s # Start of gio tests 780s # Start of contexts tests 780s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 780s ok 1 /gio/contexts/thread-independence 780s ok 2 /gio/contexts/context-independence 780s # Start of context-specific tests 780s ok 3 /gio/contexts/context-specific/identity 780s ok 4 /gio/contexts/context-specific/emit 780s ok 5 /gio/contexts/context-specific/emit-and-unref 780s # End of context-specific tests 780s # End of contexts tests 780s # End of gio tests 780s ok - glib/contexts.test 780s # Running test: glib/actions.test 780s TAP version 13 780s # random seed: R02Sed47ba8603c5db8ff11c826b6a7ea703 780s 1..12 780s # Start of actions tests 780s ok 1 /actions/basic 780s ok 2 /actions/name 780s ok 3 /actions/simplegroup 780s ok 4 /actions/stateful 780s ok 5 /actions/default-activate 780s ok 6 /actions/entries 780s ok 7 /actions/parse-detailed 780s ok 8 /actions/property 780s ok 9 /actions/no-properties 780s # Start of dbus tests 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s ok 10 /actions/dbus/export 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s ok 11 /actions/dbus/threaded 782s # slow test /actions/dbus/threaded executed in 1.22 secs 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s ok 12 /actions/dbus/bug679509 782s # End of dbus tests 782s # End of actions tests 782s ok - glib/actions.test 782s # Running test: glib/codegen.py.test 782s TAP version 13 782s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 782s # tmpdir: /tmp/tmp5dgs2bl1 782s # codegen: /usr/bin/gdbus-codegen 782s # /tmp/tmp5dgs2bl1/tmpmiihs77l.xml: 782s # 782s # 782s # 782s # 782s # 782s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5dgs2bl1/tmpmiihs77l.xml', '--output', '-', '--header'] 782s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 782s # Output: /* 782s # * This file is generated by gdbus-codegen, do not modify it. 782s # * 782s # * The license of this code is the same as for the D-Bus interface description 782s # * it was derived from. Note that it links to GLib, so must comply with the 782s # * LGPL linking clauses. 782s # */ 782s # 782s # #ifndef __STDOUT__ 782s # #define __STDOUT__ 782s # 782s # #include 782s # 782s # G_BEGIN_DECLS 782s # 782s # 782s # /* ------------------------------------------------------------------------ */ 782s # /* Declarations for org.project.UsefulInterface */ 782s # 782s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 782s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 782s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 782s # 782s # struct _OrgProjectUsefulInterface; 782s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 782s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 782s # 782s # struct _OrgProjectUsefulInterfaceIface 782s # { 782s # GTypeInterface parent_iface; 782s # 782s # gboolean (*handle_useful_method) ( 782s # OrgProjectUsefulInterface *object, 782s # GDBusMethodInvocation *invocation); 782s # 782s # }; 782s # 782s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 782s # 782s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 782s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 782s # 782s # 782s # /* D-Bus method call completion functions: */ 782s # void org_project_useful_interface_complete_useful_method ( 782s # OrgProjectUsefulInterface *object, 782s # GDBusMethodInvocation *invocation); 782s # 782s # 782s # 782s # /* D-Bus method calls: */ 782s # void org_project_useful_interface_call_useful_method ( 782s # OrgProjectUsefulInterface *proxy, 782s # GCancellable *cancellable, 782s # GAsyncReadyCallback callback, 782s # gpointer user_data); 782s # 782s # gboolean org_project_useful_interface_call_useful_method_finish ( 782s # OrgProjectUsefulInterface *proxy, 782s # GAsyncResult *res, 782s # GError **error); 782s # 782s # gboolean org_project_useful_interface_call_useful_method_sync ( 782s # OrgProjectUsefulInterface *proxy, 782s # GCancellable *cancellable, 782s # GError **error); 782s # 782s # 782s # 782s # /* ---- */ 782s # 782s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 782s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 782s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 782s # 782s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 782s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 782s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 782s # 782s # struct _OrgProjectUsefulInterfaceProxy 782s # { 782s # /*< private >*/ 782s # GDBusProxy parent_instance; 782s # OrgProjectUsefulInterfaceProxyPrivate *priv; 782s # }; 782s # 782s # struct _OrgProjectUsefulInterfaceProxyClass 782s # { 782s # GDBusProxyClass parent_class; 782s # }; 782s # 782s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 782s # 782s # #if GLIB_CHECK_VERSION(2, 44, 0) 782s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 782s # #endif 782s # 782s # void org_project_useful_interface_proxy_new ( 782s # GDBusConnection *connection, 782s # GDBusProxyFlags flags, 782s # const gchar *name, 782s # const gchar *object_path, 782s # GCancellable *cancellable, 782s # GAsyncReadyCallback callback, 782s # gpointer user_data); 782s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 782s # GAsyncResult *res, 782s # GError **error); 782s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 782s # GDBusConnection *connection, 782s # GDBusProxyFlags flags, 782s # const gchar *name, 782s # const gchar *object_path, 782s # GCancellable *cancellable, 782s # GError **error); 782s # 782s # void org_project_useful_interface_proxy_new_for_bus ( 782s # GBusType bus_type, 782s # GDBusProxyFlags flags, 782s # const gchar *name, 782s # const gchar *object_path, 782s # GCancellable *cancellable, 782s # GAsyncReadyCallback callback, 782s # gpointer user_data); 782s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 782s # GAsyncResult *res, 782s # GError **error); 782s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 782s # GBusType bus_type, 782s # GDBusProxyFlags flags, 782s # const gchar *name, 782s # const gchar *object_path, 782s # GCancellable *cancellable, 782s # GError **error); 782s # 782s # 782s # /* ---- */ 782s # 782s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 782s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 782s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 782s # 782s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 782s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 782s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 782s # 782s # struct _OrgProjectUsefulInterfaceSkeleton 782s # { 782s # /*< private >*/ 782s # GDBusInterfaceSkeleton parent_instance; 782s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 782s # }; 782s # 782s # struct _OrgProjectUsefulInterfaceSkeletonClass 782s # { 782s # GDBusInterfaceSkeletonClass parent_class; 782s # }; 782s # 782s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 782s # 782s # #if GLIB_CHECK_VERSION(2, 44, 0) 782s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 782s # #endif 782s # 782s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 782s # 782s # 782s # G_END_DECLS 782s # 782s # #endif /* __STDOUT__ */ 782s # /tmp/tmp5dgs2bl1/tmp_rakzrkt.xml: 782s # 782s # 782s # 782s # 782s # 782s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5dgs2bl1/tmp_rakzrkt.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 782s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 782s # Output: /* 782s # * This file is generated by gdbus-codegen, do not modify it. 782s # * 782s # * The license of this code is the same as for the D-Bus interface description 782s # * it was derived from. Note that it links to GLib, so must comply with the 782s # * LGPL linking clauses. 782s # */ 782s # 782s # #ifndef __STDOUT__ 782s # #define __STDOUT__ 782s # 782s # #include 782s # 782s # G_BEGIN_DECLS 782s # 782s # 782s # /* ------------------------------------------------------------------------ */ 782s # /* Declarations for org.project.UsefulInterface */ 782s # 782s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 782s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 782s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 782s # 782s # struct _OrgProjectUsefulInterface; 782s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 782s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 782s # 782s # struct _OrgProjectUsefulInterfaceIface 782s # { 782s # GTypeInterface parent_iface; 782s # 782s # gboolean (*handle_useful_method) ( 782s # OrgProjectUsefulInterface *object, 782s # GDBusMethodInvocation *invocation); 782s # 782s # }; 782s # 782s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 782s # 782s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 782s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 782s # 782s # 782s # /* D-Bus method call completion functions: */ 782s # void org_project_useful_interface_complete_useful_method ( 782s # OrgProjectUsefulInterface *object, 782s # GDBusMethodInvocation *invocation); 782s # 782s # 782s # 782s # /* D-Bus method calls: */ 782s # void org_project_useful_interface_call_useful_method ( 782s # OrgProjectUsefulInterface *proxy, 782s # GCancellable *cancellable, 782s # GAsyncReadyCallback callback, 782s # gpointer user_data); 782s # 782s # gboolean org_project_useful_interface_call_useful_method_finish ( 782s # OrgProjectUsefulInterface *proxy, 782s # GAsyncResult *res, 782s # GError **error); 782s # 782s # gboolean org_project_useful_interface_call_useful_method_sync ( 782s # OrgProjectUsefulInterface *proxy, 782s # GCancellable *cancellable, 782s # GError **error); 782s # 782s # 782s # 782s # /* ---- */ 782s # 782s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 782s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 782s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 782s # 782s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 782s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 782s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 782s # 782s # struct _OrgProjectUsefulInterfaceProxy 782s # { 782s # /*< private >*/ 782s # GDBusProxy parent_instance; 782s # OrgProjectUsefulInterfaceProxyPrivate *priv; 782s # }; 782s # 782s # struct _OrgProjectUsefulInterfaceProxyClass 782s # { 782s # GDBusProxyClass parent_class; 782s # }; 782s # 782s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 782s # 782s # #if GLIB_CHECK_VERSION(2, 44, 0) 782s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 782s # #endif 782s # 782s # void org_project_useful_interface_proxy_new ( 782s # GDBusConnection *connection, 782s # GDBusProxyFlags flags, 782s # const gchar *name, 782s # const gchar *object_path, 782s # GCancellable *cancellable, 782s # GAsyncReadyCallback callback, 782s # gpointer user_data); 782s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 782s # GAsyncResult *res, 782s # GError **error); 782s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 782s # GDBusConnection *connection, 782s # GDBusProxyFlags flags, 782s # const gchar *name, 782s # const gchar *object_path, 782s # GCancellable *cancellable, 782s # GError **error); 782s # 782s # void org_project_useful_interface_proxy_new_for_bus ( 782s # GBusType bus_type, 782s # GDBusProxyFlags flags, 782s # const gchar *name, 782s # const gchar *object_path, 782s # GCancellable *cancellable, 782s # GAsyncReadyCallback callback, 782s # gpointer user_data); 782s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 782s # GAsyncResult *res, 782s # GError **error); 782s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 782s # GBusType bus_type, 782s # GDBusProxyFlags flags, 782s # const gchar *name, 782s # const gchar *object_path, 782s # GCancellable *cancellable, 782s # GError **error); 782s # 782s # 782s # /* ---- */ 782s # 782s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 782s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 782s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 782s # 782s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 782s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 782s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 782s # 782s # struct _OrgProjectUsefulInterfaceSkeleton 782s # { 782s # /*< private >*/ 782s # GDBusInterfaceSkeleton parent_instance; 782s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 782s # }; 782s # 782s # struct _OrgProjectUsefulInterfaceSkeletonClass 782s # { 782s # GDBusInterfaceSkeletonClass parent_class; 782s # }; 782s # 782s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 782s # 782s # #if GLIB_CHECK_VERSION(2, 44, 0) 782s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 782s # #endif 782s # 782s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 782s # 782s # 782s # G_END_DECLS 782s # 782s # #endif /* __STDOUT__ */ 782s # /tmp/tmp5dgs2bl1/tmpuv41b9o2.xml: 782s # 782s # 782s # 782s # 782s # 782s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5dgs2bl1/tmpuv41b9o2.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 782s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 782s # Output: /* 782s # * This file is generated by gdbus-codegen, do not modify it. 782s # * 782s # * The license of this code is the same as for the D-Bus interface description 782s # * it was derived from. Note that it links to GLib, so must comply with the 782s # * LGPL linking clauses. 782s # */ 782s # 782s # #ifndef __STDOUT__ 782s # #define __STDOUT__ 782s # 782s # #include 782s # 782s # G_BEGIN_DECLS 782s # 782s # 782s # /* ------------------------------------------------------------------------ */ 782s # /* Declarations for org.project.UsefulInterface */ 782s # 782s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 782s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 782s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 782s # 782s # struct _OrgProjectUsefulInterface; 782s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 782s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 782s # 782s # struct _OrgProjectUsefulInterfaceIface 782s # { 782s # GTypeInterface parent_iface; 782s # 782s # gboolean (*handle_useful_method) ( 782s # OrgProjectUsefulInterface *object, 782s # GDBusMethodInvocation *invocation); 782s # 782s # }; 782s # 782s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 782s # 782s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 782s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 782s # 782s # 782s # /* D-Bus method call completion functions: */ 782s # void org_project_useful_interface_complete_useful_method ( 782s # OrgProjectUsefulInterface *object, 782s # GDBusMethodInvocation *invocation); 782s # 782s # 782s # 782s # /* D-Bus method calls: */ 782s # void org_project_useful_interface_call_useful_method ( 782s # OrgProjectUsefulInterface *proxy, 782s # GDBusCallFlags call_flags, 782s # gint timeout_msec, 782s # GCancellable *cancellable, 782s # GAsyncReadyCallback callback, 782s # gpointer user_data); 782s # 782s # gboolean org_project_useful_interface_call_useful_method_finish ( 782s # OrgProjectUsefulInterface *proxy, 782s # GAsyncResult *res, 782s # GError **error); 782s # 782s # gboolean org_project_useful_interface_call_useful_method_sync ( 782s # OrgProjectUsefulInterface *proxy, 782s # GDBusCallFlags call_flags, 782s # gint timeout_msec, 782s # GCancellable *cancellable, 782s # GError **error); 782s # 782s # 782s # 782s # /* ---- */ 782s # 782s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 782s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 782s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 782s # 782s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 782s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 782s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 782s # 782s # struct _OrgProjectUsefulInterfaceProxy 782s # { 782s # /*< private >*/ 782s # GDBusProxy parent_instance; 782s # OrgProjectUsefulInterfaceProxyPrivate *priv; 782s # }; 782s # 782s # struct _OrgProjectUsefulInterfaceProxyClass 782s # { 782s # GDBusProxyClass parent_class; 782s # }; 782s # 782s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 782s # 782s # #if GLIB_CHECK_VERSION(2, 44, 0) 782s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 782s # #endif 782s # 782s # void org_project_useful_interface_proxy_new ( 782s # GDBusConnection *connection, 782s # GDBusProxyFlags flags, 782s # const gchar *name, 782s # const gchar *object_path, 782s # GCancellable *cancellable, 782s # GAsyncReadyCallback callback, 782s # gpointer user_data); 782s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 782s # GAsyncResult *res, 782s # GError **error); 782s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 782s # GDBusConnection *connection, 782s # GDBusProxyFlags flags, 782s # const gchar *name, 782s # const gchar *object_path, 782s # GCancellable *cancellable, 782s # GError **error); 782s # 782s # void org_project_useful_interface_proxy_new_for_bus ( 782s # GBusType bus_type, 782s # GDBusProxyFlags flags, 782s # const gchar *name, 782s # const gchar *object_path, 782s # GCancellable *cancellable, 782s # GAsyncReadyCallback callback, 782s # gpointer user_data); 782s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 782s # GAsyncResult *res, 782s # GError **error); 782s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 782s # GBusType bus_type, 782s # GDBusProxyFlags flags, 782s # const gchar *name, 782s # const gchar *object_path, 782s # GCancellable *cancellable, 782s # GError **error); 782s # 782s # 782s # /* ---- */ 782s # 782s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 782s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 782s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 782s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 782s # 782s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 782s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 782s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 782s # 782s # struct _OrgProjectUsefulInterfaceSkeleton 782s # { 782s # /*< private >*/ 782s # GDBusInterfaceSkeleton parent_instance; 782s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 782s # }; 782s # 782s # struct _OrgProjectUsefulInterfaceSkeletonClass 782s # { 782s # GDBusInterfaceSkeletonClass parent_class; 782s # }; 782s # 782s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 782s # 782s # #if GLIB_CHECK_VERSION(2, 44, 0) 782s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 782s # #endif 782s # 782s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 782s # 782s # 782s # G_END_DECLS 782s # 782s # #endif /* __STDOUT__ */ 783s ok 2 __main__.TestCodegen.test_dbus_types 783s # tmpdir: /tmp/tmpmzucb9i8 783s # codegen: /usr/bin/gdbus-codegen 783s # /tmp/tmpmzucb9i8/tmppcs06i06.xml: 783s # 783s # 783s # 783s # 783s # 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmzucb9i8/tmppcs06i06.xml', '--output', '-', '--body'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # /tmp/tmpmzucb9i8/tmpkm2r48f3.xml: 783s # 783s # 783s # 783s # 783s # 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmzucb9i8/tmpkm2r48f3.xml', '--output', '-', '--body'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # /tmp/tmpmzucb9i8/tmp04ccrd9w.xml: 783s # 783s # 783s # 783s # 783s # 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmzucb9i8/tmp04ccrd9w.xml', '--output', '-', '--body'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # /tmp/tmpmzucb9i8/tmpnml36z7q.xml: 783s # 783s # 783s # 783s # 783s # 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmzucb9i8/tmpnml36z7q.xml', '--output', '-', '--body'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # /tmp/tmpmzucb9i8/tmpi86_kyua.xml: 783s # 783s # 783s # 783s # 783s # 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmzucb9i8/tmpi86_kyua.xml', '--output', '-', '--body'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # /tmp/tmpmzucb9i8/tmpp_5mwrkq.xml: 783s # 783s # 783s # 783s # 783s # 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmzucb9i8/tmpp_5mwrkq.xml', '--output', '-', '--body'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # /tmp/tmpmzucb9i8/tmpp2h5nv_s.xml: 783s # 783s # 783s # 783s # 783s # 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmzucb9i8/tmpp2h5nv_s.xml', '--output', '-', '--body'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # /tmp/tmpmzucb9i8/tmpq099ctr4.xml: 783s # 783s # 783s # 783s # 783s # 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmzucb9i8/tmpq099ctr4.xml', '--output', '-', '--body'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # /tmp/tmpmzucb9i8/tmp8t4mln1a.xml: 783s # 783s # 783s # 783s # 783s # 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmzucb9i8/tmp8t4mln1a.xml', '--output', '-', '--body'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # /tmp/tmpmzucb9i8/tmpdqi7tzfd.xml: 783s # 783s # 783s # 783s # 783s # 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmzucb9i8/tmpdqi7tzfd.xml', '--output', '-', '--body'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # /tmp/tmpmzucb9i8/tmpbshehkek.xml: 783s # 783s # 783s # 783s # 783s # 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmzucb9i8/tmpbshehkek.xml', '--output', '-', '--body'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # /tmp/tmpmzucb9i8/tmp360bn1t7.xml: 783s # 783s # 783s # 783s # 783s # 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmzucb9i8/tmp360bn1t7.xml', '--output', '-', '--body'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # /tmp/tmpmzucb9i8/tmpqctrrh7c.xml: 783s # 783s # 783s # 783s # 783s # 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmzucb9i8/tmpqctrrh7c.xml', '--output', '-', '--body'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # /tmp/tmpmzucb9i8/tmp4xtbxtlt.xml: 783s # 783s # 783s # 783s # 783s # 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmzucb9i8/tmp4xtbxtlt.xml', '--output', '-', '--body'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # Output: /* 783s # * This file is generated by gdbus-codegen, do not modify it. 783s # * 783s # * The license of this code is the same as for the D-Bus interface description 783s # * it was derived from. Note that it links to GLib, so must comply with the 783s # * LGPL linking clauses. 783s # */ 783s # 783s # #ifdef HAVE_CONFIG_H 783s # # include "config.h" 783s # #endif 783s # 783s # #include 783s # #ifdef G_OS_UNIX 783s # # include 783s # #endif 783s # 783s # #ifdef G_ENABLE_DEBUG 783s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 783s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 783s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 783s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 783s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 783s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 783s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 783s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 783s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 783s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 783s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 783s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 783s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 783s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 783s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 783s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 783s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 783s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 783s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 783s # #else /* !G_ENABLE_DEBUG */ 783s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 783s # * Do not access GValues directly in your code. Instead, use the 783s # * g_value_get_*() functions 783s # */ 783s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 783s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 783s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 783s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 783s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 783s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 783s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 783s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 783s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 783s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 783s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 783s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 783s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 783s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 783s # #endif /* !G_ENABLE_DEBUG */ 783s # 783s # typedef struct 783s # { 783s # GDBusArgInfo parent_struct; 783s # gboolean use_gvariant; 783s # } _ExtendedGDBusArgInfo; 783s # 783s # typedef struct 783s # { 783s # GDBusMethodInfo parent_struct; 783s # const gchar *signal_name; 783s # gboolean pass_fdlist; 783s # } _ExtendedGDBusMethodInfo; 783s # 783s # typedef struct 783s # { 783s # GDBusSignalInfo parent_struct; 783s # const gchar *signal_name; 783s # } _ExtendedGDBusSignalInfo; 783s # 783s # typedef struct 783s # { 783s # GDBusPropertyInfo parent_struct; 783s # const gchar *hyphen_name; 783s # guint use_gvariant : 1; 783s # guint emits_changed_signal : 1; 783s # } _ExtendedGDBusPropertyInfo; 783s # 783s # typedef struct 783s # { 783s # GDBusInterfaceInfo parent_struct; 783s # const gchar *hyphen_name; 783s # } _ExtendedGDBusInterfaceInfo; 783s # 783s # typedef struct 783s # { 783s # const _ExtendedGDBusPropertyInfo *info; 783s # guint prop_id; 783s # GValue orig_value; /* the value before the change */ 783s # } ChangedProperty; 783s # 783s # static void 783s # _changed_property_free (ChangedProperty *data) 783s # { 783s # g_value_unset (&data->orig_value); 783s # g_free (data); 783s # } 783s # 783s # static gboolean 783s # _g_strv_equal0 (gchar **a, gchar **b) 783s # { 783s # gboolean ret = FALSE; 783s # guint n; 783s # if (a == NULL && b == NULL) 783s # { 783s # ret = TRUE; 783s # goto out; 783s # } 783s # if (a == NULL || b == NULL) 783s # goto out; 783s # if (g_strv_length (a) != g_strv_length (b)) 783s # goto out; 783s # for (n = 0; a[n] != NULL; n++) 783s # if (g_strcmp0 (a[n], b[n]) != 0) 783s # goto out; 783s # ret = TRUE; 783s # out: 783s # return ret; 783s # } 783s # 783s # static gboolean 783s # _g_variant_equal0 (GVariant *a, GVariant *b) 783s # { 783s # gboolean ret = FALSE; 783s # if (a == NULL && b == NULL) 783s # { 783s # ret = TRUE; 783s # goto out; 783s # } 783s # if (a == NULL || b == NULL) 783s # goto out; 783s # ret = g_variant_equal (a, b); 783s # out: 783s # return ret; 783s # } 783s # 783s # G_GNUC_UNUSED static gboolean 783s # _g_value_equal (const GValue *a, const GValue *b) 783s # { 783s # gboolean ret = FALSE; 783s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 783s # switch (G_VALUE_TYPE (a)) 783s # { 783s # case G_TYPE_BOOLEAN: 783s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 783s # break; 783s # case G_TYPE_UCHAR: 783s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 783s # break; 783s # case G_TYPE_INT: 783s # ret = (g_value_get_int (a) == g_value_get_int (b)); 783s # break; 783s # case G_TYPE_UINT: 783s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 783s # break; 783s # case G_TYPE_INT64: 783s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 783s # break; 783s # case G_TYPE_UINT64: 783s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 783s # break; 783s # case G_TYPE_DOUBLE: 783s # { 783s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 783s # gdouble da = g_value_get_double (a); 783s # gdouble db = g_value_get_double (b); 783s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 783s # } 783s # break; 783s # case G_TYPE_STRING: 783s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 783s # break; 783s # case G_TYPE_VARIANT: 783s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 783s # break; 783s # default: 783s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 783s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 783s # else 783s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 783s # break; 783s # } 783s # return ret; 783s # } 783s # 783s # /* ------------------------------------------------------------------------ 783s # * Code for interface GoodTypes 783s # * ------------------------------------------------------------------------ 783s # */ 783s # 783s # /** 783s # * SECTION:GoodTypes 783s # * @title: GoodTypes 783s # * @short_description: Generated C code for the GoodTypes D-Bus interface 783s # * 783s # * This section contains code for working with the GoodTypes D-Bus interface in C. 783s # */ 783s # 783s # /* ---- Introspection data for GoodTypes ---- */ 783s # 783s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 783s # { 783s # { 783s # -1, 783s # (gchar *) "GoodPropertyType", 783s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 783s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 783s # NULL 783s # }, 783s # "good-property-type", 783s # FALSE, 783s # TRUE 783s # }; 783s # 783s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 783s # { 783s # &_good_types_property_info_good_property_type.parent_struct, 783s # NULL 783s # }; 783s # 783s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 783s # { 783s # { 783s # -1, 783s # (gchar *) "GoodTypes", 783s # NULL, 783s # NULL, 783s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 783s # NULL 783s # }, 783s # "good-types", 783s # }; 783s # 783s # 783s # /** 783s # * good_types_interface_info: 783s # * 783s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 783s # * 783s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 783s # */ 783s # GDBusInterfaceInfo * 783s # good_types_interface_info (void) 783s # { 783s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 783s # } 783s # 783s # /** 783s # * good_types_override_properties: 783s # * @klass: The class structure for a #GObject derived class. 783s # * @property_id_begin: The property id to assign to the first overridden property. 783s # * 783s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 783s # * The properties are overridden in the order they are defined. 783s # * 783s # * Returns: The last property id. 783s # */ 783s # guint 783s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 783s # { 783s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 783s # return property_id_begin - 1; 783s # } 783s # 783s # 783s # 783s # /** 783s # * GoodTypes: 783s # * 783s # * Abstract interface type for the D-Bus interface GoodTypes. 783s # */ 783s # 783s # /** 783s # * GoodTypesIface: 783s # * @parent_iface: The parent interface. 783s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 783s # * 783s # * Virtual table for the D-Bus interface GoodTypes. 783s # */ 783s # 783s # typedef GoodTypesIface GoodTypesInterface; 783s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 783s # 783s # static void 783s # good_types_default_init (GoodTypesIface *iface) 783s # { 783s # /* GObject properties for D-Bus properties: */ 783s # /** 783s # * GoodTypes:good-property-type: 783s # * 783s # * Represents the D-Bus property "GoodPropertyType". 783s # * 783s # * 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. 783s # */ 783s # g_object_interface_install_property (iface, 783s # 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)); 783s # } 783s # 783s # /** 783s # * good_types_get_good_property_type: (skip) 783s # * @object: A GoodTypes. 783s # * 783s # * Gets the value of the "GoodPropertyType" D-Bus property. 783s # * 783s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 783s # * 783s # * 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. 783s # * 783s # * 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. 783s # */ 783s # GVariant * 783s # good_types_get_good_property_type (GoodTypes *object) 783s # { 783s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 783s # 783s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 783s # } 783s # 783s # /** 783s # * good_types_dup_good_property_type: (skip) 783s # * @object: A GoodTypes. 783s # * 783s # * Gets a copy of the "GoodPropertyType" D-Bus property. 783s # * 783s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 783s # * 783s # * 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(). 783s # */ 783s # GVariant * 783s # good_types_dup_good_property_type (GoodTypes *object) 783s # { 783s # GVariant *value; 783s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 783s # return value; 783s # } 783s # 783s # /** 783s # * good_types_set_good_property_type: (skip) 783s # * @object: A GoodTypes. 783s # * @value: The value to set. 783s # * 783s # * Sets the "GoodPropertyType" D-Bus property to @value. 783s # * 783s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 783s # */ 783s # void 783s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 783s # { 783s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 783s # } 783s # 783s # /* ------------------------------------------------------------------------ */ 783s # 783s # /** 783s # * GoodTypesProxy: 783s # * 783s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 783s # */ 783s # 783s # /** 783s # * GoodTypesProxyClass: 783s # * @parent_class: The parent class. 783s # * 783s # * Class structure for GoodTypesProxy. 783s # */ 783s # 783s # struct _GoodTypesProxyPrivate 783s # { 783s # GData *qdata; 783s # }; 783s # 783s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 783s # 783s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 783s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 783s # G_ADD_PRIVATE (GoodTypesProxy) 783s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 783s # 783s # #else 783s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 783s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 783s # 783s # #endif 783s # static void 783s # good_types_proxy_finalize (GObject *object) 783s # { 783s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 783s # g_datalist_clear (&proxy->priv->qdata); 783s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 783s # } 783s # 783s # static void 783s # good_types_proxy_get_property (GObject *object, 783s # guint prop_id, 783s # GValue *value, 783s # GParamSpec *pspec G_GNUC_UNUSED) 783s # { 783s # const _ExtendedGDBusPropertyInfo *info; 783s # GVariant *variant; 783s # g_assert (prop_id != 0 && prop_id - 1 < 1); 783s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 783s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 783s # if (info->use_gvariant) 783s # { 783s # g_value_set_variant (value, variant); 783s # } 783s # else 783s # { 783s # if (variant != NULL) 783s # g_dbus_gvariant_to_gvalue (variant, value); 783s # } 783s # if (variant != NULL) 783s # g_variant_unref (variant); 783s # } 783s # 783s # static void 783s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 783s # GAsyncResult *res, 783s # gpointer user_data) 783s # { 783s # const _ExtendedGDBusPropertyInfo *info = user_data; 783s # GError *error; 783s # GVariant *_ret; 783s # error = NULL; 783s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 783s # if (!_ret) 783s # { 783s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 783s # info->parent_struct.name, 783s # error->message, g_quark_to_string (error->domain), error->code); 783s # g_error_free (error); 783s # } 783s # else 783s # { 783s # g_variant_unref (_ret); 783s # } 783s # } 783s # 783s # static void 783s # good_types_proxy_set_property (GObject *object, 783s # guint prop_id, 783s # const GValue *value, 783s # GParamSpec *pspec G_GNUC_UNUSED) 783s # { 783s # const _ExtendedGDBusPropertyInfo *info; 783s # GVariant *variant; 783s # g_assert (prop_id != 0 && prop_id - 1 < 1); 783s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 783s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 783s # g_dbus_proxy_call (G_DBUS_PROXY (object), 783s # "org.freedesktop.DBus.Properties.Set", 783s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 783s # G_DBUS_CALL_FLAGS_NONE, 783s # -1, 783s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 783s # g_variant_unref (variant); 783s # } 783s # 783s # static void 783s # good_types_proxy_g_signal (GDBusProxy *proxy, 783s # const gchar *sender_name G_GNUC_UNUSED, 783s # const gchar *signal_name, 783s # GVariant *parameters) 783s # { 783s # _ExtendedGDBusSignalInfo *info; 783s # GVariantIter iter; 783s # GVariant *child; 783s # GValue *paramv; 783s # gsize num_params; 783s # gsize n; 783s # guint signal_id; 783s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 783s # if (info == NULL) 783s # return; 783s # num_params = g_variant_n_children (parameters); 783s # paramv = g_new0 (GValue, num_params + 1); 783s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 783s # g_value_set_object (¶mv[0], proxy); 783s # g_variant_iter_init (&iter, parameters); 783s # n = 1; 783s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 783s # { 783s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 783s # if (arg_info->use_gvariant) 783s # { 783s # g_value_init (¶mv[n], G_TYPE_VARIANT); 783s # g_value_set_variant (¶mv[n], child); 783s # n++; 783s # } 783s # else 783s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 783s # g_variant_unref (child); 783s # } 783s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 783s # g_signal_emitv (paramv, signal_id, 0, NULL); 783s # for (n = 0; n < num_params + 1; n++) 783s # g_value_unset (¶mv[n]); 783s # g_free (paramv); 783s # } 783s # 783s # static void 783s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 783s # GVariant *changed_properties, 783s # const gchar *const *invalidated_properties) 783s # { 783s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 783s # guint n; 783s # const gchar *key; 783s # GVariantIter *iter; 783s # _ExtendedGDBusPropertyInfo *info; 783s # g_variant_get (changed_properties, "a{sv}", &iter); 783s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 783s # { 783s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 783s # g_datalist_remove_data (&proxy->priv->qdata, key); 783s # if (info != NULL) 783s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 783s # } 783s # g_variant_iter_free (iter); 783s # for (n = 0; invalidated_properties[n] != NULL; n++) 783s # { 783s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 783s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 783s # if (info != NULL) 783s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 783s # } 783s # } 783s # 783s # static GVariant * 783s # good_types_proxy_get_good_property_type (GoodTypes *object) 783s # { 783s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 783s # GVariant *variant; 783s # GVariant *value = NULL; 783s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 783s # value = variant; 783s # if (variant != NULL) 783s # g_variant_unref (variant); 783s # return value; 783s # } 783s # 783s # static void 783s # good_types_proxy_init (GoodTypesProxy *proxy) 783s # { 783s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 783s # proxy->priv = good_types_proxy_get_instance_private (proxy); 783s # #else 783s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 783s # #endif 783s # 783s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 783s # } 783s # 783s # static void 783s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 783s # { 783s # GObjectClass *gobject_class; 783s # GDBusProxyClass *proxy_class; 783s # 783s # gobject_class = G_OBJECT_CLASS (klass); 783s # gobject_class->finalize = good_types_proxy_finalize; 783s # gobject_class->get_property = good_types_proxy_get_property; 783s # gobject_class->set_property = good_types_proxy_set_property; 783s # 783s # proxy_class = G_DBUS_PROXY_CLASS (klass); 783s # proxy_class->g_signal = good_types_proxy_g_signal; 783s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 783s # 783s # good_types_override_properties (gobject_class, 1); 783s # 783s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 783s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 783s # #endif 783s # } 783s # 783s # static void 783s # good_types_proxy_iface_init (GoodTypesIface *iface) 783s # { 783s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 783s # } 783s # 783s # /** 783s # * good_types_proxy_new: 783s # * @connection: A #GDBusConnection. 783s # * @flags: Flags from the #GDBusProxyFlags enumeration. 783s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 783s # * @object_path: An object path. 783s # * @cancellable: (nullable): A #GCancellable or %NULL. 783s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 783s # * @user_data: User data to pass to @callback. 783s # * 783s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 783s # * 783s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 783s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 783s # * 783s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 783s # */ 783s # void 783s # good_types_proxy_new ( 783s # GDBusConnection *connection, 783s # GDBusProxyFlags flags, 783s # const gchar *name, 783s # const gchar *object_path, 783s # GCancellable *cancellable, 783s # GAsyncReadyCallback callback, 783s # gpointer user_data) 783s # { 783s # 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); 783s # } 783s # 783s # /** 783s # * good_types_proxy_new_finish: 783s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 783s # * @error: Return location for error or %NULL 783s # * 783s # * Finishes an operation started with good_types_proxy_new(). 783s # * 783s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 783s # */ 783s # GoodTypes * 783s # good_types_proxy_new_finish ( 783s # GAsyncResult *res, 783s # GError **error) 783s # { 783s # GObject *ret; 783s # GObject *source_object; 783s # source_object = g_async_result_get_source_object (res); 783s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 783s # g_object_unref (source_object); 783s # if (ret != NULL) 783s # return GOOD_TYPES (ret); 783s # else 783s # return NULL; 783s # } 783s # 783s # /** 783s # * good_types_proxy_new_sync: 783s # * @connection: A #GDBusConnection. 783s # * @flags: Flags from the #GDBusProxyFlags enumeration. 783s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 783s # * @object_path: An object path. 783s # * @cancellable: (nullable): A #GCancellable or %NULL. 783s # * @error: Return location for error or %NULL 783s # * 783s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 783s # * 783s # * The calling thread is blocked until a reply is received. 783s # * 783s # * See good_types_proxy_new() for the asynchronous version of this constructor. 783s # * 783s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 783s # */ 783s # GoodTypes * 783s # good_types_proxy_new_sync ( 783s # GDBusConnection *connection, 783s # GDBusProxyFlags flags, 783s # const gchar *name, 783s # const gchar *object_path, 783s # GCancellable *cancellable, 783s # GError **error) 783s # { 783s # GInitable *ret; 783s # 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); 783s # if (ret != NULL) 783s # return GOOD_TYPES (ret); 783s # else 783s # return NULL; 783s # } 783s # 783s # 783s # /** 783s # * good_types_proxy_new_for_bus: 783s # * @bus_type: A #GBusType. 783s # * @flags: Flags from the #GDBusProxyFlags enumeration. 783s # * @name: A bus name (well-known or unique). 783s # * @object_path: An object path. 783s # * @cancellable: (nullable): A #GCancellable or %NULL. 783s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 783s # * @user_data: User data to pass to @callback. 783s # * 783s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 783s # * 783s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 783s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 783s # * 783s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 783s # */ 783s # void 783s # good_types_proxy_new_for_bus ( 783s # GBusType bus_type, 783s # GDBusProxyFlags flags, 783s # const gchar *name, 783s # const gchar *object_path, 783s # GCancellable *cancellable, 783s # GAsyncReadyCallback callback, 783s # gpointer user_data) 783s # { 783s # 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); 783s # } 783s # 783s # /** 783s # * good_types_proxy_new_for_bus_finish: 783s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 783s # * @error: Return location for error or %NULL 783s # * 783s # * Finishes an operation started with good_types_proxy_new_for_bus(). 783s # * 783s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 783s # */ 783s # GoodTypes * 783s # good_types_proxy_new_for_bus_finish ( 783s # GAsyncResult *res, 783s # GError **error) 783s # { 783s # GObject *ret; 783s # GObject *source_object; 783s # source_object = g_async_result_get_source_object (res); 783s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 783s # g_object_unref (source_object); 783s # if (ret != NULL) 783s # return GOOD_TYPES (ret); 783s # else 783s # return NULL; 783s # } 783s # 783s # /** 783s # * good_types_proxy_new_for_bus_sync: 783s # * @bus_type: A #GBusType. 783s # * @flags: Flags from the #GDBusProxyFlags enumeration. 783s # * @name: A bus name (well-known or unique). 783s # * @object_path: An object path. 783s # * @cancellable: (nullable): A #GCancellable or %NULL. 783s # * @error: Return location for error or %NULL 783s # * 783s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 783s # * 783s # * The calling thread is blocked until a reply is received. 783s # * 783s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 783s # * 783s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 783s # */ 783s # GoodTypes * 783s # good_types_proxy_new_for_bus_sync ( 783s # GBusType bus_type, 783s # GDBusProxyFlags flags, 783s # const gchar *name, 783s # const gchar *object_path, 783s # GCancellable *cancellable, 783s # GError **error) 783s # { 783s # GInitable *ret; 783s # 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); 783s # if (ret != NULL) 783s # return GOOD_TYPES (ret); 783s # else 783s # return NULL; 783s # } 783s # 783s # 783s # /* ------------------------------------------------------------------------ */ 783s # 783s # /** 783s # * GoodTypesSkeleton: 783s # * 783s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 783s # */ 783s # 783s # /** 783s # * GoodTypesSkeletonClass: 783s # * @parent_class: The parent class. 783s # * 783s # * Class structure for GoodTypesSkeleton. 783s # */ 783s # 783s # struct _GoodTypesSkeletonPrivate 783s # { 783s # GValue *properties; 783s # GList *changed_properties; 783s # GSource *changed_properties_idle_source; 783s # GMainContext *context; 783s # GMutex lock; 783s # }; 783s # 783s # static void 783s # _good_types_skeleton_handle_method_call ( 783s # GDBusConnection *connection G_GNUC_UNUSED, 783s # const gchar *sender G_GNUC_UNUSED, 783s # const gchar *object_path G_GNUC_UNUSED, 783s # const gchar *interface_name, 783s # const gchar *method_name, 783s # GVariant *parameters, 783s # GDBusMethodInvocation *invocation, 783s # gpointer user_data) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 783s # _ExtendedGDBusMethodInfo *info; 783s # GVariantIter iter; 783s # GVariant *child; 783s # GValue *paramv; 783s # gsize num_params; 783s # guint num_extra; 783s # gsize n; 783s # guint signal_id; 783s # GValue return_value = G_VALUE_INIT; 783s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 783s # g_assert (info != NULL); 783s # num_params = g_variant_n_children (parameters); 783s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 783s # n = 0; 783s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 783s # g_value_set_object (¶mv[n++], skeleton); 783s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 783s # g_value_set_object (¶mv[n++], invocation); 783s # if (info->pass_fdlist) 783s # { 783s # #ifdef G_OS_UNIX 783s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 783s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 783s # #else 783s # g_assert_not_reached (); 783s # #endif 783s # } 783s # g_variant_iter_init (&iter, parameters); 783s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 783s # { 783s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 783s # if (arg_info->use_gvariant) 783s # { 783s # g_value_init (¶mv[n], G_TYPE_VARIANT); 783s # g_value_set_variant (¶mv[n], child); 783s # n++; 783s # } 783s # else 783s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 783s # g_variant_unref (child); 783s # } 783s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 783s # g_value_init (&return_value, G_TYPE_BOOLEAN); 783s # g_signal_emitv (paramv, signal_id, 0, &return_value); 783s # if (!g_value_get_boolean (&return_value)) 783s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 783s # g_value_unset (&return_value); 783s # for (n = 0; n < num_params + num_extra; n++) 783s # g_value_unset (¶mv[n]); 783s # g_free (paramv); 783s # } 783s # 783s # static GVariant * 783s # _good_types_skeleton_handle_get_property ( 783s # GDBusConnection *connection G_GNUC_UNUSED, 783s # const gchar *sender G_GNUC_UNUSED, 783s # const gchar *object_path G_GNUC_UNUSED, 783s # const gchar *interface_name G_GNUC_UNUSED, 783s # const gchar *property_name, 783s # GError **error, 783s # gpointer user_data) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 783s # GValue value = G_VALUE_INIT; 783s # GParamSpec *pspec; 783s # _ExtendedGDBusPropertyInfo *info; 783s # GVariant *ret; 783s # ret = NULL; 783s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 783s # g_assert (info != NULL); 783s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 783s # if (pspec == NULL) 783s # { 783s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 783s # } 783s # else 783s # { 783s # g_value_init (&value, pspec->value_type); 783s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 783s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 783s # g_value_unset (&value); 783s # } 783s # return ret; 783s # } 783s # 783s # static gboolean 783s # _good_types_skeleton_handle_set_property ( 783s # GDBusConnection *connection G_GNUC_UNUSED, 783s # const gchar *sender G_GNUC_UNUSED, 783s # const gchar *object_path G_GNUC_UNUSED, 783s # const gchar *interface_name G_GNUC_UNUSED, 783s # const gchar *property_name, 783s # GVariant *variant, 783s # GError **error, 783s # gpointer user_data) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 783s # GValue value = G_VALUE_INIT; 783s # GParamSpec *pspec; 783s # _ExtendedGDBusPropertyInfo *info; 783s # gboolean ret; 783s # ret = FALSE; 783s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 783s # g_assert (info != NULL); 783s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 783s # if (pspec == NULL) 783s # { 783s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 783s # } 783s # else 783s # { 783s # if (info->use_gvariant) 783s # g_value_set_variant (&value, variant); 783s # else 783s # g_dbus_gvariant_to_gvalue (variant, &value); 783s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 783s # g_value_unset (&value); 783s # ret = TRUE; 783s # } 783s # return ret; 783s # } 783s # 783s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 783s # { 783s # _good_types_skeleton_handle_method_call, 783s # _good_types_skeleton_handle_get_property, 783s # _good_types_skeleton_handle_set_property, 783s # {NULL} 783s # }; 783s # 783s # static GDBusInterfaceInfo * 783s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 783s # { 783s # return good_types_interface_info (); 783s # } 783s # 783s # static GDBusInterfaceVTable * 783s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 783s # { 783s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 783s # } 783s # 783s # static GVariant * 783s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 783s # 783s # GVariantBuilder builder; 783s # guint n; 783s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 783s # if (_good_types_interface_info.parent_struct.properties == NULL) 783s # goto out; 783s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 783s # { 783s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 783s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 783s # { 783s # GVariant *value; 783s # 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); 783s # if (value != NULL) 783s # { 783s # g_variant_take_ref (value); 783s # g_variant_builder_add (&builder, "{sv}", info->name, value); 783s # g_variant_unref (value); 783s # } 783s # } 783s # } 783s # out: 783s # return g_variant_builder_end (&builder); 783s # } 783s # 783s # static gboolean _good_types_emit_changed (gpointer user_data); 783s # 783s # static void 783s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 783s # gboolean emit_changed = FALSE; 783s # 783s # g_mutex_lock (&skeleton->priv->lock); 783s # if (skeleton->priv->changed_properties_idle_source != NULL) 783s # { 783s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 783s # skeleton->priv->changed_properties_idle_source = NULL; 783s # emit_changed = TRUE; 783s # } 783s # g_mutex_unlock (&skeleton->priv->lock); 783s # 783s # if (emit_changed) 783s # _good_types_emit_changed (skeleton); 783s # } 783s # 783s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 783s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 783s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 783s # G_ADD_PRIVATE (GoodTypesSkeleton) 783s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 783s # 783s # #else 783s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 783s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 783s # 783s # #endif 783s # static void 783s # good_types_skeleton_finalize (GObject *object) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 783s # guint n; 783s # for (n = 0; n < 1; n++) 783s # g_value_unset (&skeleton->priv->properties[n]); 783s # g_free (skeleton->priv->properties); 783s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 783s # if (skeleton->priv->changed_properties_idle_source != NULL) 783s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 783s # g_main_context_unref (skeleton->priv->context); 783s # g_mutex_clear (&skeleton->priv->lock); 783s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 783s # } 783s # 783s # static void 783s # good_types_skeleton_get_property (GObject *object, 783s # guint prop_id, 783s # GValue *value, 783s # GParamSpec *pspec G_GNUC_UNUSED) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 783s # g_assert (prop_id != 0 && prop_id - 1 < 1); 783s # g_mutex_lock (&skeleton->priv->lock); 783s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 783s # g_mutex_unlock (&skeleton->priv->lock); 783s # } 783s # 783s # static gboolean 783s # _good_types_emit_changed (gpointer user_data) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 783s # GList *l; 783s # GVariantBuilder builder; 783s # GVariantBuilder invalidated_builder; 783s # guint num_changes; 783s # 783s # g_mutex_lock (&skeleton->priv->lock); 783s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 783s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 783s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 783s # { 783s # ChangedProperty *cp = l->data; 783s # GVariant *variant; 783s # const GValue *cur_value; 783s # 783s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 783s # if (!_g_value_equal (cur_value, &cp->orig_value)) 783s # { 783s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 783s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 783s # g_variant_unref (variant); 783s # num_changes++; 783s # } 783s # } 783s # if (num_changes > 0) 783s # { 783s # GList *connections, *ll; 783s # GVariant *signal_variant; 783s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 783s # &builder, &invalidated_builder)); 783s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 783s # for (ll = connections; ll != NULL; ll = ll->next) 783s # { 783s # GDBusConnection *connection = ll->data; 783s # 783s # g_dbus_connection_emit_signal (connection, 783s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 783s # "org.freedesktop.DBus.Properties", 783s # "PropertiesChanged", 783s # signal_variant, 783s # NULL); 783s # } 783s # g_variant_unref (signal_variant); 783s # g_list_free_full (connections, g_object_unref); 783s # } 783s # else 783s # { 783s # g_variant_builder_clear (&builder); 783s # g_variant_builder_clear (&invalidated_builder); 783s # } 783s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 783s # skeleton->priv->changed_properties = NULL; 783s # skeleton->priv->changed_properties_idle_source = NULL; 783s # g_mutex_unlock (&skeleton->priv->lock); 783s # return FALSE; 783s # } 783s # 783s # static void 783s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 783s # { 783s # ChangedProperty *cp; 783s # GList *l; 783s # cp = NULL; 783s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 783s # { 783s # ChangedProperty *i_cp = l->data; 783s # if (i_cp->info == info) 783s # { 783s # cp = i_cp; 783s # break; 783s # } 783s # } 783s # if (cp == NULL) 783s # { 783s # cp = g_new0 (ChangedProperty, 1); 783s # cp->prop_id = prop_id; 783s # cp->info = info; 783s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 783s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 783s # g_value_copy (orig_value, &cp->orig_value); 783s # } 783s # } 783s # 783s # static void 783s # good_types_skeleton_notify (GObject *object, 783s # GParamSpec *pspec G_GNUC_UNUSED) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 783s # g_mutex_lock (&skeleton->priv->lock); 783s # if (skeleton->priv->changed_properties != NULL && 783s # skeleton->priv->changed_properties_idle_source == NULL) 783s # { 783s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 783s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 783s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 783s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 783s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 783s # g_source_unref (skeleton->priv->changed_properties_idle_source); 783s # } 783s # g_mutex_unlock (&skeleton->priv->lock); 783s # } 783s # 783s # static void 783s # good_types_skeleton_set_property (GObject *object, 783s # guint prop_id, 783s # const GValue *value, 783s # GParamSpec *pspec) 783s # { 783s # const _ExtendedGDBusPropertyInfo *info; 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 783s # g_assert (prop_id != 0 && prop_id - 1 < 1); 783s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 783s # g_mutex_lock (&skeleton->priv->lock); 783s # g_object_freeze_notify (object); 783s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 783s # { 783s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 783s # info->emits_changed_signal) 783s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 783s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 783s # g_object_notify_by_pspec (object, pspec); 783s # } 783s # g_mutex_unlock (&skeleton->priv->lock); 783s # g_object_thaw_notify (object); 783s # } 783s # 783s # static void 783s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 783s # { 783s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 783s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 783s # #else 783s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 783s # #endif 783s # 783s # g_mutex_init (&skeleton->priv->lock); 783s # skeleton->priv->context = g_main_context_ref_thread_default (); 783s # skeleton->priv->properties = g_new0 (GValue, 1); 783s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 783s # } 783s # 783s # static GVariant * 783s # good_types_skeleton_get_good_property_type (GoodTypes *object) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 783s # GVariant *value; 783s # g_mutex_lock (&skeleton->priv->lock); 783s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 783s # g_mutex_unlock (&skeleton->priv->lock); 783s # return value; 783s # } 783s # 783s # static void 783s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 783s # { 783s # GObjectClass *gobject_class; 783s # GDBusInterfaceSkeletonClass *skeleton_class; 783s # 783s # gobject_class = G_OBJECT_CLASS (klass); 783s # gobject_class->finalize = good_types_skeleton_finalize; 783s # gobject_class->get_property = good_types_skeleton_get_property; 783s # gobject_class->set_property = good_types_skeleton_set_property; 783s # gobject_class->notify = good_types_skeleton_notify; 783s # 783s # 783s # good_types_override_properties (gobject_class, 1); 783s # 783s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 783s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 783s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 783s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 783s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 783s # 783s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 783s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 783s # #endif 783s # } 783s # 783s # static void 783s # good_types_skeleton_iface_init (GoodTypesIface *iface) 783s # { 783s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 783s # } 783s # 783s # /** 783s # * good_types_skeleton_new: 783s # * 783s # * Creates a skeleton object for the D-Bus interface GoodTypes. 783s # * 783s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 783s # */ 783s # GoodTypes * 783s # good_types_skeleton_new (void) 783s # { 783s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 783s # } 783s # /tmp/tmpmzucb9i8/tmp_a53ay5c.xml: 783s # 783s # 783s # 783s # 783s # 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmzucb9i8/tmp_a53ay5c.xml', '--output', '-', '--body'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # Output: /* 783s # * This file is generated by gdbus-codegen, do not modify it. 783s # * 783s # * The license of this code is the same as for the D-Bus interface description 783s # * it was derived from. Note that it links to GLib, so must comply with the 783s # * LGPL linking clauses. 783s # */ 783s # 783s # #ifdef HAVE_CONFIG_H 783s # # include "config.h" 783s # #endif 783s # 783s # #include 783s # #ifdef G_OS_UNIX 783s # # include 783s # #endif 783s # 783s # #ifdef G_ENABLE_DEBUG 783s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 783s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 783s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 783s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 783s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 783s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 783s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 783s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 783s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 783s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 783s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 783s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 783s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 783s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 783s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 783s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 783s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 783s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 783s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 783s # #else /* !G_ENABLE_DEBUG */ 783s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 783s # * Do not access GValues directly in your code. Instead, use the 783s # * g_value_get_*() functions 783s # */ 783s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 783s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 783s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 783s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 783s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 783s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 783s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 783s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 783s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 783s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 783s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 783s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 783s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 783s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 783s # #endif /* !G_ENABLE_DEBUG */ 783s # 783s # typedef struct 783s # { 783s # GDBusArgInfo parent_struct; 783s # gboolean use_gvariant; 783s # } _ExtendedGDBusArgInfo; 783s # 783s # typedef struct 783s # { 783s # GDBusMethodInfo parent_struct; 783s # const gchar *signal_name; 783s # gboolean pass_fdlist; 783s # } _ExtendedGDBusMethodInfo; 783s # 783s # typedef struct 783s # { 783s # GDBusSignalInfo parent_struct; 783s # const gchar *signal_name; 783s # } _ExtendedGDBusSignalInfo; 783s # 783s # typedef struct 783s # { 783s # GDBusPropertyInfo parent_struct; 783s # const gchar *hyphen_name; 783s # guint use_gvariant : 1; 783s # guint emits_changed_signal : 1; 783s # } _ExtendedGDBusPropertyInfo; 783s # 783s # typedef struct 783s # { 783s # GDBusInterfaceInfo parent_struct; 783s # const gchar *hyphen_name; 783s # } _ExtendedGDBusInterfaceInfo; 783s # 783s # typedef struct 783s # { 783s # const _ExtendedGDBusPropertyInfo *info; 783s # guint prop_id; 783s # GValue orig_value; /* the value before the change */ 783s # } ChangedProperty; 783s # 783s # static void 783s # _changed_property_free (ChangedProperty *data) 783s # { 783s # g_value_unset (&data->orig_value); 783s # g_free (data); 783s # } 783s # 783s # static gboolean 783s # _g_strv_equal0 (gchar **a, gchar **b) 783s # { 783s # gboolean ret = FALSE; 783s # guint n; 783s # if (a == NULL && b == NULL) 783s # { 783s # ret = TRUE; 783s # goto out; 783s # } 783s # if (a == NULL || b == NULL) 783s # goto out; 783s # if (g_strv_length (a) != g_strv_length (b)) 783s # goto out; 783s # for (n = 0; a[n] != NULL; n++) 783s # if (g_strcmp0 (a[n], b[n]) != 0) 783s # goto out; 783s # ret = TRUE; 783s # out: 783s # return ret; 783s # } 783s # 783s # static gboolean 783s # _g_variant_equal0 (GVariant *a, GVariant *b) 783s # { 783s # gboolean ret = FALSE; 783s # if (a == NULL && b == NULL) 783s # { 783s # ret = TRUE; 783s # goto out; 783s # } 783s # if (a == NULL || b == NULL) 783s # goto out; 783s # ret = g_variant_equal (a, b); 783s # out: 783s # return ret; 783s # } 783s # 783s # G_GNUC_UNUSED static gboolean 783s # _g_value_equal (const GValue *a, const GValue *b) 783s # { 783s # gboolean ret = FALSE; 783s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 783s # switch (G_VALUE_TYPE (a)) 783s # { 783s # case G_TYPE_BOOLEAN: 783s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 783s # break; 783s # case G_TYPE_UCHAR: 783s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 783s # break; 783s # case G_TYPE_INT: 783s # ret = (g_value_get_int (a) == g_value_get_int (b)); 783s # break; 783s # case G_TYPE_UINT: 783s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 783s # break; 783s # case G_TYPE_INT64: 783s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 783s # break; 783s # case G_TYPE_UINT64: 783s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 783s # break; 783s # case G_TYPE_DOUBLE: 783s # { 783s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 783s # gdouble da = g_value_get_double (a); 783s # gdouble db = g_value_get_double (b); 783s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 783s # } 783s # break; 783s # case G_TYPE_STRING: 783s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 783s # break; 783s # case G_TYPE_VARIANT: 783s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 783s # break; 783s # default: 783s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 783s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 783s # else 783s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 783s # break; 783s # } 783s # return ret; 783s # } 783s # 783s # /* ------------------------------------------------------------------------ 783s # * Code for interface GoodTypes 783s # * ------------------------------------------------------------------------ 783s # */ 783s # 783s # /** 783s # * SECTION:GoodTypes 783s # * @title: GoodTypes 783s # * @short_description: Generated C code for the GoodTypes D-Bus interface 783s # * 783s # * This section contains code for working with the GoodTypes D-Bus interface in C. 783s # */ 783s # 783s # /* ---- Introspection data for GoodTypes ---- */ 783s # 783s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 783s # { 783s # { 783s # -1, 783s # (gchar *) "GoodPropertyType", 783s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 783s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 783s # NULL 783s # }, 783s # "good-property-type", 783s # FALSE, 783s # TRUE 783s # }; 783s # 783s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 783s # { 783s # &_good_types_property_info_good_property_type.parent_struct, 783s # NULL 783s # }; 783s # 783s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 783s # { 783s # { 783s # -1, 783s # (gchar *) "GoodTypes", 783s # NULL, 783s # NULL, 783s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 783s # NULL 783s # }, 783s # "good-types", 783s # }; 783s # 783s # 783s # /** 783s # * good_types_interface_info: 783s # * 783s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 783s # * 783s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 783s # */ 783s # GDBusInterfaceInfo * 783s # good_types_interface_info (void) 783s # { 783s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 783s # } 783s # 783s # /** 783s # * good_types_override_properties: 783s # * @klass: The class structure for a #GObject derived class. 783s # * @property_id_begin: The property id to assign to the first overridden property. 783s # * 783s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 783s # * The properties are overridden in the order they are defined. 783s # * 783s # * Returns: The last property id. 783s # */ 783s # guint 783s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 783s # { 783s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 783s # return property_id_begin - 1; 783s # } 783s # 783s # 783s # 783s # /** 783s # * GoodTypes: 783s # * 783s # * Abstract interface type for the D-Bus interface GoodTypes. 783s # */ 783s # 783s # /** 783s # * GoodTypesIface: 783s # * @parent_iface: The parent interface. 783s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 783s # * 783s # * Virtual table for the D-Bus interface GoodTypes. 783s # */ 783s # 783s # typedef GoodTypesIface GoodTypesInterface; 783s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 783s # 783s # static void 783s # good_types_default_init (GoodTypesIface *iface) 783s # { 783s # /* GObject properties for D-Bus properties: */ 783s # /** 783s # * GoodTypes:good-property-type: 783s # * 783s # * Represents the D-Bus property "GoodPropertyType". 783s # * 783s # * 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. 783s # */ 783s # g_object_interface_install_property (iface, 783s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 783s # } 783s # 783s # /** 783s # * good_types_get_good_property_type: (skip) 783s # * @object: A GoodTypes. 783s # * 783s # * Gets the value of the "GoodPropertyType" D-Bus property. 783s # * 783s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 783s # * 783s # * 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. 783s # * 783s # * 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. 783s # */ 783s # GVariant * 783s # good_types_get_good_property_type (GoodTypes *object) 783s # { 783s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 783s # 783s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 783s # } 783s # 783s # /** 783s # * good_types_dup_good_property_type: (skip) 783s # * @object: A GoodTypes. 783s # * 783s # * Gets a copy of the "GoodPropertyType" D-Bus property. 783s # * 783s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 783s # * 783s # * 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(). 783s # */ 783s # GVariant * 783s # good_types_dup_good_property_type (GoodTypes *object) 783s # { 783s # GVariant *value; 783s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 783s # return value; 783s # } 783s # 783s # /** 783s # * good_types_set_good_property_type: (skip) 783s # * @object: A GoodTypes. 783s # * @value: The value to set. 783s # * 783s # * Sets the "GoodPropertyType" D-Bus property to @value. 783s # * 783s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 783s # */ 783s # void 783s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 783s # { 783s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 783s # } 783s # 783s # /* ------------------------------------------------------------------------ */ 783s # 783s # /** 783s # * GoodTypesProxy: 783s # * 783s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 783s # */ 783s # 783s # /** 783s # * GoodTypesProxyClass: 783s # * @parent_class: The parent class. 783s # * 783s # * Class structure for GoodTypesProxy. 783s # */ 783s # 783s # struct _GoodTypesProxyPrivate 783s # { 783s # GData *qdata; 783s # }; 783s # 783s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 783s # 783s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 783s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 783s # G_ADD_PRIVATE (GoodTypesProxy) 783s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 783s # 783s # #else 783s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 783s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 783s # 783s # #endif 783s # static void 783s # good_types_proxy_finalize (GObject *object) 783s # { 783s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 783s # g_datalist_clear (&proxy->priv->qdata); 783s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 783s # } 783s # 783s # static void 783s # good_types_proxy_get_property (GObject *object, 783s # guint prop_id, 783s # GValue *value, 783s # GParamSpec *pspec G_GNUC_UNUSED) 783s # { 783s # const _ExtendedGDBusPropertyInfo *info; 783s # GVariant *variant; 783s # g_assert (prop_id != 0 && prop_id - 1 < 1); 783s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 783s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 783s # if (info->use_gvariant) 783s # { 783s # g_value_set_variant (value, variant); 783s # } 783s # else 783s # { 783s # if (variant != NULL) 783s # g_dbus_gvariant_to_gvalue (variant, value); 783s # } 783s # if (variant != NULL) 783s # g_variant_unref (variant); 783s # } 783s # 783s # static void 783s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 783s # GAsyncResult *res, 783s # gpointer user_data) 783s # { 783s # const _ExtendedGDBusPropertyInfo *info = user_data; 783s # GError *error; 783s # GVariant *_ret; 783s # error = NULL; 783s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 783s # if (!_ret) 783s # { 783s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 783s # info->parent_struct.name, 783s # error->message, g_quark_to_string (error->domain), error->code); 783s # g_error_free (error); 783s # } 783s # else 783s # { 783s # g_variant_unref (_ret); 783s # } 783s # } 783s # 783s # static void 783s # good_types_proxy_set_property (GObject *object, 783s # guint prop_id, 783s # const GValue *value, 783s # GParamSpec *pspec G_GNUC_UNUSED) 783s # { 783s # const _ExtendedGDBusPropertyInfo *info; 783s # GVariant *variant; 783s # g_assert (prop_id != 0 && prop_id - 1 < 1); 783s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 783s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 783s # g_dbus_proxy_call (G_DBUS_PROXY (object), 783s # "org.freedesktop.DBus.Properties.Set", 783s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 783s # G_DBUS_CALL_FLAGS_NONE, 783s # -1, 783s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 783s # g_variant_unref (variant); 783s # } 783s # 783s # static void 783s # good_types_proxy_g_signal (GDBusProxy *proxy, 783s # const gchar *sender_name G_GNUC_UNUSED, 783s # const gchar *signal_name, 783s # GVariant *parameters) 783s # { 783s # _ExtendedGDBusSignalInfo *info; 783s # GVariantIter iter; 783s # GVariant *child; 783s # GValue *paramv; 783s # gsize num_params; 783s # gsize n; 783s # guint signal_id; 783s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 783s # if (info == NULL) 783s # return; 783s # num_params = g_variant_n_children (parameters); 783s # paramv = g_new0 (GValue, num_params + 1); 783s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 783s # g_value_set_object (¶mv[0], proxy); 783s # g_variant_iter_init (&iter, parameters); 783s # n = 1; 783s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 783s # { 783s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 783s # if (arg_info->use_gvariant) 783s # { 783s # g_value_init (¶mv[n], G_TYPE_VARIANT); 783s # g_value_set_variant (¶mv[n], child); 783s # n++; 783s # } 783s # else 783s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 783s # g_variant_unref (child); 783s # } 783s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 783s # g_signal_emitv (paramv, signal_id, 0, NULL); 783s # for (n = 0; n < num_params + 1; n++) 783s # g_value_unset (¶mv[n]); 783s # g_free (paramv); 783s # } 783s # 783s # static void 783s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 783s # GVariant *changed_properties, 783s # const gchar *const *invalidated_properties) 783s # { 783s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 783s # guint n; 783s # const gchar *key; 783s # GVariantIter *iter; 783s # _ExtendedGDBusPropertyInfo *info; 783s # g_variant_get (changed_properties, "a{sv}", &iter); 783s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 783s # { 783s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 783s # g_datalist_remove_data (&proxy->priv->qdata, key); 783s # if (info != NULL) 783s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 783s # } 783s # g_variant_iter_free (iter); 783s # for (n = 0; invalidated_properties[n] != NULL; n++) 783s # { 783s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 783s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 783s # if (info != NULL) 783s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 783s # } 783s # } 783s # 783s # static GVariant * 783s # good_types_proxy_get_good_property_type (GoodTypes *object) 783s # { 783s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 783s # GVariant *variant; 783s # GVariant *value = NULL; 783s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 783s # value = variant; 783s # if (variant != NULL) 783s # g_variant_unref (variant); 783s # return value; 783s # } 783s # 783s # static void 783s # good_types_proxy_init (GoodTypesProxy *proxy) 783s # { 783s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 783s # proxy->priv = good_types_proxy_get_instance_private (proxy); 783s # #else 783s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 783s # #endif 783s # 783s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 783s # } 783s # 783s # static void 783s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 783s # { 783s # GObjectClass *gobject_class; 783s # GDBusProxyClass *proxy_class; 783s # 783s # gobject_class = G_OBJECT_CLASS (klass); 783s # gobject_class->finalize = good_types_proxy_finalize; 783s # gobject_class->get_property = good_types_proxy_get_property; 783s # gobject_class->set_property = good_types_proxy_set_property; 783s # 783s # proxy_class = G_DBUS_PROXY_CLASS (klass); 783s # proxy_class->g_signal = good_types_proxy_g_signal; 783s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 783s # 783s # good_types_override_properties (gobject_class, 1); 783s # 783s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 783s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 783s # #endif 783s # } 783s # 783s # static void 783s # good_types_proxy_iface_init (GoodTypesIface *iface) 783s # { 783s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 783s # } 783s # 783s # /** 783s # * good_types_proxy_new: 783s # * @connection: A #GDBusConnection. 783s # * @flags: Flags from the #GDBusProxyFlags enumeration. 783s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 783s # * @object_path: An object path. 783s # * @cancellable: (nullable): A #GCancellable or %NULL. 783s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 783s # * @user_data: User data to pass to @callback. 783s # * 783s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 783s # * 783s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 783s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 783s # * 783s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 783s # */ 783s # void 783s # good_types_proxy_new ( 783s # GDBusConnection *connection, 783s # GDBusProxyFlags flags, 783s # const gchar *name, 783s # const gchar *object_path, 783s # GCancellable *cancellable, 783s # GAsyncReadyCallback callback, 783s # gpointer user_data) 783s # { 783s # 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); 783s # } 783s # 783s # /** 783s # * good_types_proxy_new_finish: 783s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 783s # * @error: Return location for error or %NULL 783s # * 783s # * Finishes an operation started with good_types_proxy_new(). 783s # * 783s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 783s # */ 783s # GoodTypes * 783s # good_types_proxy_new_finish ( 783s # GAsyncResult *res, 783s # GError **error) 783s # { 783s # GObject *ret; 783s # GObject *source_object; 783s # source_object = g_async_result_get_source_object (res); 783s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 783s # g_object_unref (source_object); 783s # if (ret != NULL) 783s # return GOOD_TYPES (ret); 783s # else 783s # return NULL; 783s # } 783s # 783s # /** 783s # * good_types_proxy_new_sync: 783s # * @connection: A #GDBusConnection. 783s # * @flags: Flags from the #GDBusProxyFlags enumeration. 783s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 783s # * @object_path: An object path. 783s # * @cancellable: (nullable): A #GCancellable or %NULL. 783s # * @error: Return location for error or %NULL 783s # * 783s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 783s # * 783s # * The calling thread is blocked until a reply is received. 783s # * 783s # * See good_types_proxy_new() for the asynchronous version of this constructor. 783s # * 783s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 783s # */ 783s # GoodTypes * 783s # good_types_proxy_new_sync ( 783s # GDBusConnection *connection, 783s # GDBusProxyFlags flags, 783s # const gchar *name, 783s # const gchar *object_path, 783s # GCancellable *cancellable, 783s # GError **error) 783s # { 783s # GInitable *ret; 783s # 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); 783s # if (ret != NULL) 783s # return GOOD_TYPES (ret); 783s # else 783s # return NULL; 783s # } 783s # 783s # 783s # /** 783s # * good_types_proxy_new_for_bus: 783s # * @bus_type: A #GBusType. 783s # * @flags: Flags from the #GDBusProxyFlags enumeration. 783s # * @name: A bus name (well-known or unique). 783s # * @object_path: An object path. 783s # * @cancellable: (nullable): A #GCancellable or %NULL. 783s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 783s # * @user_data: User data to pass to @callback. 783s # * 783s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 783s # * 783s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 783s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 783s # * 783s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 783s # */ 783s # void 783s # good_types_proxy_new_for_bus ( 783s # GBusType bus_type, 783s # GDBusProxyFlags flags, 783s # const gchar *name, 783s # const gchar *object_path, 783s # GCancellable *cancellable, 783s # GAsyncReadyCallback callback, 783s # gpointer user_data) 783s # { 783s # 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); 783s # } 783s # 783s # /** 783s # * good_types_proxy_new_for_bus_finish: 783s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 783s # * @error: Return location for error or %NULL 783s # * 783s # * Finishes an operation started with good_types_proxy_new_for_bus(). 783s # * 783s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 783s # */ 783s # GoodTypes * 783s # good_types_proxy_new_for_bus_finish ( 783s # GAsyncResult *res, 783s # GError **error) 783s # { 783s # GObject *ret; 783s # GObject *source_object; 783s # source_object = g_async_result_get_source_object (res); 783s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 783s # g_object_unref (source_object); 783s # if (ret != NULL) 783s # return GOOD_TYPES (ret); 783s # else 783s # return NULL; 783s # } 783s # 783s # /** 783s # * good_types_proxy_new_for_bus_sync: 783s # * @bus_type: A #GBusType. 783s # * @flags: Flags from the #GDBusProxyFlags enumeration. 783s # * @name: A bus name (well-known or unique). 783s # * @object_path: An object path. 783s # * @cancellable: (nullable): A #GCancellable or %NULL. 783s # * @error: Return location for error or %NULL 783s # * 783s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 783s # * 783s # * The calling thread is blocked until a reply is received. 783s # * 783s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 783s # * 783s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 783s # */ 783s # GoodTypes * 783s # good_types_proxy_new_for_bus_sync ( 783s # GBusType bus_type, 783s # GDBusProxyFlags flags, 783s # const gchar *name, 783s # const gchar *object_path, 783s # GCancellable *cancellable, 783s # GError **error) 783s # { 783s # GInitable *ret; 783s # 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); 783s # if (ret != NULL) 783s # return GOOD_TYPES (ret); 783s # else 783s # return NULL; 783s # } 783s # 783s # 783s # /* ------------------------------------------------------------------------ */ 783s # 783s # /** 783s # * GoodTypesSkeleton: 783s # * 783s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 783s # */ 783s # 783s # /** 783s # * GoodTypesSkeletonClass: 783s # * @parent_class: The parent class. 783s # * 783s # * Class structure for GoodTypesSkeleton. 783s # */ 783s # 783s # struct _GoodTypesSkeletonPrivate 783s # { 783s # GValue *properties; 783s # GList *changed_properties; 783s # GSource *changed_properties_idle_source; 783s # GMainContext *context; 783s # GMutex lock; 783s # }; 783s # 783s # static void 783s # _good_types_skeleton_handle_method_call ( 783s # GDBusConnection *connection G_GNUC_UNUSED, 783s # const gchar *sender G_GNUC_UNUSED, 783s # const gchar *object_path G_GNUC_UNUSED, 783s # const gchar *interface_name, 783s # const gchar *method_name, 783s # GVariant *parameters, 783s # GDBusMethodInvocation *invocation, 783s # gpointer user_data) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 783s # _ExtendedGDBusMethodInfo *info; 783s # GVariantIter iter; 783s # GVariant *child; 783s # GValue *paramv; 783s # gsize num_params; 783s # guint num_extra; 783s # gsize n; 783s # guint signal_id; 783s # GValue return_value = G_VALUE_INIT; 783s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 783s # g_assert (info != NULL); 783s # num_params = g_variant_n_children (parameters); 783s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 783s # n = 0; 783s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 783s # g_value_set_object (¶mv[n++], skeleton); 783s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 783s # g_value_set_object (¶mv[n++], invocation); 783s # if (info->pass_fdlist) 783s # { 783s # #ifdef G_OS_UNIX 783s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 783s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 783s # #else 783s # g_assert_not_reached (); 783s # #endif 783s # } 783s # g_variant_iter_init (&iter, parameters); 783s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 783s # { 783s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 783s # if (arg_info->use_gvariant) 783s # { 783s # g_value_init (¶mv[n], G_TYPE_VARIANT); 783s # g_value_set_variant (¶mv[n], child); 783s # n++; 783s # } 783s # else 783s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 783s # g_variant_unref (child); 783s # } 783s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 783s # g_value_init (&return_value, G_TYPE_BOOLEAN); 783s # g_signal_emitv (paramv, signal_id, 0, &return_value); 783s # if (!g_value_get_boolean (&return_value)) 783s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 783s # g_value_unset (&return_value); 783s # for (n = 0; n < num_params + num_extra; n++) 783s # g_value_unset (¶mv[n]); 783s # g_free (paramv); 783s # } 783s # 783s # static GVariant * 783s # _good_types_skeleton_handle_get_property ( 783s # GDBusConnection *connection G_GNUC_UNUSED, 783s # const gchar *sender G_GNUC_UNUSED, 783s # const gchar *object_path G_GNUC_UNUSED, 783s # const gchar *interface_name G_GNUC_UNUSED, 783s # const gchar *property_name, 783s # GError **error, 783s # gpointer user_data) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 783s # GValue value = G_VALUE_INIT; 783s # GParamSpec *pspec; 783s # _ExtendedGDBusPropertyInfo *info; 783s # GVariant *ret; 783s # ret = NULL; 783s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 783s # g_assert (info != NULL); 783s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 783s # if (pspec == NULL) 783s # { 783s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 783s # } 783s # else 783s # { 783s # g_value_init (&value, pspec->value_type); 783s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 783s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 783s # g_value_unset (&value); 783s # } 783s # return ret; 783s # } 783s # 783s # static gboolean 783s # _good_types_skeleton_handle_set_property ( 783s # GDBusConnection *connection G_GNUC_UNUSED, 783s # const gchar *sender G_GNUC_UNUSED, 783s # const gchar *object_path G_GNUC_UNUSED, 783s # const gchar *interface_name G_GNUC_UNUSED, 783s # const gchar *property_name, 783s # GVariant *variant, 783s # GError **error, 783s # gpointer user_data) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 783s # GValue value = G_VALUE_INIT; 783s # GParamSpec *pspec; 783s # _ExtendedGDBusPropertyInfo *info; 783s # gboolean ret; 783s # ret = FALSE; 783s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 783s # g_assert (info != NULL); 783s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 783s # if (pspec == NULL) 783s # { 783s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 783s # } 783s # else 783s # { 783s # if (info->use_gvariant) 783s # g_value_set_variant (&value, variant); 783s # else 783s # g_dbus_gvariant_to_gvalue (variant, &value); 783s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 783s # g_value_unset (&value); 783s # ret = TRUE; 783s # } 783s # return ret; 783s # } 783s # 783s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 783s # { 783s # _good_types_skeleton_handle_method_call, 783s # _good_types_skeleton_handle_get_property, 783s # _good_types_skeleton_handle_set_property, 783s # {NULL} 783s # }; 783s # 783s # static GDBusInterfaceInfo * 783s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 783s # { 783s # return good_types_interface_info (); 783s # } 783s # 783s # static GDBusInterfaceVTable * 783s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 783s # { 783s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 783s # } 783s # 783s # static GVariant * 783s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 783s # 783s # GVariantBuilder builder; 783s # guint n; 783s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 783s # if (_good_types_interface_info.parent_struct.properties == NULL) 783s # goto out; 783s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 783s # { 783s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 783s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 783s # { 783s # GVariant *value; 783s # 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); 783s # if (value != NULL) 783s # { 783s # g_variant_take_ref (value); 783s # g_variant_builder_add (&builder, "{sv}", info->name, value); 783s # g_variant_unref (value); 783s # } 783s # } 783s # } 783s # out: 783s # return g_variant_builder_end (&builder); 783s # } 783s # 783s # static gboolean _good_types_emit_changed (gpointer user_data); 783s # 783s # static void 783s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 783s # gboolean emit_changed = FALSE; 783s # 783s # g_mutex_lock (&skeleton->priv->lock); 783s # if (skeleton->priv->changed_properties_idle_source != NULL) 783s # { 783s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 783s # skeleton->priv->changed_properties_idle_source = NULL; 783s # emit_changed = TRUE; 783s # } 783s # g_mutex_unlock (&skeleton->priv->lock); 783s # 783s # if (emit_changed) 783s # _good_types_emit_changed (skeleton); 783s # } 783s # 783s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 783s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 783s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 783s # G_ADD_PRIVATE (GoodTypesSkeleton) 783s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 783s # 783s # #else 783s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 783s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 783s # 783s # #endif 783s # static void 783s # good_types_skeleton_finalize (GObject *object) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 783s # guint n; 783s # for (n = 0; n < 1; n++) 783s # g_value_unset (&skeleton->priv->properties[n]); 783s # g_free (skeleton->priv->properties); 783s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 783s # if (skeleton->priv->changed_properties_idle_source != NULL) 783s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 783s # g_main_context_unref (skeleton->priv->context); 783s # g_mutex_clear (&skeleton->priv->lock); 783s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 783s # } 783s # 783s # static void 783s # good_types_skeleton_get_property (GObject *object, 783s # guint prop_id, 783s # GValue *value, 783s # GParamSpec *pspec G_GNUC_UNUSED) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 783s # g_assert (prop_id != 0 && prop_id - 1 < 1); 783s # g_mutex_lock (&skeleton->priv->lock); 783s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 783s # g_mutex_unlock (&skeleton->priv->lock); 783s # } 783s # 783s # static gboolean 783s # _good_types_emit_changed (gpointer user_data) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 783s # GList *l; 783s # GVariantBuilder builder; 783s # GVariantBuilder invalidated_builder; 783s # guint num_changes; 783s # 783s # g_mutex_lock (&skeleton->priv->lock); 783s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 783s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 783s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 783s # { 783s # ChangedProperty *cp = l->data; 783s # GVariant *variant; 783s # const GValue *cur_value; 783s # 783s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 783s # if (!_g_value_equal (cur_value, &cp->orig_value)) 783s # { 783s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 783s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 783s # g_variant_unref (variant); 783s # num_changes++; 783s # } 783s # } 783s # if (num_changes > 0) 783s # { 783s # GList *connections, *ll; 783s # GVariant *signal_variant; 783s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 783s # &builder, &invalidated_builder)); 783s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 783s # for (ll = connections; ll != NULL; ll = ll->next) 783s # { 783s # GDBusConnection *connection = ll->data; 783s # 783s # g_dbus_connection_emit_signal (connection, 783s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 783s # "org.freedesktop.DBus.Properties", 783s # "PropertiesChanged", 783s # signal_variant, 783s # NULL); 783s # } 783s # g_variant_unref (signal_variant); 783s # g_list_free_full (connections, g_object_unref); 783s # } 783s # else 783s # { 783s # g_variant_builder_clear (&builder); 783s # g_variant_builder_clear (&invalidated_builder); 783s # } 783s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 783s # skeleton->priv->changed_properties = NULL; 783s # skeleton->priv->changed_properties_idle_source = NULL; 783s # g_mutex_unlock (&skeleton->priv->lock); 783s # return FALSE; 783s # } 783s # 783s # static void 783s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 783s # { 783s # ChangedProperty *cp; 783s # GList *l; 783s # cp = NULL; 783s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 783s # { 783s # ChangedProperty *i_cp = l->data; 783s # if (i_cp->info == info) 783s # { 783s # cp = i_cp; 783s # break; 783s # } 783s # } 783s # if (cp == NULL) 783s # { 783s # cp = g_new0 (ChangedProperty, 1); 783s # cp->prop_id = prop_id; 783s # cp->info = info; 783s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 783s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 783s # g_value_copy (orig_value, &cp->orig_value); 783s # } 783s # } 783s # 783s # static void 783s # good_types_skeleton_notify (GObject *object, 783s # GParamSpec *pspec G_GNUC_UNUSED) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 783s # g_mutex_lock (&skeleton->priv->lock); 783s # if (skeleton->priv->changed_properties != NULL && 783s # skeleton->priv->changed_properties_idle_source == NULL) 783s # { 783s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 783s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 783s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 783s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 783s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 783s # g_source_unref (skeleton->priv->changed_properties_idle_source); 783s # } 783s # g_mutex_unlock (&skeleton->priv->lock); 783s # } 783s # 783s # static void 783s # good_types_skeleton_set_property (GObject *object, 783s # guint prop_id, 783s # const GValue *value, 783s # GParamSpec *pspec) 783s # { 783s # const _ExtendedGDBusPropertyInfo *info; 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 783s # g_assert (prop_id != 0 && prop_id - 1 < 1); 783s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 783s # g_mutex_lock (&skeleton->priv->lock); 783s # g_object_freeze_notify (object); 783s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 783s # { 783s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 783s # info->emits_changed_signal) 783s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 783s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 783s # g_object_notify_by_pspec (object, pspec); 783s # } 783s # g_mutex_unlock (&skeleton->priv->lock); 783s # g_object_thaw_notify (object); 783s # } 783s # 783s # static void 783s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 783s # { 783s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 783s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 783s # #else 783s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 783s # #endif 783s # 783s # g_mutex_init (&skeleton->priv->lock); 783s # skeleton->priv->context = g_main_context_ref_thread_default (); 783s # skeleton->priv->properties = g_new0 (GValue, 1); 783s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 783s # } 783s # 783s # static GVariant * 783s # good_types_skeleton_get_good_property_type (GoodTypes *object) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 783s # GVariant *value; 783s # g_mutex_lock (&skeleton->priv->lock); 783s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 783s # g_mutex_unlock (&skeleton->priv->lock); 783s # return value; 783s # } 783s # 783s # static void 783s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 783s # { 783s # GObjectClass *gobject_class; 783s # GDBusInterfaceSkeletonClass *skeleton_class; 783s # 783s # gobject_class = G_OBJECT_CLASS (klass); 783s # gobject_class->finalize = good_types_skeleton_finalize; 783s # gobject_class->get_property = good_types_skeleton_get_property; 783s # gobject_class->set_property = good_types_skeleton_set_property; 783s # gobject_class->notify = good_types_skeleton_notify; 783s # 783s # 783s # good_types_override_properties (gobject_class, 1); 783s # 783s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 783s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 783s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 783s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 783s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 783s # 783s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 783s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 783s # #endif 783s # } 783s # 783s # static void 783s # good_types_skeleton_iface_init (GoodTypesIface *iface) 783s # { 783s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 783s # } 783s # 783s # /** 783s # * good_types_skeleton_new: 783s # * 783s # * Creates a skeleton object for the D-Bus interface GoodTypes. 783s # * 783s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 783s # */ 783s # GoodTypes * 783s # good_types_skeleton_new (void) 783s # { 783s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 783s # } 783s # /tmp/tmpmzucb9i8/tmphbaik4k2.xml: 783s # 783s # 783s # 783s # 783s # 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmzucb9i8/tmphbaik4k2.xml', '--output', '-', '--body'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # Output: /* 783s # * This file is generated by gdbus-codegen, do not modify it. 783s # * 783s # * The license of this code is the same as for the D-Bus interface description 783s # * it was derived from. Note that it links to GLib, so must comply with the 783s # * LGPL linking clauses. 783s # */ 783s # 783s # #ifdef HAVE_CONFIG_H 783s # # include "config.h" 783s # #endif 783s # 783s # #include 783s # #ifdef G_OS_UNIX 783s # # include 783s # #endif 783s # 783s # #ifdef G_ENABLE_DEBUG 783s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 783s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 783s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 783s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 783s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 783s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 783s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 783s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 783s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 783s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 783s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 783s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 783s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 783s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 783s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 783s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 783s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 783s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 783s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 783s # #else /* !G_ENABLE_DEBUG */ 783s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 783s # * Do not access GValues directly in your code. Instead, use the 783s # * g_value_get_*() functions 783s # */ 783s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 783s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 783s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 783s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 783s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 783s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 783s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 783s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 783s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 783s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 783s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 783s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 783s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 783s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 783s # #endif /* !G_ENABLE_DEBUG */ 783s # 783s # typedef struct 783s # { 783s # GDBusArgInfo parent_struct; 783s # gboolean use_gvariant; 783s # } _ExtendedGDBusArgInfo; 783s # 783s # typedef struct 783s # { 783s # GDBusMethodInfo parent_struct; 783s # const gchar *signal_name; 783s # gboolean pass_fdlist; 783s # } _ExtendedGDBusMethodInfo; 783s # 783s # typedef struct 783s # { 783s # GDBusSignalInfo parent_struct; 783s # const gchar *signal_name; 783s # } _ExtendedGDBusSignalInfo; 783s # 783s # typedef struct 783s # { 783s # GDBusPropertyInfo parent_struct; 783s # const gchar *hyphen_name; 783s # guint use_gvariant : 1; 783s # guint emits_changed_signal : 1; 783s # } _ExtendedGDBusPropertyInfo; 783s # 783s # typedef struct 783s # { 783s # GDBusInterfaceInfo parent_struct; 783s # const gchar *hyphen_name; 783s # } _ExtendedGDBusInterfaceInfo; 783s # 783s # typedef struct 783s # { 783s # const _ExtendedGDBusPropertyInfo *info; 783s # guint prop_id; 783s # GValue orig_value; /* the value before the change */ 783s # } ChangedProperty; 783s # 783s # static void 783s # _changed_property_free (ChangedProperty *data) 783s # { 783s # g_value_unset (&data->orig_value); 783s # g_free (data); 783s # } 783s # 783s # static gboolean 783s # _g_strv_equal0 (gchar **a, gchar **b) 783s # { 783s # gboolean ret = FALSE; 783s # guint n; 783s # if (a == NULL && b == NULL) 783s # { 783s # ret = TRUE; 783s # goto out; 783s # } 783s # if (a == NULL || b == NULL) 783s # goto out; 783s # if (g_strv_length (a) != g_strv_length (b)) 783s # goto out; 783s # for (n = 0; a[n] != NULL; n++) 783s # if (g_strcmp0 (a[n], b[n]) != 0) 783s # goto out; 783s # ret = TRUE; 783s # out: 783s # return ret; 783s # } 783s # 783s # static gboolean 783s # _g_variant_equal0 (GVariant *a, GVariant *b) 783s # { 783s # gboolean ret = FALSE; 783s # if (a == NULL && b == NULL) 783s # { 783s # ret = TRUE; 783s # goto out; 783s # } 783s # if (a == NULL || b == NULL) 783s # goto out; 783s # ret = g_variant_equal (a, b); 783s # out: 783s # return ret; 783s # } 783s # 783s # G_GNUC_UNUSED static gboolean 783s # _g_value_equal (const GValue *a, const GValue *b) 783s # { 783s # gboolean ret = FALSE; 783s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 783s # switch (G_VALUE_TYPE (a)) 783s # { 783s # case G_TYPE_BOOLEAN: 783s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 783s # break; 783s # case G_TYPE_UCHAR: 783s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 783s # break; 783s # case G_TYPE_INT: 783s # ret = (g_value_get_int (a) == g_value_get_int (b)); 783s # break; 783s # case G_TYPE_UINT: 783s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 783s # break; 783s # case G_TYPE_INT64: 783s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 783s # break; 783s # case G_TYPE_UINT64: 783s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 783s # break; 783s # case G_TYPE_DOUBLE: 783s # { 783s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 783s # gdouble da = g_value_get_double (a); 783s # gdouble db = g_value_get_double (b); 783s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 783s # } 783s # break; 783s # case G_TYPE_STRING: 783s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 783s # break; 783s # case G_TYPE_VARIANT: 783s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 783s # break; 783s # default: 783s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 783s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 783s # else 783s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 783s # break; 783s # } 783s # return ret; 783s # } 783s # 783s # /* ------------------------------------------------------------------------ 783s # * Code for interface GoodTypes 783s # * ------------------------------------------------------------------------ 783s # */ 783s # 783s # /** 783s # * SECTION:GoodTypes 783s # * @title: GoodTypes 783s # * @short_description: Generated C code for the GoodTypes D-Bus interface 783s # * 783s # * This section contains code for working with the GoodTypes D-Bus interface in C. 783s # */ 783s # 783s # /* ---- Introspection data for GoodTypes ---- */ 783s # 783s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 783s # { 783s # { 783s # -1, 783s # (gchar *) "GoodPropertyType", 783s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 783s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 783s # NULL 783s # }, 783s # "good-property-type", 783s # FALSE, 783s # TRUE 783s # }; 783s # 783s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 783s # { 783s # &_good_types_property_info_good_property_type.parent_struct, 783s # NULL 783s # }; 783s # 783s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 783s # { 783s # { 783s # -1, 783s # (gchar *) "GoodTypes", 783s # NULL, 783s # NULL, 783s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 783s # NULL 783s # }, 783s # "good-types", 783s # }; 783s # 783s # 783s # /** 783s # * good_types_interface_info: 783s # * 783s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 783s # * 783s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 783s # */ 783s # GDBusInterfaceInfo * 783s # good_types_interface_info (void) 783s # { 783s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 783s # } 783s # 783s # /** 783s # * good_types_override_properties: 783s # * @klass: The class structure for a #GObject derived class. 783s # * @property_id_begin: The property id to assign to the first overridden property. 783s # * 783s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 783s # * The properties are overridden in the order they are defined. 783s # * 783s # * Returns: The last property id. 783s # */ 783s # guint 783s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 783s # { 783s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 783s # return property_id_begin - 1; 783s # } 783s # 783s # 783s # 783s # /** 783s # * GoodTypes: 783s # * 783s # * Abstract interface type for the D-Bus interface GoodTypes. 783s # */ 783s # 783s # /** 783s # * GoodTypesIface: 783s # * @parent_iface: The parent interface. 783s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 783s # * 783s # * Virtual table for the D-Bus interface GoodTypes. 783s # */ 783s # 783s # typedef GoodTypesIface GoodTypesInterface; 783s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 783s # 783s # static void 783s # good_types_default_init (GoodTypesIface *iface) 783s # { 783s # /* GObject properties for D-Bus properties: */ 783s # /** 783s # * GoodTypes:good-property-type: 783s # * 783s # * Represents the D-Bus property "GoodPropertyType". 783s # * 783s # * 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. 783s # */ 783s # g_object_interface_install_property (iface, 783s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 783s # } 783s # 783s # /** 783s # * good_types_get_good_property_type: (skip) 783s # * @object: A GoodTypes. 783s # * 783s # * Gets the value of the "GoodPropertyType" D-Bus property. 783s # * 783s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 783s # * 783s # * 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. 783s # * 783s # * 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. 783s # */ 783s # GVariant * 783s # good_types_get_good_property_type (GoodTypes *object) 783s # { 783s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 783s # 783s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 783s # } 783s # 783s # /** 783s # * good_types_dup_good_property_type: (skip) 783s # * @object: A GoodTypes. 783s # * 783s # * Gets a copy of the "GoodPropertyType" D-Bus property. 783s # * 783s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 783s # * 783s # * 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(). 783s # */ 783s # GVariant * 783s # good_types_dup_good_property_type (GoodTypes *object) 783s # { 783s # GVariant *value; 783s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 783s # return value; 783s # } 783s # 783s # /** 783s # * good_types_set_good_property_type: (skip) 783s # * @object: A GoodTypes. 783s # * @value: The value to set. 783s # * 783s # * Sets the "GoodPropertyType" D-Bus property to @value. 783s # * 783s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 783s # */ 783s # void 783s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 783s # { 783s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 783s # } 783s # 783s # /* ------------------------------------------------------------------------ */ 783s # 783s # /** 783s # * GoodTypesProxy: 783s # * 783s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 783s # */ 783s # 783s # /** 783s # * GoodTypesProxyClass: 783s # * @parent_class: The parent class. 783s # * 783s # * Class structure for GoodTypesProxy. 783s # */ 783s # 783s # struct _GoodTypesProxyPrivate 783s # { 783s # GData *qdata; 783s # }; 783s # 783s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 783s # 783s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 783s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 783s # G_ADD_PRIVATE (GoodTypesProxy) 783s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 783s # 783s # #else 783s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 783s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 783s # 783s # #endif 783s # static void 783s # good_types_proxy_finalize (GObject *object) 783s # { 783s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 783s # g_datalist_clear (&proxy->priv->qdata); 783s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 783s # } 783s # 783s # static void 783s # good_types_proxy_get_property (GObject *object, 783s # guint prop_id, 783s # GValue *value, 783s # GParamSpec *pspec G_GNUC_UNUSED) 783s # { 783s # const _ExtendedGDBusPropertyInfo *info; 783s # GVariant *variant; 783s # g_assert (prop_id != 0 && prop_id - 1 < 1); 783s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 783s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 783s # if (info->use_gvariant) 783s # { 783s # g_value_set_variant (value, variant); 783s # } 783s # else 783s # { 783s # if (variant != NULL) 783s # g_dbus_gvariant_to_gvalue (variant, value); 783s # } 783s # if (variant != NULL) 783s # g_variant_unref (variant); 783s # } 783s # 783s # static void 783s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 783s # GAsyncResult *res, 783s # gpointer user_data) 783s # { 783s # const _ExtendedGDBusPropertyInfo *info = user_data; 783s # GError *error; 783s # GVariant *_ret; 783s # error = NULL; 783s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 783s # if (!_ret) 783s # { 783s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 783s # info->parent_struct.name, 783s # error->message, g_quark_to_string (error->domain), error->code); 783s # g_error_free (error); 783s # } 783s # else 783s # { 783s # g_variant_unref (_ret); 783s # } 783s # } 783s # 783s # static void 783s # good_types_proxy_set_property (GObject *object, 783s # guint prop_id, 783s # const GValue *value, 783s # GParamSpec *pspec G_GNUC_UNUSED) 783s # { 783s # const _ExtendedGDBusPropertyInfo *info; 783s # GVariant *variant; 783s # g_assert (prop_id != 0 && prop_id - 1 < 1); 783s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 783s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 783s # g_dbus_proxy_call (G_DBUS_PROXY (object), 783s # "org.freedesktop.DBus.Properties.Set", 783s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 783s # G_DBUS_CALL_FLAGS_NONE, 783s # -1, 783s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 783s # g_variant_unref (variant); 783s # } 783s # 783s # static void 783s # good_types_proxy_g_signal (GDBusProxy *proxy, 783s # const gchar *sender_name G_GNUC_UNUSED, 783s # const gchar *signal_name, 783s # GVariant *parameters) 783s # { 783s # _ExtendedGDBusSignalInfo *info; 783s # GVariantIter iter; 783s # GVariant *child; 783s # GValue *paramv; 783s # gsize num_params; 783s # gsize n; 783s # guint signal_id; 783s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 783s # if (info == NULL) 783s # return; 783s # num_params = g_variant_n_children (parameters); 783s # paramv = g_new0 (GValue, num_params + 1); 783s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 783s # g_value_set_object (¶mv[0], proxy); 783s # g_variant_iter_init (&iter, parameters); 783s # n = 1; 783s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 783s # { 783s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 783s # if (arg_info->use_gvariant) 783s # { 783s # g_value_init (¶mv[n], G_TYPE_VARIANT); 783s # g_value_set_variant (¶mv[n], child); 783s # n++; 783s # } 783s # else 783s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 783s # g_variant_unref (child); 783s # } 783s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 783s # g_signal_emitv (paramv, signal_id, 0, NULL); 783s # for (n = 0; n < num_params + 1; n++) 783s # g_value_unset (¶mv[n]); 783s # g_free (paramv); 783s # } 783s # 783s # static void 783s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 783s # GVariant *changed_properties, 783s # const gchar *const *invalidated_properties) 783s # { 783s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 783s # guint n; 783s # const gchar *key; 783s # GVariantIter *iter; 783s # _ExtendedGDBusPropertyInfo *info; 783s # g_variant_get (changed_properties, "a{sv}", &iter); 783s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 783s # { 783s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 783s # g_datalist_remove_data (&proxy->priv->qdata, key); 783s # if (info != NULL) 783s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 783s # } 783s # g_variant_iter_free (iter); 783s # for (n = 0; invalidated_properties[n] != NULL; n++) 783s # { 783s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 783s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 783s # if (info != NULL) 783s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 783s # } 783s # } 783s # 783s # static GVariant * 783s # good_types_proxy_get_good_property_type (GoodTypes *object) 783s # { 783s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 783s # GVariant *variant; 783s # GVariant *value = NULL; 783s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 783s # value = variant; 783s # if (variant != NULL) 783s # g_variant_unref (variant); 783s # return value; 783s # } 783s # 783s # static void 783s # good_types_proxy_init (GoodTypesProxy *proxy) 783s # { 783s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 783s # proxy->priv = good_types_proxy_get_instance_private (proxy); 783s # #else 783s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 783s # #endif 783s # 783s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 783s # } 783s # 783s # static void 783s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 783s # { 783s # GObjectClass *gobject_class; 783s # GDBusProxyClass *proxy_class; 783s # 783s # gobject_class = G_OBJECT_CLASS (klass); 783s # gobject_class->finalize = good_types_proxy_finalize; 783s # gobject_class->get_property = good_types_proxy_get_property; 783s # gobject_class->set_property = good_types_proxy_set_property; 783s # 783s # proxy_class = G_DBUS_PROXY_CLASS (klass); 783s # proxy_class->g_signal = good_types_proxy_g_signal; 783s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 783s # 783s # good_types_override_properties (gobject_class, 1); 783s # 783s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 783s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 783s # #endif 783s # } 783s # 783s # static void 783s # good_types_proxy_iface_init (GoodTypesIface *iface) 783s # { 783s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 783s # } 783s # 783s # /** 783s # * good_types_proxy_new: 783s # * @connection: A #GDBusConnection. 783s # * @flags: Flags from the #GDBusProxyFlags enumeration. 783s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 783s # * @object_path: An object path. 783s # * @cancellable: (nullable): A #GCancellable or %NULL. 783s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 783s # * @user_data: User data to pass to @callback. 783s # * 783s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 783s # * 783s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 783s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 783s # * 783s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 783s # */ 783s # void 783s # good_types_proxy_new ( 783s # GDBusConnection *connection, 783s # GDBusProxyFlags flags, 783s # const gchar *name, 783s # const gchar *object_path, 783s # GCancellable *cancellable, 783s # GAsyncReadyCallback callback, 783s # gpointer user_data) 783s # { 783s # 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); 783s # } 783s # 783s # /** 783s # * good_types_proxy_new_finish: 783s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 783s # * @error: Return location for error or %NULL 783s # * 783s # * Finishes an operation started with good_types_proxy_new(). 783s # * 783s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 783s # */ 783s # GoodTypes * 783s # good_types_proxy_new_finish ( 783s # GAsyncResult *res, 783s # GError **error) 783s # { 783s # GObject *ret; 783s # GObject *source_object; 783s # source_object = g_async_result_get_source_object (res); 783s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 783s # g_object_unref (source_object); 783s # if (ret != NULL) 783s # return GOOD_TYPES (ret); 783s # else 783s # return NULL; 783s # } 783s # 783s # /** 783s # * good_types_proxy_new_sync: 783s # * @connection: A #GDBusConnection. 783s # * @flags: Flags from the #GDBusProxyFlags enumeration. 783s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 783s # * @object_path: An object path. 783s # * @cancellable: (nullable): A #GCancellable or %NULL. 783s # * @error: Return location for error or %NULL 783s # * 783s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 783s # * 783s # * The calling thread is blocked until a reply is received. 783s # * 783s # * See good_types_proxy_new() for the asynchronous version of this constructor. 783s # * 783s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 783s # */ 783s # GoodTypes * 783s # good_types_proxy_new_sync ( 783s # GDBusConnection *connection, 783s # GDBusProxyFlags flags, 783s # const gchar *name, 783s # const gchar *object_path, 783s # GCancellable *cancellable, 783s # GError **error) 783s # { 783s # GInitable *ret; 783s # 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); 783s # if (ret != NULL) 783s # return GOOD_TYPES (ret); 783s # else 783s # return NULL; 783s # } 783s # 783s # 783s # /** 783s # * good_types_proxy_new_for_bus: 783s # * @bus_type: A #GBusType. 783s # * @flags: Flags from the #GDBusProxyFlags enumeration. 783s # * @name: A bus name (well-known or unique). 783s # * @object_path: An object path. 783s # * @cancellable: (nullable): A #GCancellable or %NULL. 783s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 783s # * @user_data: User data to pass to @callback. 783s # * 783s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 783s # * 783s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 783s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 783s # * 783s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 783s # */ 783s # void 783s # good_types_proxy_new_for_bus ( 783s # GBusType bus_type, 783s # GDBusProxyFlags flags, 783s # const gchar *name, 783s # const gchar *object_path, 783s # GCancellable *cancellable, 783s # GAsyncReadyCallback callback, 783s # gpointer user_data) 783s # { 783s # 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); 783s # } 783s # 783s # /** 783s # * good_types_proxy_new_for_bus_finish: 783s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 783s # * @error: Return location for error or %NULL 783s # * 783s # * Finishes an operation started with good_types_proxy_new_for_bus(). 783s # * 783s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 783s # */ 783s # GoodTypes * 783s # good_types_proxy_new_for_bus_finish ( 783s # GAsyncResult *res, 783s # GError **error) 783s # { 783s # GObject *ret; 783s # GObject *source_object; 783s # source_object = g_async_result_get_source_object (res); 783s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 783s # g_object_unref (source_object); 783s # if (ret != NULL) 783s # return GOOD_TYPES (ret); 783s # else 783s # return NULL; 783s # } 783s # 783s # /** 783s # * good_types_proxy_new_for_bus_sync: 783s # * @bus_type: A #GBusType. 783s # * @flags: Flags from the #GDBusProxyFlags enumeration. 783s # * @name: A bus name (well-known or unique). 783s # * @object_path: An object path. 783s # * @cancellable: (nullable): A #GCancellable or %NULL. 783s # * @error: Return location for error or %NULL 783s # * 783s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 783s # * 783s # * The calling thread is blocked until a reply is received. 783s # * 783s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 783s # * 783s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 783s # */ 783s # GoodTypes * 783s # good_types_proxy_new_for_bus_sync ( 783s # GBusType bus_type, 783s # GDBusProxyFlags flags, 783s # const gchar *name, 783s # const gchar *object_path, 783s # GCancellable *cancellable, 783s # GError **error) 783s # { 783s # GInitable *ret; 783s # 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); 783s # if (ret != NULL) 783s # return GOOD_TYPES (ret); 783s # else 783s # return NULL; 783s # } 783s # 783s # 783s # /* ------------------------------------------------------------------------ */ 783s # 783s # /** 783s # * GoodTypesSkeleton: 783s # * 783s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 783s # */ 783s # 783s # /** 783s # * GoodTypesSkeletonClass: 783s # * @parent_class: The parent class. 783s # * 783s # * Class structure for GoodTypesSkeleton. 783s # */ 783s # 783s # struct _GoodTypesSkeletonPrivate 783s # { 783s # GValue *properties; 783s # GList *changed_properties; 783s # GSource *changed_properties_idle_source; 783s # GMainContext *context; 783s # GMutex lock; 783s # }; 783s # 783s # static void 783s # _good_types_skeleton_handle_method_call ( 783s # GDBusConnection *connection G_GNUC_UNUSED, 783s # const gchar *sender G_GNUC_UNUSED, 783s # const gchar *object_path G_GNUC_UNUSED, 783s # const gchar *interface_name, 783s # const gchar *method_name, 783s # GVariant *parameters, 783s # GDBusMethodInvocation *invocation, 783s # gpointer user_data) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 783s # _ExtendedGDBusMethodInfo *info; 783s # GVariantIter iter; 783s # GVariant *child; 783s # GValue *paramv; 783s # gsize num_params; 783s # guint num_extra; 783s # gsize n; 783s # guint signal_id; 783s # GValue return_value = G_VALUE_INIT; 783s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 783s # g_assert (info != NULL); 783s # num_params = g_variant_n_children (parameters); 783s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 783s # n = 0; 783s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 783s # g_value_set_object (¶mv[n++], skeleton); 783s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 783s # g_value_set_object (¶mv[n++], invocation); 783s # if (info->pass_fdlist) 783s # { 783s # #ifdef G_OS_UNIX 783s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 783s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 783s # #else 783s # g_assert_not_reached (); 783s # #endif 783s # } 783s # g_variant_iter_init (&iter, parameters); 783s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 783s # { 783s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 783s # if (arg_info->use_gvariant) 783s # { 783s # g_value_init (¶mv[n], G_TYPE_VARIANT); 783s # g_value_set_variant (¶mv[n], child); 783s # n++; 783s # } 783s # else 783s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 783s # g_variant_unref (child); 783s # } 783s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 783s # g_value_init (&return_value, G_TYPE_BOOLEAN); 783s # g_signal_emitv (paramv, signal_id, 0, &return_value); 783s # if (!g_value_get_boolean (&return_value)) 783s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 783s # g_value_unset (&return_value); 783s # for (n = 0; n < num_params + num_extra; n++) 783s # g_value_unset (¶mv[n]); 783s # g_free (paramv); 783s # } 783s # 783s # static GVariant * 783s # _good_types_skeleton_handle_get_property ( 783s # GDBusConnection *connection G_GNUC_UNUSED, 783s # const gchar *sender G_GNUC_UNUSED, 783s # const gchar *object_path G_GNUC_UNUSED, 783s # const gchar *interface_name G_GNUC_UNUSED, 783s # const gchar *property_name, 783s # GError **error, 783s # gpointer user_data) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 783s # GValue value = G_VALUE_INIT; 783s # GParamSpec *pspec; 783s # _ExtendedGDBusPropertyInfo *info; 783s # GVariant *ret; 783s # ret = NULL; 783s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 783s # g_assert (info != NULL); 783s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 783s # if (pspec == NULL) 783s # { 783s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 783s # } 783s # else 783s # { 783s # g_value_init (&value, pspec->value_type); 783s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 783s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 783s # g_value_unset (&value); 783s # } 783s # return ret; 783s # } 783s # 783s # static gboolean 783s # _good_types_skeleton_handle_set_property ( 783s # GDBusConnection *connection G_GNUC_UNUSED, 783s # const gchar *sender G_GNUC_UNUSED, 783s # const gchar *object_path G_GNUC_UNUSED, 783s # const gchar *interface_name G_GNUC_UNUSED, 783s # const gchar *property_name, 783s # GVariant *variant, 783s # GError **error, 783s # gpointer user_data) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 783s # GValue value = G_VALUE_INIT; 783s # GParamSpec *pspec; 783s # _ExtendedGDBusPropertyInfo *info; 783s # gboolean ret; 783s # ret = FALSE; 783s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 783s # g_assert (info != NULL); 783s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 783s # if (pspec == NULL) 783s # { 783s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 783s # } 783s # else 783s # { 783s # if (info->use_gvariant) 783s # g_value_set_variant (&value, variant); 783s # else 783s # g_dbus_gvariant_to_gvalue (variant, &value); 783s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 783s # g_value_unset (&value); 783s # ret = TRUE; 783s # } 783s # return ret; 783s # } 783s # 783s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 783s # { 783s # _good_types_skeleton_handle_method_call, 783s # _good_types_skeleton_handle_get_property, 783s # _good_types_skeleton_handle_set_property, 783s # {NULL} 783s # }; 783s # 783s # static GDBusInterfaceInfo * 783s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 783s # { 783s # return good_types_interface_info (); 783s # } 783s # 783s # static GDBusInterfaceVTable * 783s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 783s # { 783s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 783s # } 783s # 783s # static GVariant * 783s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 783s # 783s # GVariantBuilder builder; 783s # guint n; 783s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 783s # if (_good_types_interface_info.parent_struct.properties == NULL) 783s # goto out; 783s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 783s # { 783s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 783s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 783s # { 783s # GVariant *value; 783s # 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); 783s # if (value != NULL) 783s # { 783s # g_variant_take_ref (value); 783s # g_variant_builder_add (&builder, "{sv}", info->name, value); 783s # g_variant_unref (value); 783s # } 783s # } 783s # } 783s # out: 783s # return g_variant_builder_end (&builder); 783s # } 783s # 783s # static gboolean _good_types_emit_changed (gpointer user_data); 783s # 783s # static void 783s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 783s # gboolean emit_changed = FALSE; 783s # 783s # g_mutex_lock (&skeleton->priv->lock); 783s # if (skeleton->priv->changed_properties_idle_source != NULL) 783s # { 783s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 783s # skeleton->priv->changed_properties_idle_source = NULL; 783s # emit_changed = TRUE; 783s # } 783s # g_mutex_unlock (&skeleton->priv->lock); 783s # 783s # if (emit_changed) 783s # _good_types_emit_changed (skeleton); 783s # } 783s # 783s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 783s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 783s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 783s # G_ADD_PRIVATE (GoodTypesSkeleton) 783s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 783s # 783s # #else 783s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 783s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 783s # 783s # #endif 783s # static void 783s # good_types_skeleton_finalize (GObject *object) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 783s # guint n; 783s # for (n = 0; n < 1; n++) 783s # g_value_unset (&skeleton->priv->properties[n]); 783s # g_free (skeleton->priv->properties); 783s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 783s # if (skeleton->priv->changed_properties_idle_source != NULL) 783s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 783s # g_main_context_unref (skeleton->priv->context); 783s # g_mutex_clear (&skeleton->priv->lock); 783s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 783s # } 783s # 783s # static void 783s # good_types_skeleton_get_property (GObject *object, 783s # guint prop_id, 783s # GValue *value, 783s # GParamSpec *pspec G_GNUC_UNUSED) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 783s # g_assert (prop_id != 0 && prop_id - 1 < 1); 783s # g_mutex_lock (&skeleton->priv->lock); 783s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 783s # g_mutex_unlock (&skeleton->priv->lock); 783s # } 783s # 783s # static gboolean 783s # _good_types_emit_changed (gpointer user_data) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 783s # GList *l; 783s # GVariantBuilder builder; 783s # GVariantBuilder invalidated_builder; 783s # guint num_changes; 783s # 783s # g_mutex_lock (&skeleton->priv->lock); 783s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 783s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 783s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 783s # { 783s # ChangedProperty *cp = l->data; 783s # GVariant *variant; 783s # const GValue *cur_value; 783s # 783s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 783s # if (!_g_value_equal (cur_value, &cp->orig_value)) 783s # { 783s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 783s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 783s # g_variant_unref (variant); 783s # num_changes++; 783s # } 783s # } 783s # if (num_changes > 0) 783s # { 783s # GList *connections, *ll; 783s # GVariant *signal_variant; 783s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 783s # &builder, &invalidated_builder)); 783s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 783s # for (ll = connections; ll != NULL; ll = ll->next) 783s # { 783s # GDBusConnection *connection = ll->data; 783s # 783s # g_dbus_connection_emit_signal (connection, 783s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 783s # "org.freedesktop.DBus.Properties", 783s # "PropertiesChanged", 783s # signal_variant, 783s # NULL); 783s # } 783s # g_variant_unref (signal_variant); 783s # g_list_free_full (connections, g_object_unref); 783s # } 783s # else 783s # { 783s # g_variant_builder_clear (&builder); 783s # g_variant_builder_clear (&invalidated_builder); 783s # } 783s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 783s # skeleton->priv->changed_properties = NULL; 783s # skeleton->priv->changed_properties_idle_source = NULL; 783s # g_mutex_unlock (&skeleton->priv->lock); 783s # return FALSE; 783s # } 783s # 783s # static void 783s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 783s # { 783s # ChangedProperty *cp; 783s # GList *l; 783s # cp = NULL; 783s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 783s # { 783s # ChangedProperty *i_cp = l->data; 783s # if (i_cp->info == info) 783s # { 783s # cp = i_cp; 783s # break; 783s # } 783s # } 783s # if (cp == NULL) 783s # { 783s # cp = g_new0 (ChangedProperty, 1); 783s # cp->prop_id = prop_id; 783s # cp->info = info; 783s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 783s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 783s # g_value_copy (orig_value, &cp->orig_value); 783s # } 783s # } 783s # 783s # static void 783s # good_types_skeleton_notify (GObject *object, 783s # GParamSpec *pspec G_GNUC_UNUSED) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 783s # g_mutex_lock (&skeleton->priv->lock); 783s # if (skeleton->priv->changed_properties != NULL && 783s # skeleton->priv->changed_properties_idle_source == NULL) 783s # { 783s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 783s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 783s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 783s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 783s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 783s # g_source_unref (skeleton->priv->changed_properties_idle_source); 783s # } 783s # g_mutex_unlock (&skeleton->priv->lock); 783s # } 783s # 783s # static void 783s # good_types_skeleton_set_property (GObject *object, 783s # guint prop_id, 783s # const GValue *value, 783s # GParamSpec *pspec) 783s # { 783s # const _ExtendedGDBusPropertyInfo *info; 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 783s # g_assert (prop_id != 0 && prop_id - 1 < 1); 783s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 783s # g_mutex_lock (&skeleton->priv->lock); 783s # g_object_freeze_notify (object); 783s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 783s # { 783s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 783s # info->emits_changed_signal) 783s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 783s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 783s # g_object_notify_by_pspec (object, pspec); 783s # } 783s # g_mutex_unlock (&skeleton->priv->lock); 783s # g_object_thaw_notify (object); 783s # } 783s # 783s # static void 783s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 783s # { 783s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 783s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 783s # #else 783s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 783s # #endif 783s # 783s # g_mutex_init (&skeleton->priv->lock); 783s # skeleton->priv->context = g_main_context_ref_thread_default (); 783s # skeleton->priv->properties = g_new0 (GValue, 1); 783s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 783s # } 783s # 783s # static GVariant * 783s # good_types_skeleton_get_good_property_type (GoodTypes *object) 783s # { 783s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 783s # GVariant *value; 783s # g_mutex_lock (&skeleton->priv->lock); 783s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 783s # g_mutex_unlock (&skeleton->priv->lock); 783s # return value; 783s # } 783s # 783s # static void 783s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 783s # { 783s # GObjectClass *gobject_class; 783s # GDBusInterfaceSkeletonClass *skeleton_class; 783s # 783s # gobject_class = G_OBJECT_CLASS (klass); 783s # gobject_class->finalize = good_types_skeleton_finalize; 783s # gobject_class->get_property = good_types_skeleton_get_property; 783s # gobject_class->set_property = good_types_skeleton_set_property; 783s # gobject_class->notify = good_types_skeleton_notify; 783s # 783s # 783s # good_types_override_properties (gobject_class, 1); 783s # 783s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 783s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 783s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 783s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 783s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 783s # 783s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 783s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 783s # #endif 783s # } 783s # 783s # static void 783s # good_types_skeleton_iface_init (GoodTypesIface *iface) 783s # { 783s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 783s # } 783s # 783s # /** 783s # * good_types_skeleton_new: 783s # * 783s # * Creates a skeleton object for the D-Bus interface GoodTypes. 783s # * 783s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 783s # */ 783s # GoodTypes * 783s # good_types_skeleton_new (void) 783s # { 783s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 783s # } 783s # Executing: glib/codegen.py.test 783s ok 3 __main__.TestCodegen.test_empty_interface_body 783s # tmpdir: /tmp/tmpq5dyuync 783s # codegen: /usr/bin/gdbus-codegen 783s # /tmp/tmpq5dyuync/tmpidvi2as3.xml: 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq5dyuync/tmpidvi2as3.xml', '--output', '-', '--body'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # Output: /* 783s # * This file is generated by gdbus-codegen, do not modify it. 783s # * 783s # * The license of this code is the same as for the D-Bus interface description 783s # * it was derived from. Note that it links to GLib, so must comply with the 783s # * LGPL linking clauses. 783s # */ 783s # 783s # #ifdef HAVE_CONFIG_H 783s # # include "config.h" 783s # #endif 783s # 783s # #include 783s # #ifdef G_OS_UNIX 783s # # include 783s # #endif 783s # 783s # #ifdef G_ENABLE_DEBUG 783s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 783s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 783s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 783s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 783s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 783s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 783s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 783s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 783s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 783s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 783s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 783s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 783s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 783s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 783s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 783s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 783s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 783s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 783s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 783s # #else /* !G_ENABLE_DEBUG */ 783s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 783s # * Do not access GValues directly in your code. Instead, use the 783s # * g_value_get_*() functions 783s # */ 783s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 783s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 783s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 783s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 783s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 783s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 783s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 783s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 783s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 783s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 783s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 783s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 783s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 783s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 783s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 783s # #endif /* !G_ENABLE_DEBUG */ 783s # 783s # typedef struct 783s # { 783s # GDBusArgInfo parent_struct; 783s # gboolean use_gvariant; 783s # } _ExtendedGDBusArgInfo; 783s # 783s # typedef struct 783s # { 783s # GDBusMethodInfo parent_struct; 783s # const gchar *signal_name; 783s # gboolean pass_fdlist; 783s # } _ExtendedGDBusMethodInfo; 783s # 783s # typedef struct 783s # { 783s # GDBusSignalInfo parent_struct; 783s # const gchar *signal_name; 783s # } _ExtendedGDBusSignalInfo; 783s # 783s # typedef struct 783s # { 783s # GDBusPropertyInfo parent_struct; 783s # const gchar *hyphen_name; 783s # guint use_gvariant : 1; 783s # guint emits_changed_signal : 1; 783s # } _ExtendedGDBusPropertyInfo; 783s # 783s # typedef struct 783s # { 783s # GDBusInterfaceInfo parent_struct; 783s # const gchar *hyphen_name; 783s # } _ExtendedGDBusInterfaceInfo; 783s # 783s # typedef struct 783s # { 783s # const _ExtendedGDBusPropertyInfo *info; 783s # guint prop_id; 783s # GValue orig_value; /* the value before the change */ 783s # } ChangedProperty; 783s # 783s # static void 783s # _changed_property_free (ChangedProperty *data) 783s # { 783s # g_value_unset (&data->orig_value); 783s # g_free (data); 783s # } 783s # 783s # static gboolean 783s # _g_strv_equal0 (gchar **a, gchar **b) 783s # { 783s # gboolean ret = FALSE; 783s # guint n; 783s # if (a == NULL && b == NULL) 783s # { 783s # ret = TRUE; 783s # goto out; 783s # } 783s # if (a == NULL || b == NULL) 783s # goto out; 783s # if (g_strv_length (a) != g_strv_length (b)) 783s # goto out; 783s # for (n = 0; a[n] != NULL; n++) 783s # if (g_strcmp0 (a[n], b[n]) != 0) 783s # goto out; 783s # ret = TRUE; 783s # out: 783s # return ret; 783s # } 783s # 783s # static gboolean 783s # _g_variant_equal0 (GVariant *a, GVariant *b) 783s # { 783s # gboolean ret = FALSE; 783s # if (a == NULL && b == NULL) 783s # { 783s # ret = TRUE; 783s # goto out; 783s # } 783s # if (a == NULL || b == NULL) 783s # goto out; 783s # ret = g_variant_equal (a, b); 783s # out: 783s # return ret; 783s # } 783s # 783s # G_GNUC_UNUSED static gboolean 783s # _g_value_equal (const GValue *a, const GValue *b) 783s # { 783s # gboolean ret = FALSE; 783s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 783s # switch (G_VALUE_TYPE (a)) 783s # { 783s # case G_TYPE_BOOLEAN: 783s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 783s # break; 783s # case G_TYPE_UCHAR: 783s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 783s # break; 783s # case G_TYPE_INT: 783s # ret = (g_value_get_int (a) == g_value_get_int (b)); 783s # break; 783s # case G_TYPE_UINT: 783s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 783s # break; 783s # case G_TYPE_INT64: 783s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 783s # break; 783s # case G_TYPE_UINT64: 783s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 783s # break; 783s # case G_TYPE_DOUBLE: 783s # { 783s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 783s # gdouble da = g_value_get_double (a); 783s # gdouble db = g_value_get_double (b); 783s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 783s # } 783s # break; 783s # case G_TYPE_STRING: 783s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 783s # break; 783s # case G_TYPE_VARIANT: 783s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 783s # break; 783s # default: 783s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 783s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 783s # else 783s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 783s # break; 783s # } 783s # return ret; 783s # } 783s ok 4 __main__.TestCodegen.test_empty_interface_header 783s # tmpdir: /tmp/tmpm9rw0ipi 783s # codegen: /usr/bin/gdbus-codegen 783s # /tmp/tmpm9rw0ipi/tmpj1fz_xnz.xml: 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm9rw0ipi/tmpj1fz_xnz.xml', '--output', '-', '--header'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # Output: /* 783s # * This file is generated by gdbus-codegen, do not modify it. 783s # * 783s # * The license of this code is the same as for the D-Bus interface description 783s # * it was derived from. Note that it links to GLib, so must comply with the 783s # * LGPL linking clauses. 783s # */ 783s # 783s # #ifndef __STDOUT__ 783s # #define __STDOUT__ 783s # 783s # #include 783s # 783s # G_BEGIN_DECLS 783s # 783s # 783s # G_END_DECLS 783s # 783s # #endif /* __STDOUT__ */ 783s ok 5 __main__.TestCodegen.test_empty_interface_info_body 783s # tmpdir: /tmp/tmpwn04067j 783s # codegen: /usr/bin/gdbus-codegen 783s # /tmp/tmpwn04067j/tmps4c93415.xml: 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwn04067j/tmps4c93415.xml', '--output', '-', '--interface-info-body'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # Output: /* 783s # * This file is generated by gdbus-codegen, do not modify it. 783s # * 783s # * The license of this code is the same as for the D-Bus interface description 783s # * it was derived from. Note that it links to GLib, so must comply with the 783s # * LGPL linking clauses. 783s # */ 783s # 783s # #ifdef HAVE_CONFIG_H 783s # # include "config.h" 783s # #endif 783s # 783s # #include 783s ok 6 __main__.TestCodegen.test_empty_interface_info_header 783s # tmpdir: /tmp/tmpb4hvoidv 783s # codegen: /usr/bin/gdbus-codegen 783s # /tmp/tmpb4hvoidv/tmpmkr4xla9.xml: 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb4hvoidv/tmpmkr4xla9.xml', '--output', '-', '--interface-info-header'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # Output: /* 783s # * This file is generated by gdbus-codegen, do not modify it. 783s # * 783s # * The license of this code is the same as for the D-Bus interface description 783s # * it was derived from. Note that it links to GLib, so must comply with the 783s # * LGPL linking clauses. 783s # */ 783s # 783s # #ifndef __STDOUT__ 783s # #define __STDOUT__ 783s # 783s # #include 783s # 783s # G_BEGIN_DECLS 783s # 783s # 783s # G_END_DECLS 783s # 783s # #endif /* __STDOUT__ */ 783s ok 7 __main__.TestCodegen.test_generate_docbook 783s # tmpdir: /tmp/tmplfo2o42f 783s # codegen: /usr/bin/gdbus-codegen 783s # /tmp/tmplfo2o42f/tmpsx331dyb.xml: 783s # 783s # 783s # 783s # 783s # 783s # 783s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplfo2o42f/tmpsx331dyb.xml', '--generate-docbook', 'test'] 783s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 783s # Output: 784s ok 8 __main__.TestCodegen.test_generate_md 784s # tmpdir: /tmp/tmpno6wa0un 784s # codegen: /usr/bin/gdbus-codegen 784s # /tmp/tmpno6wa0un/tmpax3h9c6g.xml: 784s # 784s # 784s # 784s # 784s # 784s # 784s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpno6wa0un/tmpax3h9c6g.xml', '--generate-md', 'test'] 784s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 784s # Output: 784s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 784s # tmpdir: /tmp/tmpxhyo2v6x 784s # codegen: /usr/bin/gdbus-codegen 784s # /tmp/tmpxhyo2v6x/tmp67xgjqcd.xml: 784s # 784s # 784s # 784s # 784s # 784s # 784s # 784s # 784s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxhyo2v6x/tmp67xgjqcd.xml', '--output', '-', '--body'] 784s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 784s # Output: /* 784s # * This file is generated by gdbus-codegen, do not modify it. 784s # * 784s # * The license of this code is the same as for the D-Bus interface description 784s # * it was derived from. Note that it links to GLib, so must comply with the 784s # * LGPL linking clauses. 784s # */ 784s # 784s # #ifdef HAVE_CONFIG_H 784s # # include "config.h" 784s # #endif 784s # 784s # #include 784s # #ifdef G_OS_UNIX 784s # # include 784s # #endif 784s # 784s # #ifdef G_ENABLE_DEBUG 784s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 784s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 784s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 784s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 784s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 784s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 784s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 784s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 784s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 784s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 784s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 784s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 784s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 784s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 784s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 784s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 784s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 784s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 784s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 784s # #else /* !G_ENABLE_DEBUG */ 784s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 784s # * Do not access GValues directly in your code. Instead, use the 784s # * g_value_get_*() functions 784s # */ 784s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 784s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 784s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 784s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 784s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 784s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 784s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 784s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 784s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 784s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 784s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 784s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 784s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 784s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 784s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 784s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 784s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 784s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 784s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 784s # #endif /* !G_ENABLE_DEBUG */ 784s # 784s # typedef struct 784s # { 784s # GDBusArgInfo parent_struct; 784s # gboolean use_gvariant; 784s # } _ExtendedGDBusArgInfo; 784s # 784s # typedef struct 784s # { 784s # GDBusMethodInfo parent_struct; 784s # const gchar *signal_name; 784s # gboolean pass_fdlist; 784s # } _ExtendedGDBusMethodInfo; 784s # 784s # typedef struct 784s # { 784s # GDBusSignalInfo parent_struct; 784s # const gchar *signal_name; 784s # } _ExtendedGDBusSignalInfo; 784s # 784s # typedef struct 784s # { 784s # GDBusPropertyInfo parent_struct; 784s # const gchar *hyphen_name; 784s # guint use_gvariant : 1; 784s # guint emits_changed_signal : 1; 784s # } _ExtendedGDBusPropertyInfo; 784s # 784s # typedef struct 784s # { 784s # GDBusInterfaceInfo parent_struct; 784s # const gchar *hyphen_name; 784s # } _ExtendedGDBusInterfaceInfo; 784s # 784s # typedef struct 784s # { 784s # const _ExtendedGDBusPropertyInfo *info; 784s # guint prop_id; 784s # GValue orig_value; /* the value before the change */ 784s # } ChangedProperty; 784s # 784s # static void 784s # _changed_property_free (ChangedProperty *data) 784s # { 784s # g_value_unset (&data->orig_value); 784s # g_free (data); 784s # } 784s # 784s # static gboolean 784s # _g_strv_equal0 (gchar **a, gchar **b) 784s # { 784s # gboolean ret = FALSE; 784s # guint n; 784s # if (a == NULL && b == NULL) 784s # { 784s # ret = TRUE; 784s # goto out; 784s # } 784s # if (a == NULL || b == NULL) 784s # goto out; 784s # if (g_strv_length (a) != g_strv_length (b)) 784s # goto out; 784s # for (n = 0; a[n] != NULL; n++) 784s # if (g_strcmp0 (a[n], b[n]) != 0) 784s # goto out; 784s # ret = TRUE; 784s # out: 784s # return ret; 784s # } 784s # 784s # static gboolean 784s # _g_variant_equal0 (GVariant *a, GVariant *b) 784s # { 784s # gboolean ret = FALSE; 784s # if (a == NULL && b == NULL) 784s # { 784s # ret = TRUE; 784s # goto out; 784s # } 784s # if (a == NULL || b == NULL) 784s # goto out; 784s # ret = g_variant_equal (a, b); 784s # out: 784s # return ret; 784s # } 784s # 784s # G_GNUC_UNUSED static gboolean 784s # _g_value_equal (const GValue *a, const GValue *b) 784s # { 784s # gboolean ret = FALSE; 784s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 784s # switch (G_VALUE_TYPE (a)) 784s # { 784s # case G_TYPE_BOOLEAN: 784s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 784s # break; 784s # case G_TYPE_UCHAR: 784s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 784s # break; 784s # case G_TYPE_INT: 784s # ret = (g_value_get_int (a) == g_value_get_int (b)); 784s # break; 784s # case G_TYPE_UINT: 784s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 784s # break; 784s # case G_TYPE_INT64: 784s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 784s # break; 784s # case G_TYPE_UINT64: 784s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 784s # break; 784s # case G_TYPE_DOUBLE: 784s # { 784s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 784s # gdouble da = g_value_get_double (a); 784s # gdouble db = g_value_get_double (b); 784s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 784s # } 784s # break; 784s # case G_TYPE_STRING: 784s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 784s # break; 784s # case G_TYPE_VARIANT: 784s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 784s # break; 784s # default: 784s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 784s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 784s # else 784s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 784s # break; 784s # } 784s # return ret; 784s # } 784s # 784s # static void 784s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 784s # GClosure *closure, 784s # GValue *return_value, 784s # unsigned int n_param_values, 784s # const GValue *param_values, 784s # void *invocation_hint G_GNUC_UNUSED, 784s # void *marshal_data) 784s # { 784s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 784s # (void *data1, 784s # GDBusMethodInvocation *arg_method_invocation, 784s # void *data2); 784s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 784s # GCClosure *cc = (GCClosure*) closure; 784s # void *data1, *data2; 784s # gboolean v_return; 784s # 784s # g_return_if_fail (return_value != NULL); 784s # g_return_if_fail (n_param_values == 2); 784s # 784s # if (G_CCLOSURE_SWAP_DATA (closure)) 784s # { 784s # data1 = closure->data; 784s # data2 = g_value_peek_pointer (param_values + 0); 784s # } 784s # else 784s # { 784s # data1 = g_value_peek_pointer (param_values + 0); 784s # data2 = closure->data; 784s # } 784s # 784s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 784s # (marshal_data ? marshal_data : cc->callback); 784s # 784s # v_return = 784s # callback (data1, 784s # g_marshal_value_peek_object (param_values + 1), 784s # data2); 784s # 784s # g_value_set_boolean (return_value, v_return); 784s # } 784s # 784s # /* ------------------------------------------------------------------------ 784s # * Code for interface org.project.CallableIface 784s # * ------------------------------------------------------------------------ 784s # */ 784s # 784s # /** 784s # * SECTION:OrgProjectCallableIface 784s # * @title: OrgProjectCallableIface 784s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 784s # * 784s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 784s # */ 784s # 784s # /* ---- Introspection data for org.project.CallableIface ---- */ 784s # 784s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 784s # { 784s # { 784s # -1, 784s # (gchar *) "SimpleMethod", 784s # NULL, 784s # NULL, 784s # NULL 784s # }, 784s # "handle-simple-method", 784s # FALSE 784s # }; 784s # 784s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 784s # { 784s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 784s # NULL 784s # }; 784s # 784s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 784s # { 784s # { 784s # -1, 784s # (gchar *) "org.project.CallableIface", 784s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 784s # NULL, 784s # NULL, 784s # NULL 784s # }, 784s # "org-project-callable-iface", 784s # }; 784s # 784s # 784s # /** 784s # * org_project_callable_iface_interface_info: 784s # * 784s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 784s # * 784s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 784s # */ 784s # GDBusInterfaceInfo * 784s # org_project_callable_iface_interface_info (void) 784s # { 784s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 784s # } 784s # 784s # /** 784s # * org_project_callable_iface_override_properties: 784s # * @klass: The class structure for a #GObject derived class. 784s # * @property_id_begin: The property id to assign to the first overridden property. 784s # * 784s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 784s # * The properties are overridden in the order they are defined. 784s # * 784s # * Returns: The last property id. 784s # */ 784s # guint 784s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 784s # { 784s # return property_id_begin - 1; 784s # } 784s # 784s # 784s # inline static void 784s # org_project_callable_iface_method_marshal_simple_method ( 784s # GClosure *closure, 784s # GValue *return_value, 784s # unsigned int n_param_values, 784s # const GValue *param_values, 784s # void *invocation_hint, 784s # void *marshal_data) 784s # { 784s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 784s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 784s # } 784s # 784s # 784s # /** 784s # * OrgProjectCallableIface: 784s # * 784s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 784s # */ 784s # 784s # /** 784s # * OrgProjectCallableIfaceIface: 784s # * @parent_iface: The parent interface. 784s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 784s # * 784s # * Virtual table for the D-Bus interface org.project.CallableIface. 784s # */ 784s # 784s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 784s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 784s # 784s # static void 784s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 784s # { 784s # /* GObject signals for incoming D-Bus method calls: */ 784s # /** 784s # * OrgProjectCallableIface::handle-simple-method: 784s # * @object: A #OrgProjectCallableIface. 784s # * @invocation: A #GDBusMethodInvocation. 784s # * 784s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 784s # * 784s # * 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. 784s # * 784s # * 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. 784s # */ 784s # g_signal_new ("handle-simple-method", 784s # G_TYPE_FROM_INTERFACE (iface), 784s # G_SIGNAL_RUN_LAST, 784s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 784s # g_signal_accumulator_true_handled, 784s # NULL, 784s # org_project_callable_iface_method_marshal_simple_method, 784s # G_TYPE_BOOLEAN, 784s # 1, 784s # G_TYPE_DBUS_METHOD_INVOCATION); 784s # 784s # } 784s # 784s # /** 784s # * org_project_callable_iface_call_simple_method: 784s # * @proxy: A #OrgProjectCallableIfaceProxy. 784s # * @cancellable: (nullable): A #GCancellable or %NULL. 784s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 784s # * @user_data: User data to pass to @callback. 784s # * 784s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 784s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 784s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 784s # * 784s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 784s # */ 784s # void 784s # org_project_callable_iface_call_simple_method ( 784s # OrgProjectCallableIface *proxy, 784s # GCancellable *cancellable, 784s # GAsyncReadyCallback callback, 784s # gpointer user_data) 784s # { 784s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 784s # "SimpleMethod", 784s # g_variant_new ("()"), 784s # G_DBUS_CALL_FLAGS_NONE, 784s # -1, 784s # cancellable, 784s # callback, 784s # user_data); 784s # } 784s # 784s # /** 784s # * org_project_callable_iface_call_simple_method_finish: 784s # * @proxy: A #OrgProjectCallableIfaceProxy. 784s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 784s # * @error: Return location for error or %NULL. 784s # * 784s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 784s # * 784s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 784s # */ 784s # gboolean 784s # org_project_callable_iface_call_simple_method_finish ( 784s # OrgProjectCallableIface *proxy, 784s # GAsyncResult *res, 784s # GError **error) 784s # { 784s # GVariant *_ret; 784s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 784s # if (_ret == NULL) 784s # goto _out; 784s # g_variant_get (_ret, 784s # "()"); 784s # g_variant_unref (_ret); 784s # _out: 784s # return _ret != NULL; 784s # } 784s # 784s # /** 784s # * org_project_callable_iface_call_simple_method_sync: 784s # * @proxy: A #OrgProjectCallableIfaceProxy. 784s # * @cancellable: (nullable): A #GCancellable or %NULL. 784s # * @error: Return location for error or %NULL. 784s # * 784s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 784s # * 784s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 784s # * 784s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 784s # */ 784s # gboolean 784s # org_project_callable_iface_call_simple_method_sync ( 784s # OrgProjectCallableIface *proxy, 784s # GCancellable *cancellable, 784s # GError **error) 784s # { 784s # GVariant *_ret; 784s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 784s # "SimpleMethod", 784s # g_variant_new ("()"), 784s # G_DBUS_CALL_FLAGS_NONE, 784s # -1, 784s # cancellable, 784s # error); 784s # if (_ret == NULL) 784s # goto _out; 784s # g_variant_get (_ret, 784s # "()"); 784s # g_variant_unref (_ret); 784s # _out: 784s # return _ret != NULL; 784s # } 784s # 784s # /** 784s # * org_project_callable_iface_complete_simple_method: 784s # * @object: A #OrgProjectCallableIface. 784s # * @invocation: (transfer full): A #GDBusMethodInvocation. 784s # * 784s # * 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. 784s # * 784s # * This method will free @invocation, you cannot use it afterwards. 784s # */ 784s # void 784s # org_project_callable_iface_complete_simple_method ( 784s # OrgProjectCallableIface *object G_GNUC_UNUSED, 784s # GDBusMethodInvocation *invocation) 784s # { 784s # g_dbus_method_invocation_return_value (invocation, 784s # g_variant_new ("()")); 784s # } 784s # 784s # /* ------------------------------------------------------------------------ */ 784s # 784s # /** 784s # * OrgProjectCallableIfaceProxy: 784s # * 784s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 784s # */ 784s # 784s # /** 784s # * OrgProjectCallableIfaceProxyClass: 784s # * @parent_class: The parent class. 784s # * 784s # * Class structure for #OrgProjectCallableIfaceProxy. 784s # */ 784s # 784s # struct _OrgProjectCallableIfaceProxyPrivate 784s # { 784s # GData *qdata; 784s # }; 784s # 784s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 784s # 784s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 784s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 784s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 784s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 784s # 784s # #else 784s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 784s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 784s # 784s # #endif 784s # static void 784s # org_project_callable_iface_proxy_finalize (GObject *object) 784s # { 784s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 784s # g_datalist_clear (&proxy->priv->qdata); 784s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 784s # } 784s # 784s # static void 784s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 784s # guint prop_id G_GNUC_UNUSED, 784s # GValue *value G_GNUC_UNUSED, 784s # GParamSpec *pspec G_GNUC_UNUSED) 784s # { 784s # } 784s # 784s # static void 784s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 784s # guint prop_id G_GNUC_UNUSED, 784s # const GValue *value G_GNUC_UNUSED, 784s # GParamSpec *pspec G_GNUC_UNUSED) 784s # { 784s # } 784s # 784s # static void 784s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 784s # const gchar *sender_name G_GNUC_UNUSED, 784s # const gchar *signal_name, 784s # GVariant *parameters) 784s # { 784s # _ExtendedGDBusSignalInfo *info; 784s # GVariantIter iter; 784s # GVariant *child; 784s # GValue *paramv; 784s # gsize num_params; 784s # gsize n; 784s # guint signal_id; 784s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 784s # if (info == NULL) 784s # return; 784s # num_params = g_variant_n_children (parameters); 784s # paramv = g_new0 (GValue, num_params + 1); 784s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 784s # g_value_set_object (¶mv[0], proxy); 784s # g_variant_iter_init (&iter, parameters); 784s # n = 1; 784s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 784s # { 784s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 784s # if (arg_info->use_gvariant) 784s # { 784s # g_value_init (¶mv[n], G_TYPE_VARIANT); 784s # g_value_set_variant (¶mv[n], child); 784s # n++; 784s # } 784s # else 784s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 784s # g_variant_unref (child); 784s # } 784s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 784s # g_signal_emitv (paramv, signal_id, 0, NULL); 784s # for (n = 0; n < num_params + 1; n++) 784s # g_value_unset (¶mv[n]); 784s # g_free (paramv); 784s # } 784s # 784s # static void 784s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 784s # GVariant *changed_properties, 784s # const gchar *const *invalidated_properties) 784s # { 784s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 784s # guint n; 784s # const gchar *key; 784s # GVariantIter *iter; 784s # _ExtendedGDBusPropertyInfo *info; 784s # g_variant_get (changed_properties, "a{sv}", &iter); 784s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 784s # { 784s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 784s # g_datalist_remove_data (&proxy->priv->qdata, key); 784s # if (info != NULL) 784s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 784s # } 784s # g_variant_iter_free (iter); 784s # for (n = 0; invalidated_properties[n] != NULL; n++) 784s # { 784s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 784s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 784s # if (info != NULL) 784s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 784s # } 784s # } 784s # 784s # static void 784s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 784s # { 784s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 784s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 784s # #else 784s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 784s # #endif 784s # 784s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 784s # } 784s # 784s # static void 784s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 784s # { 784s # GObjectClass *gobject_class; 784s # GDBusProxyClass *proxy_class; 784s # 784s # gobject_class = G_OBJECT_CLASS (klass); 784s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 784s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 784s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 784s # 784s # proxy_class = G_DBUS_PROXY_CLASS (klass); 784s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 784s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 784s # 784s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 784s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 784s # #endif 784s # } 784s # 784s # static void 784s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 784s # { 784s # } 784s # 784s # /** 784s # * org_project_callable_iface_proxy_new: 784s # * @connection: A #GDBusConnection. 784s # * @flags: Flags from the #GDBusProxyFlags enumeration. 784s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 784s # * @object_path: An object path. 784s # * @cancellable: (nullable): A #GCancellable or %NULL. 784s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 784s # * @user_data: User data to pass to @callback. 784s # * 784s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 784s # * 784s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 784s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 784s # * 784s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 784s # */ 784s # void 784s # org_project_callable_iface_proxy_new ( 784s # GDBusConnection *connection, 784s # GDBusProxyFlags flags, 784s # const gchar *name, 784s # const gchar *object_path, 784s # GCancellable *cancellable, 784s # GAsyncReadyCallback callback, 784s # gpointer user_data) 784s # { 784s # 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); 784s # } 784s # 784s # /** 784s # * org_project_callable_iface_proxy_new_finish: 784s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 784s # * @error: Return location for error or %NULL 784s # * 784s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 784s # * 784s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 784s # */ 784s # OrgProjectCallableIface * 784s # org_project_callable_iface_proxy_new_finish ( 784s # GAsyncResult *res, 784s # GError **error) 784s # { 784s # GObject *ret; 784s # GObject *source_object; 784s # source_object = g_async_result_get_source_object (res); 784s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 784s # g_object_unref (source_object); 784s # if (ret != NULL) 784s # return ORG_PROJECT_CALLABLE_IFACE (ret); 784s # else 784s # return NULL; 784s # } 784s # 784s # /** 784s # * org_project_callable_iface_proxy_new_sync: 784s # * @connection: A #GDBusConnection. 784s # * @flags: Flags from the #GDBusProxyFlags enumeration. 784s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 784s # * @object_path: An object path. 784s # * @cancellable: (nullable): A #GCancellable or %NULL. 784s # * @error: Return location for error or %NULL 784s # * 784s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 784s # * 784s # * The calling thread is blocked until a reply is received. 784s # * 784s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 784s # * 784s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 784s # */ 784s # OrgProjectCallableIface * 784s # org_project_callable_iface_proxy_new_sync ( 784s # GDBusConnection *connection, 784s # GDBusProxyFlags flags, 784s # const gchar *name, 784s # const gchar *object_path, 784s # GCancellable *cancellable, 784s # GError **error) 784s # { 784s # GInitable *ret; 784s # 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); 784s # if (ret != NULL) 784s # return ORG_PROJECT_CALLABLE_IFACE (ret); 784s # else 784s # return NULL; 784s # } 784s # 784s # 784s # /** 784s # * org_project_callable_iface_proxy_new_for_bus: 784s # * @bus_type: A #GBusType. 784s # * @flags: Flags from the #GDBusProxyFlags enumeration. 784s # * @name: A bus name (well-known or unique). 784s # * @object_path: An object path. 784s # * @cancellable: (nullable): A #GCancellable or %NULL. 784s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 784s # * @user_data: User data to pass to @callback. 784s # * 784s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 784s # * 784s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 784s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 784s # * 784s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 784s # */ 784s # void 784s # org_project_callable_iface_proxy_new_for_bus ( 784s # GBusType bus_type, 784s # GDBusProxyFlags flags, 784s # const gchar *name, 784s # const gchar *object_path, 784s # GCancellable *cancellable, 784s # GAsyncReadyCallback callback, 784s # gpointer user_data) 784s # { 784s # 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); 784s # } 784s # 784s # /** 784s # * org_project_callable_iface_proxy_new_for_bus_finish: 784s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 784s # * @error: Return location for error or %NULL 784s # * 784s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 784s # * 784s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 784s # */ 784s # OrgProjectCallableIface * 784s # org_project_callable_iface_proxy_new_for_bus_finish ( 784s # GAsyncResult *res, 784s # GError **error) 784s # { 784s # GObject *ret; 784s # GObject *source_object; 784s # source_object = g_async_result_get_source_object (res); 784s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 784s # g_object_unref (source_object); 784s # if (ret != NULL) 784s # return ORG_PROJECT_CALLABLE_IFACE (ret); 784s # else 784s # return NULL; 784s # } 784s # 784s # /** 784s # * org_project_callable_iface_proxy_new_for_bus_sync: 784s # * @bus_type: A #GBusType. 784s # * @flags: Flags from the #GDBusProxyFlags enumeration. 784s # * @name: A bus name (well-known or unique). 784s # * @object_path: An object path. 784s # * @cancellable: (nullable): A #GCancellable or %NULL. 784s # * @error: Return location for error or %NULL 784s # * 784s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 784s # * 784s # * The calling thread is blocked until a reply is received. 784s # * 784s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 784s # * 784s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 784s # */ 784s # OrgProjectCallableIface * 784s # org_project_callable_iface_proxy_new_for_bus_sync ( 784s # GBusType bus_type, 784s # GDBusProxyFlags flags, 784s # const gchar *name, 784s # const gchar *object_path, 784s # GCancellable *cancellable, 784s # GError **error) 784s # { 784s # GInitable *ret; 784s # 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); 784s # if (ret != NULL) 784s # return ORG_PROJECT_CALLABLE_IFACE (ret); 784s # else 784s # return NULL; 784s # } 784s # 784s # 784s # /* ------------------------------------------------------------------------ */ 784s # 784s # /** 784s # * OrgProjectCallableIfaceSkeleton: 784s # * 784s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 784s # */ 784s # 784s # /** 784s # * OrgProjectCallableIfaceSkeletonClass: 784s # * @parent_class: The parent class. 784s # * 784s # * Class structure for #OrgProjectCallableIfaceSkeleton. 784s # */ 784s # 784s # struct _OrgProjectCallableIfaceSkeletonPrivate 784s # { 784s # GValue *properties; 784s # GList *changed_properties; 784s # GSource *changed_properties_idle_source; 784s # GMainContext *context; 784s # GMutex lock; 784s # }; 784s # 784s # static void 784s # _org_project_callable_iface_skeleton_handle_method_call ( 784s # GDBusConnection *connection G_GNUC_UNUSED, 784s # const gchar *sender G_GNUC_UNUSED, 784s # const gchar *object_path G_GNUC_UNUSED, 784s # const gchar *interface_name, 784s # const gchar *method_name, 784s # GVariant *parameters, 784s # GDBusMethodInvocation *invocation, 784s # gpointer user_data) 784s # { 784s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 784s # _ExtendedGDBusMethodInfo *info; 784s # GVariantIter iter; 784s # GVariant *child; 784s # GValue *paramv; 784s # gsize num_params; 784s # guint num_extra; 784s # gsize n; 784s # guint signal_id; 784s # GValue return_value = G_VALUE_INIT; 784s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 784s # g_assert (info != NULL); 784s # num_params = g_variant_n_children (parameters); 784s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 784s # n = 0; 784s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 784s # g_value_set_object (¶mv[n++], skeleton); 784s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 784s # g_value_set_object (¶mv[n++], invocation); 784s # if (info->pass_fdlist) 784s # { 784s # #ifdef G_OS_UNIX 784s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 784s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 784s # #else 784s # g_assert_not_reached (); 784s # #endif 784s # } 784s # g_variant_iter_init (&iter, parameters); 784s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 784s # { 784s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 784s # if (arg_info->use_gvariant) 784s # { 784s # g_value_init (¶mv[n], G_TYPE_VARIANT); 784s # g_value_set_variant (¶mv[n], child); 784s # n++; 784s # } 784s # else 784s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 784s # g_variant_unref (child); 784s # } 784s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 784s # g_value_init (&return_value, G_TYPE_BOOLEAN); 784s # g_signal_emitv (paramv, signal_id, 0, &return_value); 784s # if (!g_value_get_boolean (&return_value)) 784s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 784s # g_value_unset (&return_value); 784s # for (n = 0; n < num_params + num_extra; n++) 784s # g_value_unset (¶mv[n]); 784s # g_free (paramv); 784s # } 784s # 784s # static GVariant * 784s # _org_project_callable_iface_skeleton_handle_get_property ( 784s # GDBusConnection *connection G_GNUC_UNUSED, 784s # const gchar *sender G_GNUC_UNUSED, 784s # const gchar *object_path G_GNUC_UNUSED, 784s # const gchar *interface_name G_GNUC_UNUSED, 784s # const gchar *property_name, 784s # GError **error, 784s # gpointer user_data) 784s # { 784s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 784s # GValue value = G_VALUE_INIT; 784s # GParamSpec *pspec; 784s # _ExtendedGDBusPropertyInfo *info; 784s # GVariant *ret; 784s # ret = NULL; 784s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 784s # g_assert (info != NULL); 784s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 784s # if (pspec == NULL) 784s # { 784s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 784s # } 784s # else 784s # { 784s # g_value_init (&value, pspec->value_type); 784s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 784s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 784s # g_value_unset (&value); 784s # } 784s # return ret; 784s # } 784s # 784s # static gboolean 784s # _org_project_callable_iface_skeleton_handle_set_property ( 784s # GDBusConnection *connection G_GNUC_UNUSED, 784s # const gchar *sender G_GNUC_UNUSED, 784s # const gchar *object_path G_GNUC_UNUSED, 784s # const gchar *interface_name G_GNUC_UNUSED, 784s # const gchar *property_name, 784s # GVariant *variant, 784s # GError **error, 784s # gpointer user_data) 784s # { 784s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 784s # GValue value = G_VALUE_INIT; 784s # GParamSpec *pspec; 784s # _ExtendedGDBusPropertyInfo *info; 784s # gboolean ret; 784s # ret = FALSE; 784s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 784s # g_assert (info != NULL); 784s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 784s # if (pspec == NULL) 784s # { 784s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 784s # } 784s # else 784s # { 784s # if (info->use_gvariant) 784s # g_value_set_variant (&value, variant); 784s # else 784s # g_dbus_gvariant_to_gvalue (variant, &value); 784s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 784s # g_value_unset (&value); 784s # ret = TRUE; 784s # } 784s # return ret; 784s # } 784s # 784s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 784s # { 784s # _org_project_callable_iface_skeleton_handle_method_call, 784s # _org_project_callable_iface_skeleton_handle_get_property, 784s # _org_project_callable_iface_skeleton_handle_set_property, 784s # {NULL} 784s # }; 784s # 784s # static GDBusInterfaceInfo * 784s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 784s # { 784s # return org_project_callable_iface_interface_info (); 784s # } 784s # 784s # static GDBusInterfaceVTable * 784s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 784s # { 784s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 784s # } 784s # 784s # static GVariant * 784s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 784s # { 784s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 784s # 784s # GVariantBuilder builder; 784s # guint n; 784s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 784s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 784s # goto out; 784s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 784s # { 784s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 784s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 784s # { 784s # GVariant *value; 784s # 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); 784s # if (value != NULL) 784s # { 784s # g_variant_take_ref (value); 784s # g_variant_builder_add (&builder, "{sv}", info->name, value); 784s # g_variant_unref (value); 784s # } 784s # } 784s # } 784s # out: 784s # return g_variant_builder_end (&builder); 784s # } 784s # 784s # static void 784s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 784s # { 784s # } 784s # 784s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 784s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 784s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 784s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 784s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 784s # 784s # #else 784s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 784s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 784s # 784s # #endif 784s # static void 784s # org_project_callable_iface_skeleton_finalize (GObject *object) 784s # { 784s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 784s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 784s # if (skeleton->priv->changed_properties_idle_source != NULL) 784s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 784s # g_main_context_unref (skeleton->priv->context); 784s # g_mutex_clear (&skeleton->priv->lock); 784s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 784s # } 784s # 784s # static void 784s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 784s # { 784s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 784s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 784s # #else 784s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 784s # #endif 784s # 784s # g_mutex_init (&skeleton->priv->lock); 784s # skeleton->priv->context = g_main_context_ref_thread_default (); 784s # } 784s # 784s # static void 784s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 784s # { 784s # GObjectClass *gobject_class; 784s # GDBusInterfaceSkeletonClass *skeleton_class; 784s # 784s # gobject_class = G_OBJECT_CLASS (klass); 784s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 784s # 784s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 784s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 784s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 784s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 784s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 784s # 784s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 784s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 784s # #endif 784s # } 784s # 784s # static void 784s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 784s # { 784s # } 784s # 784s # /** 784s # * org_project_callable_iface_skeleton_new: 784s # * 784s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 784s # * 784s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 784s # */ 784s # OrgProjectCallableIface * 784s # org_project_callable_iface_skeleton_new (void) 784s # { 784s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 784s # } 784s # 784s # /* ------------------------------------------------------------------------ 784s # * Code for interface org.project.OtherCallableIface 784s # * ------------------------------------------------------------------------ 784s # */ 784s # 784s # /** 784s # * SECTION:OrgProjectOtherCallableIface 784s # * @title: OrgProjectOtherCallableIface 784s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 784s # * 784s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 784s # */ 784s # 784s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 784s # 784s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 784s # { 784s # { 784s # -1, 784s # (gchar *) "SimpleMethod", 784s # NULL, 784s # NULL, 784s # NULL 784s # }, 784s # "handle-simple-method", 784s # FALSE 784s # }; 784s # 784s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 784s # { 784s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 784s # NULL 784s # }; 784s # 784s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 784s # { 784s # { 784s # -1, 784s # (gchar *) "org.project.OtherCallableIface", 784s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 784s # NULL, 784s # NULL, 784s # NULL 784s # }, 784s # "org-project-other-callable-iface", 784s # }; 784s # 784s # 784s # /** 784s # * org_project_other_callable_iface_interface_info: 784s # * 784s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 784s # * 784s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 784s # */ 784s # GDBusInterfaceInfo * 784s # org_project_other_callable_iface_interface_info (void) 784s # { 784s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 784s # } 784s # 784s # /** 784s # * org_project_other_callable_iface_override_properties: 784s # * @klass: The class structure for a #GObject derived class. 784s # * @property_id_begin: The property id to assign to the first overridden property. 784s # * 784s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 784s # * The properties are overridden in the order they are defined. 784s # * 784s # * Returns: The last property id. 784s # */ 784s # guint 784s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 784s # { 784s # return property_id_begin - 1; 784s # } 784s # 784s # 784s # inline static void 784s # org_project_other_callable_iface_method_marshal_simple_method ( 784s # GClosure *closure, 784s # GValue *return_value, 784s # unsigned int n_param_values, 784s # const GValue *param_values, 784s # void *invocation_hint, 784s # void *marshal_data) 784s # { 784s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 784s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 784s # } 784s # 784s # 784s # /** 784s # * OrgProjectOtherCallableIface: 784s # * 784s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 784s # */ 784s # 784s # /** 784s # * OrgProjectOtherCallableIfaceIface: 784s # * @parent_iface: The parent interface. 784s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 784s # * 784s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 784s # */ 784s # 784s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 784s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 784s # 784s # static void 784s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 784s # { 784s # /* GObject signals for incoming D-Bus method calls: */ 784s # /** 784s # * OrgProjectOtherCallableIface::handle-simple-method: 784s # * @object: A #OrgProjectOtherCallableIface. 784s # * @invocation: A #GDBusMethodInvocation. 784s # * 784s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 784s # * 784s # * 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. 784s # * 784s # * 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. 784s # */ 784s # g_signal_new ("handle-simple-method", 784s # G_TYPE_FROM_INTERFACE (iface), 784s # G_SIGNAL_RUN_LAST, 784s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 784s # g_signal_accumulator_true_handled, 784s # NULL, 784s # org_project_other_callable_iface_method_marshal_simple_method, 784s # G_TYPE_BOOLEAN, 784s # 1, 784s # G_TYPE_DBUS_METHOD_INVOCATION); 784s # 784s # } 784s # 784s # /** 784s # * org_project_other_callable_iface_call_simple_method: 784s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 784s # * @cancellable: (nullable): A #GCancellable or %NULL. 784s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 784s # * @user_data: User data to pass to @callback. 784s # * 784s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 784s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 784s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 784s # * 784s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 784s # */ 784s # void 784s # org_project_other_callable_iface_call_simple_method ( 784s # OrgProjectOtherCallableIface *proxy, 784s # GCancellable *cancellable, 784s # GAsyncReadyCallback callback, 784s # gpointer user_data) 784s # { 784s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 784s # "SimpleMethod", 784s # g_variant_new ("()"), 784s # G_DBUS_CALL_FLAGS_NONE, 784s # -1, 784s # cancellable, 784s # callback, 784s # user_data); 784s # } 784s # 784s # /** 784s # * org_project_other_callable_iface_call_simple_method_finish: 784s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 784s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 784s # * @error: Return location for error or %NULL. 784s # * 784s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 784s # * 784s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 784s # */ 784s # gboolean 784s # org_project_other_callable_iface_call_simple_method_finish ( 784s # OrgProjectOtherCallableIface *proxy, 784s # GAsyncResult *res, 784s # GError **error) 784s # { 784s # GVariant *_ret; 784s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 784s # if (_ret == NULL) 784s # goto _out; 784s # g_variant_get (_ret, 784s # "()"); 784s # g_variant_unref (_ret); 784s # _out: 784s # return _ret != NULL; 784s # } 784s # 784s # /** 784s # * org_project_other_callable_iface_call_simple_method_sync: 784s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 784s # * @cancellable: (nullable): A #GCancellable or %NULL. 784s # * @error: Return location for error or %NULL. 784s # * 784s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 784s # * 784s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 784s # * 784s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 784s # */ 784s # gboolean 784s # org_project_other_callable_iface_call_simple_method_sync ( 784s # OrgProjectOtherCallableIface *proxy, 784s # GCancellable *cancellable, 784s # GError **error) 784s # { 784s # GVariant *_ret; 784s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 784s # "SimpleMethod", 784s # g_variant_new ("()"), 784s # G_DBUS_CALL_FLAGS_NONE, 784s # -1, 784s # cancellable, 784s # error); 784s # if (_ret == NULL) 784s # goto _out; 784s # g_variant_get (_ret, 784s # "()"); 784s # g_variant_unref (_ret); 784s # _out: 784s # return _ret != NULL; 784s # } 784s # 784s # /** 784s # * org_project_other_callable_iface_complete_simple_method: 784s # * @object: A #OrgProjectOtherCallableIface. 784s # * @invocation: (transfer full): A #GDBusMethodInvocation. 784s # * 784s # * 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. 784s # * 784s # * This method will free @invocation, you cannot use it afterwards. 784s # */ 784s # void 784s # org_project_other_callable_iface_complete_simple_method ( 784s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 784s # GDBusMethodInvocation *invocation) 784s # { 784s # g_dbus_method_invocation_return_value (invocation, 784s # g_variant_new ("()")); 784s # } 784s # 784s # /* ------------------------------------------------------------------------ */ 784s # 784s # /** 784s # * OrgProjectOtherCallableIfaceProxy: 784s # * 784s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 784s # */ 784s # 784s # /** 784s # * OrgProjectOtherCallableIfaceProxyClass: 784s # * @parent_class: The parent class. 784s # * 784s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 784s # */ 784s # 784s # struct _OrgProjectOtherCallableIfaceProxyPrivate 784s # { 784s # GData *qdata; 784s # }; 784s # 784s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 784s # 784s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 784s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 784s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 784s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 784s # 784s # #else 784s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 784s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 784s # 784s # #endif 784s # static void 784s # org_project_other_callable_iface_proxy_finalize (GObject *object) 784s # { 784s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 784s # g_datalist_clear (&proxy->priv->qdata); 784s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 784s # } 784s # 784s # static void 784s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 784s # guint prop_id G_GNUC_UNUSED, 784s # GValue *value G_GNUC_UNUSED, 784s # GParamSpec *pspec G_GNUC_UNUSED) 784s # { 784s # } 784s # 784s # static void 784s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 784s # guint prop_id G_GNUC_UNUSED, 784s # const GValue *value G_GNUC_UNUSED, 784s # GParamSpec *pspec G_GNUC_UNUSED) 784s # { 784s # } 784s # 784s # static void 784s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 784s # const gchar *sender_name G_GNUC_UNUSED, 784s # const gchar *signal_name, 784s # GVariant *parameters) 784s # { 784s # _ExtendedGDBusSignalInfo *info; 784s # GVariantIter iter; 784s # GVariant *child; 784s # GValue *paramv; 784s # gsize num_params; 784s # gsize n; 784s # guint signal_id; 784s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 784s # if (info == NULL) 784s # return; 784s # num_params = g_variant_n_children (parameters); 784s # paramv = g_new0 (GValue, num_params + 1); 784s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 784s # g_value_set_object (¶mv[0], proxy); 784s # g_variant_iter_init (&iter, parameters); 784s # n = 1; 784s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 784s # { 784s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 784s # if (arg_info->use_gvariant) 784s # { 784s # g_value_init (¶mv[n], G_TYPE_VARIANT); 784s # g_value_set_variant (¶mv[n], child); 784s # n++; 784s # } 784s # else 784s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 784s # g_variant_unref (child); 784s # } 784s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 784s # g_signal_emitv (paramv, signal_id, 0, NULL); 784s # for (n = 0; n < num_params + 1; n++) 784s # g_value_unset (¶mv[n]); 784s # g_free (paramv); 784s # } 784s # 784s # static void 784s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 784s # GVariant *changed_properties, 784s # const gchar *const *invalidated_properties) 784s # { 784s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 784s # guint n; 784s # const gchar *key; 784s # GVariantIter *iter; 784s # _ExtendedGDBusPropertyInfo *info; 784s # g_variant_get (changed_properties, "a{sv}", &iter); 784s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 784s # { 784s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 784s # g_datalist_remove_data (&proxy->priv->qdata, key); 784s # if (info != NULL) 784s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 784s # } 784s # g_variant_iter_free (iter); 784s # for (n = 0; invalidated_properties[n] != NULL; n++) 784s # { 784s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 784s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 784s # if (info != NULL) 784s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 784s # } 784s # } 784s # 784s # static void 784s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 784s # { 784s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 784s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 784s # #else 784s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 784s # #endif 784s # 784s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 784s # } 784s # 784s # static void 784s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 784s # { 784s # GObjectClass *gobject_class; 784s # GDBusProxyClass *proxy_class; 784s # 784s # gobject_class = G_OBJECT_CLASS (klass); 784s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 784s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 784s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 784s # 784s # proxy_class = G_DBUS_PROXY_CLASS (klass); 784s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 784s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 784s # 784s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 784s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 784s # #endif 784s # } 784s # 784s # static void 784s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 784s # { 784s # } 784s # 784s # /** 784s # * org_project_other_callable_iface_proxy_new: 784s # * @connection: A #GDBusConnection. 784s # * @flags: Flags from the #GDBusProxyFlags enumeration. 784s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 784s # * @object_path: An object path. 784s # * @cancellable: (nullable): A #GCancellable or %NULL. 784s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 784s # * @user_data: User data to pass to @callback. 784s # * 784s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 784s # * 784s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 784s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 784s # * 784s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 784s # */ 784s # void 784s # org_project_other_callable_iface_proxy_new ( 784s # GDBusConnection *connection, 784s # GDBusProxyFlags flags, 784s # const gchar *name, 784s # const gchar *object_path, 784s # GCancellable *cancellable, 784s # GAsyncReadyCallback callback, 784s # gpointer user_data) 784s # { 784s # 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); 784s # } 784s # 784s # /** 784s # * org_project_other_callable_iface_proxy_new_finish: 784s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 784s # * @error: Return location for error or %NULL 784s # * 784s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 784s # * 784s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 784s # */ 784s # OrgProjectOtherCallableIface * 784s # org_project_other_callable_iface_proxy_new_finish ( 784s # GAsyncResult *res, 784s # GError **error) 784s # { 784s # GObject *ret; 784s # GObject *source_object; 784s # source_object = g_async_result_get_source_object (res); 784s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 784s # g_object_unref (source_object); 784s # if (ret != NULL) 784s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 784s # else 784s # return NULL; 784s # } 784s # 784s # /** 784s # * org_project_other_callable_iface_proxy_new_sync: 784s # * @connection: A #GDBusConnection. 784s # * @flags: Flags from the #GDBusProxyFlags enumeration. 784s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 784s # * @object_path: An object path. 784s # * @cancellable: (nullable): A #GCancellable or %NULL. 784s # * @error: Return location for error or %NULL 784s # * 784s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 784s # * 784s # * The calling thread is blocked until a reply is received. 784s # * 784s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 784s # * 784s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 784s # */ 784s # OrgProjectOtherCallableIface * 784s # org_project_other_callable_iface_proxy_new_sync ( 784s # GDBusConnection *connection, 784s # GDBusProxyFlags flags, 784s # const gchar *name, 784s # const gchar *object_path, 784s # GCancellable *cancellable, 784s # GError **error) 784s # { 784s # GInitable *ret; 784s # 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); 784s # if (ret != NULL) 784s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 784s # else 784s # return NULL; 784s # } 784s # 784s # 784s # /** 784s # * org_project_other_callable_iface_proxy_new_for_bus: 784s # * @bus_type: A #GBusType. 784s # * @flags: Flags from the #GDBusProxyFlags enumeration. 784s # * @name: A bus name (well-known or unique). 784s # * @object_path: An object path. 784s # * @cancellable: (nullable): A #GCancellable or %NULL. 784s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 784s # * @user_data: User data to pass to @callback. 784s # * 784s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 784s # * 784s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 784s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 784s # * 784s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 784s # */ 784s # void 784s # org_project_other_callable_iface_proxy_new_for_bus ( 784s # GBusType bus_type, 784s # GDBusProxyFlags flags, 784s # const gchar *name, 784s # const gchar *object_path, 784s # GCancellable *cancellable, 784s # GAsyncReadyCallback callback, 784s # gpointer user_data) 784s # { 784s # 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); 784s # } 784s # 784s # /** 784s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 784s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 784s # * @error: Return location for error or %NULL 784s # * 784s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 784s # * 784s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 784s # */ 784s # OrgProjectOtherCallableIface * 784s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 784s # GAsyncResult *res, 784s # GError **error) 784s # { 784s # GObject *ret; 784s # GObject *source_object; 784s # source_object = g_async_result_get_source_object (res); 784s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 784s # g_object_unref (source_object); 784s # if (ret != NULL) 784s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 784s # else 784s # return NULL; 784s # } 784s # 784s # /** 784s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 784s # * @bus_type: A #GBusType. 784s # * @flags: Flags from the #GDBusProxyFlags enumeration. 784s # * @name: A bus name (well-known or unique). 784s # * @object_path: An object path. 784s # * @cancellable: (nullable): A #GCancellable or %NULL. 784s # * @error: Return location for error or %NULL 784s # * 784s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 784s # * 784s # * The calling thread is blocked until a reply is received. 784s # * 784s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 784s # * 784s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 784s # */ 784s # OrgProjectOtherCallableIface * 784s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 784s # GBusType bus_type, 784s # GDBusProxyFlags flags, 784s # const gchar *name, 784s # const gchar *object_path, 784s # GCancellable *cancellable, 784s # GError **error) 784s # { 784s # GInitable *ret; 784s # 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); 784s # if (ret != NULL) 784s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 784s # else 784s # return NULL; 784s # } 784s # 784s # 784s # /* ------------------------------------------------------------------------ */ 784s # 784s # /** 784s # * OrgProjectOtherCallableIfaceSkeleton: 784s # * 784s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 784s # */ 784s # 784s # /** 784s # * OrgProjectOtherCallableIfaceSkeletonClass: 784s # * @parent_class: The parent class. 784s # * 784s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 784s # */ 784s # 784s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 784s # { 784s # GValue *properties; 784s # GList *changed_properties; 784s # GSource *changed_properties_idle_source; 784s # GMainContext *context; 784s # GMutex lock; 784s # }; 784s # 784s # static void 784s # _org_project_other_callable_iface_skeleton_handle_method_call ( 784s # GDBusConnection *connection G_GNUC_UNUSED, 784s # const gchar *sender G_GNUC_UNUSED, 784s # const gchar *object_path G_GNUC_UNUSED, 784s # const gchar *interface_name, 784s # const gchar *method_name, 784s # GVariant *parameters, 784s # GDBusMethodInvocation *invocation, 784s # gpointer user_data) 784s # { 784s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 784s # _ExtendedGDBusMethodInfo *info; 784s # GVariantIter iter; 784s # GVariant *child; 784s # GValue *paramv; 784s # gsize num_params; 784s # guint num_extra; 784s # gsize n; 784s # guint signal_id; 784s # GValue return_value = G_VALUE_INIT; 784s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 784s # g_assert (info != NULL); 784s # num_params = g_variant_n_children (parameters); 784s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 784s # n = 0; 784s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 784s # g_value_set_object (¶mv[n++], skeleton); 784s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 784s # g_value_set_object (¶mv[n++], invocation); 784s # if (info->pass_fdlist) 784s # { 784s # #ifdef G_OS_UNIX 784s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 784s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 784s # #else 784s # g_assert_not_reached (); 784s # #endif 784s # } 784s # g_variant_iter_init (&iter, parameters); 784s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 784s # { 784s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 784s # if (arg_info->use_gvariant) 784s # { 784s # g_value_init (¶mv[n], G_TYPE_VARIANT); 784s # g_value_set_variant (¶mv[n], child); 784s # n++; 784s # } 784s # else 784s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 784s # g_variant_unref (child); 784s # } 784s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 784s # g_value_init (&return_value, G_TYPE_BOOLEAN); 784s # g_signal_emitv (paramv, signal_id, 0, &return_value); 784s # if (!g_value_get_boolean (&return_value)) 784s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 784s # g_value_unset (&return_value); 784s # for (n = 0; n < num_params + num_extra; n++) 784s # g_value_unset (¶mv[n]); 784s # g_free (paramv); 784s # } 784s # 784s # static GVariant * 784s # _org_project_other_callable_iface_skeleton_handle_get_property ( 784s # GDBusConnection *connection G_GNUC_UNUSED, 784s # const gchar *sender G_GNUC_UNUSED, 784s # const gchar *object_path G_GNUC_UNUSED, 784s # const gchar *interface_name G_GNUC_UNUSED, 784s # const gchar *property_name, 784s # GError **error, 784s # gpointer user_data) 784s # { 784s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 784s # GValue value = G_VALUE_INIT; 784s # GParamSpec *pspec; 784s # _ExtendedGDBusPropertyInfo *info; 784s # GVariant *ret; 784s # ret = NULL; 784s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 784s # g_assert (info != NULL); 784s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 784s # if (pspec == NULL) 784s # { 784s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 784s # } 784s # else 784s # { 784s # g_value_init (&value, pspec->value_type); 784s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 784s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 784s # g_value_unset (&value); 784s # } 784s # return ret; 784s # } 784s # 784s # static gboolean 784s # _org_project_other_callable_iface_skeleton_handle_set_property ( 784s # GDBusConnection *connection G_GNUC_UNUSED, 784s # const gchar *sender G_GNUC_UNUSED, 784s # const gchar *object_path G_GNUC_UNUSED, 784s # const gchar *interface_name G_GNUC_UNUSED, 784s # const gchar *property_name, 784s # GVariant *variant, 784s # GError **error, 784s # gpointer user_data) 784s # { 784s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 784s # GValue value = G_VALUE_INIT; 784s # GParamSpec *pspec; 784s # _ExtendedGDBusPropertyInfo *info; 784s # gboolean ret; 784s # ret = FALSE; 784s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 784s # g_assert (info != NULL); 784s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 784s # if (pspec == NULL) 784s # { 784s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 784s # } 784s # else 784s # { 784s # if (info->use_gvariant) 784s # g_value_set_variant (&value, variant); 784s # else 784s # g_dbus_gvariant_to_gvalue (variant, &value); 784s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 784s # g_value_unset (&value); 784s # ret = TRUE; 784s # } 784s # return ret; 784s # } 784s # 784s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 784s # { 784s # _org_project_other_callable_iface_skeleton_handle_method_call, 784s # _org_project_other_callable_iface_skeleton_handle_get_property, 784s # _org_project_other_callable_iface_skeleton_handle_set_property, 784s # {NULL} 784s # }; 784s # 784s # static GDBusInterfaceInfo * 784s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 784s # { 784s # return org_project_other_callable_iface_interface_info (); 784s # } 784s # 784s # static GDBusInterfaceVTable * 784s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 784s # { 784s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 784s # } 784s # 784s # static GVariant * 784s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 784s # { 784s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 784s # 784s # GVariantBuilder builder; 784s # guint n; 784s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 784s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 784s # goto out; 784s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 784s # { 784s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 784s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 784s # { 784s # GVariant *value; 784s # 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); 784s # if (value != NULL) 784s # { 784s # g_variant_take_ref (value); 784s # g_variant_builder_add (&builder, "{sv}", info->name, value); 784s # g_variant_unref (value); 784s # } 784s # } 784s # } 784s # out: 784s # return g_variant_builder_end (&builder); 784s # } 784s # 784s # static void 784s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 784s # { 784s # } 784s # 784s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 784s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 784s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 784s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 784s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 784s # 784s # #else 784s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 784s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 784s # 784s # #endif 784s # static void 784s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 784s # { 784s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 784s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 784s # if (skeleton->priv->changed_properties_idle_source != NULL) 784s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 784s # g_main_context_unref (skeleton->priv->context); 784s # g_mutex_clear (&skeleton->priv->lock); 784s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 784s # } 784s # 784s # static void 784s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 784s # { 784s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 784s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 784s # #else 784s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 784s # #endif 784s # 784s # g_mutex_init (&skeleton->priv->lock); 784s # skeleton->priv->context = g_main_context_ref_thread_default (); 784s # } 784s # 784s # static void 784s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 784s # { 784s # GObjectClass *gobject_class; 784s # GDBusInterfaceSkeletonClass *skeleton_class; 784s # 784s # gobject_class = G_OBJECT_CLASS (klass); 784s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 784s # 784s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 784s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 784s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 784s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 784s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 784s # 784s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 784s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 784s # #endif 784s # } 784s # 784s # static void 784s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 784s # { 784s # } 784s # 784s # /** 784s # * org_project_other_callable_iface_skeleton_new: 784s # * 784s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 784s # * 784s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 784s # */ 784s # OrgProjectOtherCallableIface * 784s # org_project_other_callable_iface_skeleton_new (void) 784s # { 784s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 784s # } 785s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 785s # tmpdir: /tmp/tmpkasma2_h 785s # codegen: /usr/bin/gdbus-codegen 785s # /tmp/tmpkasma2_h/tmpsczpajvy.xml: 785s # 785s # 785s # 785s # 785s # 785s # 785s # 785s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkasma2_h/tmpsczpajvy.xml', '--output', '-', '--body'] 785s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 785s # Output: /* 785s # * This file is generated by gdbus-codegen, do not modify it. 785s # * 785s # * The license of this code is the same as for the D-Bus interface description 785s # * it was derived from. Note that it links to GLib, so must comply with the 785s # * LGPL linking clauses. 785s # */ 785s # 785s # #ifdef HAVE_CONFIG_H 785s # # include "config.h" 785s # #endif 785s # 785s # #include 785s # #ifdef G_OS_UNIX 785s # # include 785s # #endif 785s # 785s # #ifdef G_ENABLE_DEBUG 785s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 785s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 785s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 785s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 785s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 785s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 785s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 785s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 785s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 785s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 785s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 785s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 785s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 785s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 785s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 785s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 785s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 785s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 785s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 785s # #else /* !G_ENABLE_DEBUG */ 785s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 785s # * Do not access GValues directly in your code. Instead, use the 785s # * g_value_get_*() functions 785s # */ 785s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 785s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 785s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 785s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 785s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 785s # #endif /* !G_ENABLE_DEBUG */ 785s # 785s # typedef struct 785s # { 785s # GDBusArgInfo parent_struct; 785s # gboolean use_gvariant; 785s # } _ExtendedGDBusArgInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusMethodInfo parent_struct; 785s # const gchar *signal_name; 785s # gboolean pass_fdlist; 785s # } _ExtendedGDBusMethodInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusSignalInfo parent_struct; 785s # const gchar *signal_name; 785s # } _ExtendedGDBusSignalInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusPropertyInfo parent_struct; 785s # const gchar *hyphen_name; 785s # guint use_gvariant : 1; 785s # guint emits_changed_signal : 1; 785s # } _ExtendedGDBusPropertyInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusInterfaceInfo parent_struct; 785s # const gchar *hyphen_name; 785s # } _ExtendedGDBusInterfaceInfo; 785s # 785s # typedef struct 785s # { 785s # const _ExtendedGDBusPropertyInfo *info; 785s # guint prop_id; 785s # GValue orig_value; /* the value before the change */ 785s # } ChangedProperty; 785s # 785s # static void 785s # _changed_property_free (ChangedProperty *data) 785s # { 785s # g_value_unset (&data->orig_value); 785s # g_free (data); 785s # } 785s # 785s # static gboolean 785s # _g_strv_equal0 (gchar **a, gchar **b) 785s # { 785s # gboolean ret = FALSE; 785s # guint n; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # if (g_strv_length (a) != g_strv_length (b)) 785s # goto out; 785s # for (n = 0; a[n] != NULL; n++) 785s # if (g_strcmp0 (a[n], b[n]) != 0) 785s # goto out; 785s # ret = TRUE; 785s # out: 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _g_variant_equal0 (GVariant *a, GVariant *b) 785s # { 785s # gboolean ret = FALSE; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # ret = g_variant_equal (a, b); 785s # out: 785s # return ret; 785s # } 785s # 785s # G_GNUC_UNUSED static gboolean 785s # _g_value_equal (const GValue *a, const GValue *b) 785s # { 785s # gboolean ret = FALSE; 785s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 785s # switch (G_VALUE_TYPE (a)) 785s # { 785s # case G_TYPE_BOOLEAN: 785s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 785s # break; 785s # case G_TYPE_UCHAR: 785s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 785s # break; 785s # case G_TYPE_INT: 785s # ret = (g_value_get_int (a) == g_value_get_int (b)); 785s # break; 785s # case G_TYPE_UINT: 785s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 785s # break; 785s # case G_TYPE_INT64: 785s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 785s # break; 785s # case G_TYPE_UINT64: 785s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 785s # break; 785s # case G_TYPE_DOUBLE: 785s # { 785s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 785s # gdouble da = g_value_get_double (a); 785s # gdouble db = g_value_get_double (b); 785s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 785s # } 785s # break; 785s # case G_TYPE_STRING: 785s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 785s # break; 785s # case G_TYPE_VARIANT: 785s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 785s # break; 785s # default: 785s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 785s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 785s # else 785s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 785s # break; 785s # } 785s # return ret; 785s # } 785s # 785s # static void 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint G_GNUC_UNUSED, 785s # void *marshal_data) 785s # { 785s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 785s # (void *data1, 785s # GDBusMethodInvocation *arg_method_invocation, 785s # gboolean arg_arg_b, 785s # void *data2); 785s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 785s # GCClosure *cc = (GCClosure*) closure; 785s # void *data1, *data2; 785s # gboolean v_return; 785s # 785s # g_return_if_fail (return_value != NULL); 785s # g_return_if_fail (n_param_values == 3); 785s # 785s # if (G_CCLOSURE_SWAP_DATA (closure)) 785s # { 785s # data1 = closure->data; 785s # data2 = g_value_peek_pointer (param_values + 0); 785s # } 785s # else 785s # { 785s # data1 = g_value_peek_pointer (param_values + 0); 785s # data2 = closure->data; 785s # } 785s # 785s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 785s # (marshal_data ? marshal_data : cc->callback); 785s # 785s # v_return = 785s # callback (data1, 785s # g_marshal_value_peek_object (param_values + 1), 785s # g_marshal_value_peek_boolean (param_values + 2), 785s # data2); 785s # 785s # g_value_set_boolean (return_value, v_return); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ 785s # * Code for interface org.project.UsefulInterface 785s # * ------------------------------------------------------------------------ 785s # */ 785s # 785s # /** 785s # * SECTION:OrgProjectUsefulInterface 785s # * @title: OrgProjectUsefulInterface 785s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 785s # * 785s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 785s # */ 785s # 785s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 785s # 785s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 785s # { 785s # { 785s # -1, 785s # (gchar *) "arg_b", 785s # (gchar *) "b", 785s # NULL 785s # }, 785s # FALSE 785s # }; 785s # 785s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 785s # { 785s # { 785s # -1, 785s # (gchar *) "SingleArgMethodB", 785s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 785s # NULL, 785s # NULL 785s # }, 785s # "handle-single-arg-method-b", 785s # FALSE 785s # }; 785s # 785s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 785s # { 785s # { 785s # -1, 785s # (gchar *) "org.project.UsefulInterface", 785s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 785s # NULL, 785s # NULL, 785s # NULL 785s # }, 785s # "org-project-useful-interface", 785s # }; 785s # 785s # 785s # /** 785s # * org_project_useful_interface_interface_info: 785s # * 785s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 785s # * 785s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 785s # */ 785s # GDBusInterfaceInfo * 785s # org_project_useful_interface_interface_info (void) 785s # { 785s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_override_properties: 785s # * @klass: The class structure for a #GObject derived class. 785s # * @property_id_begin: The property id to assign to the first overridden property. 785s # * 785s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 785s # * The properties are overridden in the order they are defined. 785s # * 785s # * Returns: The last property id. 785s # */ 785s # guint 785s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 785s # { 785s # return property_id_begin - 1; 785s # } 785s # 785s # 785s # inline static void 785s # org_project_useful_interface_method_marshal_single_arg_method_b ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint, 785s # void *marshal_data) 785s # { 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 785s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 785s # } 785s # 785s # 785s # /** 785s # * OrgProjectUsefulInterface: 785s # * 785s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceIface: 785s # * @parent_iface: The parent interface. 785s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 785s # * 785s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 785s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 785s # 785s # static void 785s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 785s # { 785s # /* GObject signals for incoming D-Bus method calls: */ 785s # /** 785s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: A #GDBusMethodInvocation. 785s # * @arg_arg_b: Argument passed by remote caller. 785s # * 785s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 785s # * 785s # * 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. 785s # * 785s # * 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. 785s # */ 785s # g_signal_new ("handle-single-arg-method-b", 785s # G_TYPE_FROM_INTERFACE (iface), 785s # G_SIGNAL_RUN_LAST, 785s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 785s # g_signal_accumulator_true_handled, 785s # NULL, 785s # org_project_useful_interface_method_marshal_single_arg_method_b, 785s # G_TYPE_BOOLEAN, 785s # 2, 785s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 785s # 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_b: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_b: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 785s # */ 785s # void 785s # org_project_useful_interface_call_single_arg_method_b ( 785s # OrgProjectUsefulInterface *proxy, 785s # gboolean arg_arg_b, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodB", 785s # g_variant_new ("(b)", 785s # arg_arg_b), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # callback, 785s # user_data); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_b_finish: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_b_finish ( 785s # OrgProjectUsefulInterface *proxy, 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_b_sync: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_b: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_b_sync ( 785s # OrgProjectUsefulInterface *proxy, 785s # gboolean arg_arg_b, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodB", 785s # g_variant_new ("(b)", 785s # arg_arg_b), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_complete_single_arg_method_b: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: (transfer full): A #GDBusMethodInvocation. 785s # * 785s # * 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. 785s # * 785s # * This method will free @invocation, you cannot use it afterwards. 785s # */ 785s # void 785s # org_project_useful_interface_complete_single_arg_method_b ( 785s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 785s # GDBusMethodInvocation *invocation) 785s # { 785s # g_dbus_method_invocation_return_value (invocation, 785s # g_variant_new ("()")); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxy: 785s # * 785s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxyClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceProxy. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceProxyPrivate 785s # { 785s # GData *qdata; 785s # }; 785s # 785s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_proxy_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 785s # g_datalist_clear (&proxy->priv->qdata); 785s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # const GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 785s # const gchar *sender_name G_GNUC_UNUSED, 785s # const gchar *signal_name, 785s # GVariant *parameters) 785s # { 785s # _ExtendedGDBusSignalInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # gsize n; 785s # guint signal_id; 785s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 785s # if (info == NULL) 785s # return; 785s # num_params = g_variant_n_children (parameters); 785s # paramv = g_new0 (GValue, num_params + 1); 785s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[0], proxy); 785s # g_variant_iter_init (&iter, parameters); 785s # n = 1; 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_signal_emitv (paramv, signal_id, 0, NULL); 785s # for (n = 0; n < num_params + 1; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 785s # GVariant *changed_properties, 785s # const gchar *const *invalidated_properties) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 785s # guint n; 785s # const gchar *key; 785s # GVariantIter *iter; 785s # _ExtendedGDBusPropertyInfo *info; 785s # g_variant_get (changed_properties, "a{sv}", &iter); 785s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 785s # g_datalist_remove_data (&proxy->priv->qdata, key); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # g_variant_iter_free (iter); 785s # for (n = 0; invalidated_properties[n] != NULL; n++) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 785s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 785s # #else 785s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 785s # #endif 785s # 785s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusProxyClass *proxy_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 785s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 785s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 785s # 785s # proxy_class = G_DBUS_PROXY_CLASS (klass); 785s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 785s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_sync: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_sync ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new_for_bus ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_sync: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_sync ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeleton: 785s # * 785s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeletonClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 785s # { 785s # GValue *properties; 785s # GList *changed_properties; 785s # GSource *changed_properties_idle_source; 785s # GMainContext *context; 785s # GMutex lock; 785s # }; 785s # 785s # static void 785s # _org_project_useful_interface_skeleton_handle_method_call ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name, 785s # const gchar *method_name, 785s # GVariant *parameters, 785s # GDBusMethodInvocation *invocation, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # _ExtendedGDBusMethodInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # guint num_extra; 785s # gsize n; 785s # guint signal_id; 785s # GValue return_value = G_VALUE_INIT; 785s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 785s # g_assert (info != NULL); 785s # num_params = g_variant_n_children (parameters); 785s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 785s # n = 0; 785s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[n++], skeleton); 785s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 785s # g_value_set_object (¶mv[n++], invocation); 785s # if (info->pass_fdlist) 785s # { 785s # #ifdef G_OS_UNIX 785s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 785s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 785s # #else 785s # g_assert_not_reached (); 785s # #endif 785s # } 785s # g_variant_iter_init (&iter, parameters); 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_init (&return_value, G_TYPE_BOOLEAN); 785s # g_signal_emitv (paramv, signal_id, 0, &return_value); 785s # if (!g_value_get_boolean (&return_value)) 785s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 785s # g_value_unset (&return_value); 785s # for (n = 0; n < num_params + num_extra; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static GVariant * 785s # _org_project_useful_interface_skeleton_handle_get_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # GVariant *ret; 785s # ret = NULL; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # g_value_init (&value, pspec->value_type); 785s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 785s # g_value_unset (&value); 785s # } 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _org_project_useful_interface_skeleton_handle_set_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GVariant *variant, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # gboolean ret; 785s # ret = FALSE; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # if (info->use_gvariant) 785s # g_value_set_variant (&value, variant); 785s # else 785s # g_dbus_gvariant_to_gvalue (variant, &value); 785s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # g_value_unset (&value); 785s # ret = TRUE; 785s # } 785s # return ret; 785s # } 785s # 785s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 785s # { 785s # _org_project_useful_interface_skeleton_handle_method_call, 785s # _org_project_useful_interface_skeleton_handle_get_property, 785s # _org_project_useful_interface_skeleton_handle_set_property, 785s # {NULL} 785s # }; 785s # 785s # static GDBusInterfaceInfo * 785s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return org_project_useful_interface_interface_info (); 785s # } 785s # 785s # static GDBusInterfaceVTable * 785s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 785s # } 785s # 785s # static GVariant * 785s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 785s # 785s # GVariantBuilder builder; 785s # guint n; 785s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 785s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 785s # goto out; 785s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 785s # { 785s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 785s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 785s # { 785s # GVariant *value; 785s # 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); 785s # if (value != NULL) 785s # { 785s # g_variant_take_ref (value); 785s # g_variant_builder_add (&builder, "{sv}", info->name, value); 785s # g_variant_unref (value); 785s # } 785s # } 785s # } 785s # out: 785s # return g_variant_builder_end (&builder); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_skeleton_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 785s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 785s # if (skeleton->priv->changed_properties_idle_source != NULL) 785s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 785s # g_main_context_unref (skeleton->priv->context); 785s # g_mutex_clear (&skeleton->priv->lock); 785s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 785s # #else 785s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 785s # #endif 785s # 785s # g_mutex_init (&skeleton->priv->lock); 785s # skeleton->priv->context = g_main_context_ref_thread_default (); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusInterfaceSkeletonClass *skeleton_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 785s # 785s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 785s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 785s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 785s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 785s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_skeleton_new: 785s # * 785s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_skeleton_new (void) 785s # { 785s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 785s # } 785s # /tmp/tmpkasma2_h/tmpe98f4prt.xml: 785s # 785s # 785s # 785s # 785s # 785s # 785s # 785s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkasma2_h/tmpe98f4prt.xml', '--output', '-', '--body'] 785s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 785s # Output: /* 785s # * This file is generated by gdbus-codegen, do not modify it. 785s # * 785s # * The license of this code is the same as for the D-Bus interface description 785s # * it was derived from. Note that it links to GLib, so must comply with the 785s # * LGPL linking clauses. 785s # */ 785s # 785s # #ifdef HAVE_CONFIG_H 785s # # include "config.h" 785s # #endif 785s # 785s # #include 785s # #ifdef G_OS_UNIX 785s # # include 785s # #endif 785s # 785s # #ifdef G_ENABLE_DEBUG 785s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 785s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 785s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 785s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 785s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 785s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 785s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 785s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 785s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 785s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 785s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 785s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 785s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 785s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 785s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 785s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 785s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 785s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 785s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 785s # #else /* !G_ENABLE_DEBUG */ 785s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 785s # * Do not access GValues directly in your code. Instead, use the 785s # * g_value_get_*() functions 785s # */ 785s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 785s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 785s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 785s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 785s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 785s # #endif /* !G_ENABLE_DEBUG */ 785s # 785s # typedef struct 785s # { 785s # GDBusArgInfo parent_struct; 785s # gboolean use_gvariant; 785s # } _ExtendedGDBusArgInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusMethodInfo parent_struct; 785s # const gchar *signal_name; 785s # gboolean pass_fdlist; 785s # } _ExtendedGDBusMethodInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusSignalInfo parent_struct; 785s # const gchar *signal_name; 785s # } _ExtendedGDBusSignalInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusPropertyInfo parent_struct; 785s # const gchar *hyphen_name; 785s # guint use_gvariant : 1; 785s # guint emits_changed_signal : 1; 785s # } _ExtendedGDBusPropertyInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusInterfaceInfo parent_struct; 785s # const gchar *hyphen_name; 785s # } _ExtendedGDBusInterfaceInfo; 785s # 785s # typedef struct 785s # { 785s # const _ExtendedGDBusPropertyInfo *info; 785s # guint prop_id; 785s # GValue orig_value; /* the value before the change */ 785s # } ChangedProperty; 785s # 785s # static void 785s # _changed_property_free (ChangedProperty *data) 785s # { 785s # g_value_unset (&data->orig_value); 785s # g_free (data); 785s # } 785s # 785s # static gboolean 785s # _g_strv_equal0 (gchar **a, gchar **b) 785s # { 785s # gboolean ret = FALSE; 785s # guint n; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # if (g_strv_length (a) != g_strv_length (b)) 785s # goto out; 785s # for (n = 0; a[n] != NULL; n++) 785s # if (g_strcmp0 (a[n], b[n]) != 0) 785s # goto out; 785s # ret = TRUE; 785s # out: 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _g_variant_equal0 (GVariant *a, GVariant *b) 785s # { 785s # gboolean ret = FALSE; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # ret = g_variant_equal (a, b); 785s # out: 785s # return ret; 785s # } 785s # 785s # G_GNUC_UNUSED static gboolean 785s # _g_value_equal (const GValue *a, const GValue *b) 785s # { 785s # gboolean ret = FALSE; 785s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 785s # switch (G_VALUE_TYPE (a)) 785s # { 785s # case G_TYPE_BOOLEAN: 785s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 785s # break; 785s # case G_TYPE_UCHAR: 785s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 785s # break; 785s # case G_TYPE_INT: 785s # ret = (g_value_get_int (a) == g_value_get_int (b)); 785s # break; 785s # case G_TYPE_UINT: 785s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 785s # break; 785s # case G_TYPE_INT64: 785s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 785s # break; 785s # case G_TYPE_UINT64: 785s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 785s # break; 785s # case G_TYPE_DOUBLE: 785s # { 785s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 785s # gdouble da = g_value_get_double (a); 785s # gdouble db = g_value_get_double (b); 785s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 785s # } 785s # break; 785s # case G_TYPE_STRING: 785s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 785s # break; 785s # case G_TYPE_VARIANT: 785s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 785s # break; 785s # default: 785s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 785s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 785s # else 785s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 785s # break; 785s # } 785s # return ret; 785s # } 785s # 785s # static void 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint G_GNUC_UNUSED, 785s # void *marshal_data) 785s # { 785s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 785s # (void *data1, 785s # GDBusMethodInvocation *arg_method_invocation, 785s # guchar arg_arg_y, 785s # void *data2); 785s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 785s # GCClosure *cc = (GCClosure*) closure; 785s # void *data1, *data2; 785s # gboolean v_return; 785s # 785s # g_return_if_fail (return_value != NULL); 785s # g_return_if_fail (n_param_values == 3); 785s # 785s # if (G_CCLOSURE_SWAP_DATA (closure)) 785s # { 785s # data1 = closure->data; 785s # data2 = g_value_peek_pointer (param_values + 0); 785s # } 785s # else 785s # { 785s # data1 = g_value_peek_pointer (param_values + 0); 785s # data2 = closure->data; 785s # } 785s # 785s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 785s # (marshal_data ? marshal_data : cc->callback); 785s # 785s # v_return = 785s # callback (data1, 785s # g_marshal_value_peek_object (param_values + 1), 785s # g_marshal_value_peek_uchar (param_values + 2), 785s # data2); 785s # 785s # g_value_set_boolean (return_value, v_return); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ 785s # * Code for interface org.project.UsefulInterface 785s # * ------------------------------------------------------------------------ 785s # */ 785s # 785s # /** 785s # * SECTION:OrgProjectUsefulInterface 785s # * @title: OrgProjectUsefulInterface 785s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 785s # * 785s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 785s # */ 785s # 785s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 785s # 785s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 785s # { 785s # { 785s # -1, 785s # (gchar *) "arg_y", 785s # (gchar *) "y", 785s # NULL 785s # }, 785s # FALSE 785s # }; 785s # 785s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 785s # { 785s # { 785s # -1, 785s # (gchar *) "SingleArgMethodY", 785s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 785s # NULL, 785s # NULL 785s # }, 785s # "handle-single-arg-method-y", 785s # FALSE 785s # }; 785s # 785s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 785s # { 785s # { 785s # -1, 785s # (gchar *) "org.project.UsefulInterface", 785s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 785s # NULL, 785s # NULL, 785s # NULL 785s # }, 785s # "org-project-useful-interface", 785s # }; 785s # 785s # 785s # /** 785s # * org_project_useful_interface_interface_info: 785s # * 785s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 785s # * 785s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 785s # */ 785s # GDBusInterfaceInfo * 785s # org_project_useful_interface_interface_info (void) 785s # { 785s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_override_properties: 785s # * @klass: The class structure for a #GObject derived class. 785s # * @property_id_begin: The property id to assign to the first overridden property. 785s # * 785s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 785s # * The properties are overridden in the order they are defined. 785s # * 785s # * Returns: The last property id. 785s # */ 785s # guint 785s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 785s # { 785s # return property_id_begin - 1; 785s # } 785s # 785s # 785s # inline static void 785s # org_project_useful_interface_method_marshal_single_arg_method_y ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint, 785s # void *marshal_data) 785s # { 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 785s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 785s # } 785s # 785s # 785s # /** 785s # * OrgProjectUsefulInterface: 785s # * 785s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceIface: 785s # * @parent_iface: The parent interface. 785s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 785s # * 785s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 785s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 785s # 785s # static void 785s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 785s # { 785s # /* GObject signals for incoming D-Bus method calls: */ 785s # /** 785s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: A #GDBusMethodInvocation. 785s # * @arg_arg_y: Argument passed by remote caller. 785s # * 785s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 785s # * 785s # * 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. 785s # * 785s # * 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. 785s # */ 785s # g_signal_new ("handle-single-arg-method-y", 785s # G_TYPE_FROM_INTERFACE (iface), 785s # G_SIGNAL_RUN_LAST, 785s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 785s # g_signal_accumulator_true_handled, 785s # NULL, 785s # org_project_useful_interface_method_marshal_single_arg_method_y, 785s # G_TYPE_BOOLEAN, 785s # 2, 785s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 785s # 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_y: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_y: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 785s # */ 785s # void 785s # org_project_useful_interface_call_single_arg_method_y ( 785s # OrgProjectUsefulInterface *proxy, 785s # guchar arg_arg_y, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodY", 785s # g_variant_new ("(y)", 785s # arg_arg_y), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # callback, 785s # user_data); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_y_finish: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_y_finish ( 785s # OrgProjectUsefulInterface *proxy, 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_y_sync: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_y: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_y_sync ( 785s # OrgProjectUsefulInterface *proxy, 785s # guchar arg_arg_y, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodY", 785s # g_variant_new ("(y)", 785s # arg_arg_y), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_complete_single_arg_method_y: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: (transfer full): A #GDBusMethodInvocation. 785s # * 785s # * 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. 785s # * 785s # * This method will free @invocation, you cannot use it afterwards. 785s # */ 785s # void 785s # org_project_useful_interface_complete_single_arg_method_y ( 785s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 785s # GDBusMethodInvocation *invocation) 785s # { 785s # g_dbus_method_invocation_return_value (invocation, 785s # g_variant_new ("()")); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxy: 785s # * 785s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxyClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceProxy. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceProxyPrivate 785s # { 785s # GData *qdata; 785s # }; 785s # 785s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_proxy_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 785s # g_datalist_clear (&proxy->priv->qdata); 785s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # const GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 785s # const gchar *sender_name G_GNUC_UNUSED, 785s # const gchar *signal_name, 785s # GVariant *parameters) 785s # { 785s # _ExtendedGDBusSignalInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # gsize n; 785s # guint signal_id; 785s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 785s # if (info == NULL) 785s # return; 785s # num_params = g_variant_n_children (parameters); 785s # paramv = g_new0 (GValue, num_params + 1); 785s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[0], proxy); 785s # g_variant_iter_init (&iter, parameters); 785s # n = 1; 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_signal_emitv (paramv, signal_id, 0, NULL); 785s # for (n = 0; n < num_params + 1; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 785s # GVariant *changed_properties, 785s # const gchar *const *invalidated_properties) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 785s # guint n; 785s # const gchar *key; 785s # GVariantIter *iter; 785s # _ExtendedGDBusPropertyInfo *info; 785s # g_variant_get (changed_properties, "a{sv}", &iter); 785s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 785s # g_datalist_remove_data (&proxy->priv->qdata, key); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # g_variant_iter_free (iter); 785s # for (n = 0; invalidated_properties[n] != NULL; n++) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 785s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 785s # #else 785s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 785s # #endif 785s # 785s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusProxyClass *proxy_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 785s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 785s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 785s # 785s # proxy_class = G_DBUS_PROXY_CLASS (klass); 785s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 785s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_sync: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_sync ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new_for_bus ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_sync: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_sync ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeleton: 785s # * 785s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeletonClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 785s # { 785s # GValue *properties; 785s # GList *changed_properties; 785s # GSource *changed_properties_idle_source; 785s # GMainContext *context; 785s # GMutex lock; 785s # }; 785s # 785s # static void 785s # _org_project_useful_interface_skeleton_handle_method_call ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name, 785s # const gchar *method_name, 785s # GVariant *parameters, 785s # GDBusMethodInvocation *invocation, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # _ExtendedGDBusMethodInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # guint num_extra; 785s # gsize n; 785s # guint signal_id; 785s # GValue return_value = G_VALUE_INIT; 785s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 785s # g_assert (info != NULL); 785s # num_params = g_variant_n_children (parameters); 785s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 785s # n = 0; 785s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[n++], skeleton); 785s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 785s # g_value_set_object (¶mv[n++], invocation); 785s # if (info->pass_fdlist) 785s # { 785s # #ifdef G_OS_UNIX 785s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 785s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 785s # #else 785s # g_assert_not_reached (); 785s # #endif 785s # } 785s # g_variant_iter_init (&iter, parameters); 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_init (&return_value, G_TYPE_BOOLEAN); 785s # g_signal_emitv (paramv, signal_id, 0, &return_value); 785s # if (!g_value_get_boolean (&return_value)) 785s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 785s # g_value_unset (&return_value); 785s # for (n = 0; n < num_params + num_extra; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static GVariant * 785s # _org_project_useful_interface_skeleton_handle_get_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # GVariant *ret; 785s # ret = NULL; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # g_value_init (&value, pspec->value_type); 785s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 785s # g_value_unset (&value); 785s # } 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _org_project_useful_interface_skeleton_handle_set_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GVariant *variant, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # gboolean ret; 785s # ret = FALSE; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # if (info->use_gvariant) 785s # g_value_set_variant (&value, variant); 785s # else 785s # g_dbus_gvariant_to_gvalue (variant, &value); 785s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # g_value_unset (&value); 785s # ret = TRUE; 785s # } 785s # return ret; 785s # } 785s # 785s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 785s # { 785s # _org_project_useful_interface_skeleton_handle_method_call, 785s # _org_project_useful_interface_skeleton_handle_get_property, 785s # _org_project_useful_interface_skeleton_handle_set_property, 785s # {NULL} 785s # }; 785s # 785s # static GDBusInterfaceInfo * 785s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return org_project_useful_interface_interface_info (); 785s # } 785s # 785s # static GDBusInterfaceVTable * 785s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 785s # } 785s # 785s # static GVariant * 785s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 785s # 785s # GVariantBuilder builder; 785s # guint n; 785s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 785s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 785s # goto out; 785s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 785s # { 785s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 785s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 785s # { 785s # GVariant *value; 785s # 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); 785s # if (value != NULL) 785s # { 785s # g_variant_take_ref (value); 785s # g_variant_builder_add (&builder, "{sv}", info->name, value); 785s # g_variant_unref (value); 785s # } 785s # } 785s # } 785s # out: 785s # return g_variant_builder_end (&builder); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_skeleton_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 785s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 785s # if (skeleton->priv->changed_properties_idle_source != NULL) 785s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 785s # g_main_context_unref (skeleton->priv->context); 785s # g_mutex_clear (&skeleton->priv->lock); 785s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 785s # #else 785s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 785s # #endif 785s # 785s # g_mutex_init (&skeleton->priv->lock); 785s # skeleton->priv->context = g_main_context_ref_thread_default (); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusInterfaceSkeletonClass *skeleton_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 785s # 785s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 785s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 785s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 785s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 785s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_skeleton_new: 785s # * 785s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_skeleton_new (void) 785s # { 785s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 785s # } 785s # /tmp/tmpkasma2_h/tmpvvdz41gb.xml: 785s # 785s # 785s # 785s # 785s # 785s # 785s # 785s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkasma2_h/tmpvvdz41gb.xml', '--output', '-', '--body'] 785s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 785s # Output: /* 785s # * This file is generated by gdbus-codegen, do not modify it. 785s # * 785s # * The license of this code is the same as for the D-Bus interface description 785s # * it was derived from. Note that it links to GLib, so must comply with the 785s # * LGPL linking clauses. 785s # */ 785s # 785s # #ifdef HAVE_CONFIG_H 785s # # include "config.h" 785s # #endif 785s # 785s # #include 785s # #ifdef G_OS_UNIX 785s # # include 785s # #endif 785s # 785s # #ifdef G_ENABLE_DEBUG 785s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 785s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 785s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 785s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 785s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 785s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 785s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 785s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 785s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 785s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 785s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 785s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 785s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 785s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 785s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 785s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 785s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 785s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 785s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 785s # #else /* !G_ENABLE_DEBUG */ 785s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 785s # * Do not access GValues directly in your code. Instead, use the 785s # * g_value_get_*() functions 785s # */ 785s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 785s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 785s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 785s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 785s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 785s # #endif /* !G_ENABLE_DEBUG */ 785s # 785s # typedef struct 785s # { 785s # GDBusArgInfo parent_struct; 785s # gboolean use_gvariant; 785s # } _ExtendedGDBusArgInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusMethodInfo parent_struct; 785s # const gchar *signal_name; 785s # gboolean pass_fdlist; 785s # } _ExtendedGDBusMethodInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusSignalInfo parent_struct; 785s # const gchar *signal_name; 785s # } _ExtendedGDBusSignalInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusPropertyInfo parent_struct; 785s # const gchar *hyphen_name; 785s # guint use_gvariant : 1; 785s # guint emits_changed_signal : 1; 785s # } _ExtendedGDBusPropertyInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusInterfaceInfo parent_struct; 785s # const gchar *hyphen_name; 785s # } _ExtendedGDBusInterfaceInfo; 785s # 785s # typedef struct 785s # { 785s # const _ExtendedGDBusPropertyInfo *info; 785s # guint prop_id; 785s # GValue orig_value; /* the value before the change */ 785s # } ChangedProperty; 785s # 785s # static void 785s # _changed_property_free (ChangedProperty *data) 785s # { 785s # g_value_unset (&data->orig_value); 785s # g_free (data); 785s # } 785s # 785s # static gboolean 785s # _g_strv_equal0 (gchar **a, gchar **b) 785s # { 785s # gboolean ret = FALSE; 785s # guint n; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # if (g_strv_length (a) != g_strv_length (b)) 785s # goto out; 785s # for (n = 0; a[n] != NULL; n++) 785s # if (g_strcmp0 (a[n], b[n]) != 0) 785s # goto out; 785s # ret = TRUE; 785s # out: 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _g_variant_equal0 (GVariant *a, GVariant *b) 785s # { 785s # gboolean ret = FALSE; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # ret = g_variant_equal (a, b); 785s # out: 785s # return ret; 785s # } 785s # 785s # G_GNUC_UNUSED static gboolean 785s # _g_value_equal (const GValue *a, const GValue *b) 785s # { 785s # gboolean ret = FALSE; 785s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 785s # switch (G_VALUE_TYPE (a)) 785s # { 785s # case G_TYPE_BOOLEAN: 785s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 785s # break; 785s # case G_TYPE_UCHAR: 785s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 785s # break; 785s # case G_TYPE_INT: 785s # ret = (g_value_get_int (a) == g_value_get_int (b)); 785s # break; 785s # case G_TYPE_UINT: 785s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 785s # break; 785s # case G_TYPE_INT64: 785s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 785s # break; 785s # case G_TYPE_UINT64: 785s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 785s # break; 785s # case G_TYPE_DOUBLE: 785s # { 785s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 785s # gdouble da = g_value_get_double (a); 785s # gdouble db = g_value_get_double (b); 785s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 785s # } 785s # break; 785s # case G_TYPE_STRING: 785s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 785s # break; 785s # case G_TYPE_VARIANT: 785s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 785s # break; 785s # default: 785s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 785s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 785s # else 785s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 785s # break; 785s # } 785s # return ret; 785s # } 785s # 785s # static void 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint G_GNUC_UNUSED, 785s # void *marshal_data) 785s # { 785s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 785s # (void *data1, 785s # GDBusMethodInvocation *arg_method_invocation, 785s # gint16 arg_arg_n, 785s # void *data2); 785s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 785s # GCClosure *cc = (GCClosure*) closure; 785s # void *data1, *data2; 785s # gboolean v_return; 785s # 785s # g_return_if_fail (return_value != NULL); 785s # g_return_if_fail (n_param_values == 3); 785s # 785s # if (G_CCLOSURE_SWAP_DATA (closure)) 785s # { 785s # data1 = closure->data; 785s # data2 = g_value_peek_pointer (param_values + 0); 785s # } 785s # else 785s # { 785s # data1 = g_value_peek_pointer (param_values + 0); 785s # data2 = closure->data; 785s # } 785s # 785s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 785s # (marshal_data ? marshal_data : cc->callback); 785s # 785s # v_return = 785s # callback (data1, 785s # g_marshal_value_peek_object (param_values + 1), 785s # g_marshal_value_peek_int (param_values + 2), 785s # data2); 785s # 785s # g_value_set_boolean (return_value, v_return); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ 785s # * Code for interface org.project.UsefulInterface 785s # * ------------------------------------------------------------------------ 785s # */ 785s # 785s # /** 785s # * SECTION:OrgProjectUsefulInterface 785s # * @title: OrgProjectUsefulInterface 785s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 785s # * 785s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 785s # */ 785s # 785s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 785s # 785s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 785s # { 785s # { 785s # -1, 785s # (gchar *) "arg_n", 785s # (gchar *) "n", 785s # NULL 785s # }, 785s # FALSE 785s # }; 785s # 785s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 785s # { 785s # { 785s # -1, 785s # (gchar *) "SingleArgMethodN", 785s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 785s # NULL, 785s # NULL 785s # }, 785s # "handle-single-arg-method-n", 785s # FALSE 785s # }; 785s # 785s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 785s # { 785s # { 785s # -1, 785s # (gchar *) "org.project.UsefulInterface", 785s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 785s # NULL, 785s # NULL, 785s # NULL 785s # }, 785s # "org-project-useful-interface", 785s # }; 785s # 785s # 785s # /** 785s # * org_project_useful_interface_interface_info: 785s # * 785s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 785s # * 785s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 785s # */ 785s # GDBusInterfaceInfo * 785s # org_project_useful_interface_interface_info (void) 785s # { 785s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_override_properties: 785s # * @klass: The class structure for a #GObject derived class. 785s # * @property_id_begin: The property id to assign to the first overridden property. 785s # * 785s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 785s # * The properties are overridden in the order they are defined. 785s # * 785s # * Returns: The last property id. 785s # */ 785s # guint 785s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 785s # { 785s # return property_id_begin - 1; 785s # } 785s # 785s # 785s # inline static void 785s # org_project_useful_interface_method_marshal_single_arg_method_n ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint, 785s # void *marshal_data) 785s # { 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 785s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 785s # } 785s # 785s # 785s # /** 785s # * OrgProjectUsefulInterface: 785s # * 785s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceIface: 785s # * @parent_iface: The parent interface. 785s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 785s # * 785s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 785s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 785s # 785s # static void 785s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 785s # { 785s # /* GObject signals for incoming D-Bus method calls: */ 785s # /** 785s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: A #GDBusMethodInvocation. 785s # * @arg_arg_n: Argument passed by remote caller. 785s # * 785s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 785s # * 785s # * 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. 785s # * 785s # * 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. 785s # */ 785s # g_signal_new ("handle-single-arg-method-n", 785s # G_TYPE_FROM_INTERFACE (iface), 785s # G_SIGNAL_RUN_LAST, 785s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 785s # g_signal_accumulator_true_handled, 785s # NULL, 785s # org_project_useful_interface_method_marshal_single_arg_method_n, 785s # G_TYPE_BOOLEAN, 785s # 2, 785s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 785s # 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_n: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_n: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 785s # */ 785s # void 785s # org_project_useful_interface_call_single_arg_method_n ( 785s # OrgProjectUsefulInterface *proxy, 785s # gint16 arg_arg_n, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodN", 785s # g_variant_new ("(n)", 785s # arg_arg_n), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # callback, 785s # user_data); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_n_finish: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_n_finish ( 785s # OrgProjectUsefulInterface *proxy, 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_n_sync: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_n: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_n_sync ( 785s # OrgProjectUsefulInterface *proxy, 785s # gint16 arg_arg_n, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodN", 785s # g_variant_new ("(n)", 785s # arg_arg_n), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_complete_single_arg_method_n: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: (transfer full): A #GDBusMethodInvocation. 785s # * 785s # * 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. 785s # * 785s # * This method will free @invocation, you cannot use it afterwards. 785s # */ 785s # void 785s # org_project_useful_interface_complete_single_arg_method_n ( 785s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 785s # GDBusMethodInvocation *invocation) 785s # { 785s # g_dbus_method_invocation_return_value (invocation, 785s # g_variant_new ("()")); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxy: 785s # * 785s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxyClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceProxy. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceProxyPrivate 785s # { 785s # GData *qdata; 785s # }; 785s # 785s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_proxy_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 785s # g_datalist_clear (&proxy->priv->qdata); 785s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # const GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 785s # const gchar *sender_name G_GNUC_UNUSED, 785s # const gchar *signal_name, 785s # GVariant *parameters) 785s # { 785s # _ExtendedGDBusSignalInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # gsize n; 785s # guint signal_id; 785s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 785s # if (info == NULL) 785s # return; 785s # num_params = g_variant_n_children (parameters); 785s # paramv = g_new0 (GValue, num_params + 1); 785s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[0], proxy); 785s # g_variant_iter_init (&iter, parameters); 785s # n = 1; 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_signal_emitv (paramv, signal_id, 0, NULL); 785s # for (n = 0; n < num_params + 1; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 785s # GVariant *changed_properties, 785s # const gchar *const *invalidated_properties) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 785s # guint n; 785s # const gchar *key; 785s # GVariantIter *iter; 785s # _ExtendedGDBusPropertyInfo *info; 785s # g_variant_get (changed_properties, "a{sv}", &iter); 785s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 785s # g_datalist_remove_data (&proxy->priv->qdata, key); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # g_variant_iter_free (iter); 785s # for (n = 0; invalidated_properties[n] != NULL; n++) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 785s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 785s # #else 785s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 785s # #endif 785s # 785s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusProxyClass *proxy_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 785s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 785s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 785s # 785s # proxy_class = G_DBUS_PROXY_CLASS (klass); 785s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 785s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_sync: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_sync ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new_for_bus ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_sync: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_sync ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeleton: 785s # * 785s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeletonClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 785s # { 785s # GValue *properties; 785s # GList *changed_properties; 785s # GSource *changed_properties_idle_source; 785s # GMainContext *context; 785s # GMutex lock; 785s # }; 785s # 785s # static void 785s # _org_project_useful_interface_skeleton_handle_method_call ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name, 785s # const gchar *method_name, 785s # GVariant *parameters, 785s # GDBusMethodInvocation *invocation, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # _ExtendedGDBusMethodInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # guint num_extra; 785s # gsize n; 785s # guint signal_id; 785s # GValue return_value = G_VALUE_INIT; 785s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 785s # g_assert (info != NULL); 785s # num_params = g_variant_n_children (parameters); 785s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 785s # n = 0; 785s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[n++], skeleton); 785s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 785s # g_value_set_object (¶mv[n++], invocation); 785s # if (info->pass_fdlist) 785s # { 785s # #ifdef G_OS_UNIX 785s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 785s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 785s # #else 785s # g_assert_not_reached (); 785s # #endif 785s # } 785s # g_variant_iter_init (&iter, parameters); 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_init (&return_value, G_TYPE_BOOLEAN); 785s # g_signal_emitv (paramv, signal_id, 0, &return_value); 785s # if (!g_value_get_boolean (&return_value)) 785s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 785s # g_value_unset (&return_value); 785s # for (n = 0; n < num_params + num_extra; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static GVariant * 785s # _org_project_useful_interface_skeleton_handle_get_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # GVariant *ret; 785s # ret = NULL; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # g_value_init (&value, pspec->value_type); 785s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 785s # g_value_unset (&value); 785s # } 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _org_project_useful_interface_skeleton_handle_set_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GVariant *variant, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # gboolean ret; 785s # ret = FALSE; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # if (info->use_gvariant) 785s # g_value_set_variant (&value, variant); 785s # else 785s # g_dbus_gvariant_to_gvalue (variant, &value); 785s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # g_value_unset (&value); 785s # ret = TRUE; 785s # } 785s # return ret; 785s # } 785s # 785s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 785s # { 785s # _org_project_useful_interface_skeleton_handle_method_call, 785s # _org_project_useful_interface_skeleton_handle_get_property, 785s # _org_project_useful_interface_skeleton_handle_set_property, 785s # {NULL} 785s # }; 785s # 785s # static GDBusInterfaceInfo * 785s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return org_project_useful_interface_interface_info (); 785s # } 785s # 785s # static GDBusInterfaceVTable * 785s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 785s # } 785s # 785s # static GVariant * 785s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 785s # 785s # GVariantBuilder builder; 785s # guint n; 785s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 785s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 785s # goto out; 785s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 785s # { 785s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 785s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 785s # { 785s # GVariant *value; 785s # 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); 785s # if (value != NULL) 785s # { 785s # g_variant_take_ref (value); 785s # g_variant_builder_add (&builder, "{sv}", info->name, value); 785s # g_variant_unref (value); 785s # } 785s # } 785s # } 785s # out: 785s # return g_variant_builder_end (&builder); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_skeleton_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 785s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 785s # if (skeleton->priv->changed_properties_idle_source != NULL) 785s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 785s # g_main_context_unref (skeleton->priv->context); 785s # g_mutex_clear (&skeleton->priv->lock); 785s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 785s # #else 785s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 785s # #endif 785s # 785s # g_mutex_init (&skeleton->priv->lock); 785s # skeleton->priv->context = g_main_context_ref_thread_default (); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusInterfaceSkeletonClass *skeleton_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 785s # 785s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 785s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 785s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 785s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 785s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_skeleton_new: 785s # * 785s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_skeleton_new (void) 785s # { 785s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 785s # } 785s # /tmp/tmpkasma2_h/tmp38fft_ks.xml: 785s # 785s # 785s # 785s # 785s # 785s # 785s # 785s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkasma2_h/tmp38fft_ks.xml', '--output', '-', '--body'] 785s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 785s # Output: /* 785s # * This file is generated by gdbus-codegen, do not modify it. 785s # * 785s # * The license of this code is the same as for the D-Bus interface description 785s # * it was derived from. Note that it links to GLib, so must comply with the 785s # * LGPL linking clauses. 785s # */ 785s # 785s # #ifdef HAVE_CONFIG_H 785s # # include "config.h" 785s # #endif 785s # 785s # #include 785s # #ifdef G_OS_UNIX 785s # # include 785s # #endif 785s # 785s # #ifdef G_ENABLE_DEBUG 785s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 785s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 785s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 785s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 785s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 785s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 785s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 785s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 785s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 785s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 785s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 785s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 785s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 785s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 785s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 785s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 785s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 785s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 785s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 785s # #else /* !G_ENABLE_DEBUG */ 785s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 785s # * Do not access GValues directly in your code. Instead, use the 785s # * g_value_get_*() functions 785s # */ 785s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 785s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 785s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 785s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 785s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 785s # #endif /* !G_ENABLE_DEBUG */ 785s # 785s # typedef struct 785s # { 785s # GDBusArgInfo parent_struct; 785s # gboolean use_gvariant; 785s # } _ExtendedGDBusArgInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusMethodInfo parent_struct; 785s # const gchar *signal_name; 785s # gboolean pass_fdlist; 785s # } _ExtendedGDBusMethodInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusSignalInfo parent_struct; 785s # const gchar *signal_name; 785s # } _ExtendedGDBusSignalInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusPropertyInfo parent_struct; 785s # const gchar *hyphen_name; 785s # guint use_gvariant : 1; 785s # guint emits_changed_signal : 1; 785s # } _ExtendedGDBusPropertyInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusInterfaceInfo parent_struct; 785s # const gchar *hyphen_name; 785s # } _ExtendedGDBusInterfaceInfo; 785s # 785s # typedef struct 785s # { 785s # const _ExtendedGDBusPropertyInfo *info; 785s # guint prop_id; 785s # GValue orig_value; /* the value before the change */ 785s # } ChangedProperty; 785s # 785s # static void 785s # _changed_property_free (ChangedProperty *data) 785s # { 785s # g_value_unset (&data->orig_value); 785s # g_free (data); 785s # } 785s # 785s # static gboolean 785s # _g_strv_equal0 (gchar **a, gchar **b) 785s # { 785s # gboolean ret = FALSE; 785s # guint n; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # if (g_strv_length (a) != g_strv_length (b)) 785s # goto out; 785s # for (n = 0; a[n] != NULL; n++) 785s # if (g_strcmp0 (a[n], b[n]) != 0) 785s # goto out; 785s # ret = TRUE; 785s # out: 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _g_variant_equal0 (GVariant *a, GVariant *b) 785s # { 785s # gboolean ret = FALSE; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # ret = g_variant_equal (a, b); 785s # out: 785s # return ret; 785s # } 785s # 785s # G_GNUC_UNUSED static gboolean 785s # _g_value_equal (const GValue *a, const GValue *b) 785s # { 785s # gboolean ret = FALSE; 785s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 785s # switch (G_VALUE_TYPE (a)) 785s # { 785s # case G_TYPE_BOOLEAN: 785s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 785s # break; 785s # case G_TYPE_UCHAR: 785s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 785s # break; 785s # case G_TYPE_INT: 785s # ret = (g_value_get_int (a) == g_value_get_int (b)); 785s # break; 785s # case G_TYPE_UINT: 785s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 785s # break; 785s # case G_TYPE_INT64: 785s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 785s # break; 785s # case G_TYPE_UINT64: 785s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 785s # break; 785s # case G_TYPE_DOUBLE: 785s # { 785s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 785s # gdouble da = g_value_get_double (a); 785s # gdouble db = g_value_get_double (b); 785s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 785s # } 785s # break; 785s # case G_TYPE_STRING: 785s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 785s # break; 785s # case G_TYPE_VARIANT: 785s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 785s # break; 785s # default: 785s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 785s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 785s # else 785s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 785s # break; 785s # } 785s # return ret; 785s # } 785s # 785s # static void 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint G_GNUC_UNUSED, 785s # void *marshal_data) 785s # { 785s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 785s # (void *data1, 785s # GDBusMethodInvocation *arg_method_invocation, 785s # guint16 arg_arg_q, 785s # void *data2); 785s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 785s # GCClosure *cc = (GCClosure*) closure; 785s # void *data1, *data2; 785s # gboolean v_return; 785s # 785s # g_return_if_fail (return_value != NULL); 785s # g_return_if_fail (n_param_values == 3); 785s # 785s # if (G_CCLOSURE_SWAP_DATA (closure)) 785s # { 785s # data1 = closure->data; 785s # data2 = g_value_peek_pointer (param_values + 0); 785s # } 785s # else 785s # { 785s # data1 = g_value_peek_pointer (param_values + 0); 785s # data2 = closure->data; 785s # } 785s # 785s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 785s # (marshal_data ? marshal_data : cc->callback); 785s # 785s # v_return = 785s # callback (data1, 785s # g_marshal_value_peek_object (param_values + 1), 785s # g_marshal_value_peek_uint (param_values + 2), 785s # data2); 785s # 785s # g_value_set_boolean (return_value, v_return); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ 785s # * Code for interface org.project.UsefulInterface 785s # * ------------------------------------------------------------------------ 785s # */ 785s # 785s # /** 785s # * SECTION:OrgProjectUsefulInterface 785s # * @title: OrgProjectUsefulInterface 785s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 785s # * 785s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 785s # */ 785s # 785s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 785s # 785s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 785s # { 785s # { 785s # -1, 785s # (gchar *) "arg_q", 785s # (gchar *) "q", 785s # NULL 785s # }, 785s # FALSE 785s # }; 785s # 785s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 785s # { 785s # { 785s # -1, 785s # (gchar *) "SingleArgMethodQ", 785s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 785s # NULL, 785s # NULL 785s # }, 785s # "handle-single-arg-method-q", 785s # FALSE 785s # }; 785s # 785s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 785s # { 785s # { 785s # -1, 785s # (gchar *) "org.project.UsefulInterface", 785s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 785s # NULL, 785s # NULL, 785s # NULL 785s # }, 785s # "org-project-useful-interface", 785s # }; 785s # 785s # 785s # /** 785s # * org_project_useful_interface_interface_info: 785s # * 785s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 785s # * 785s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 785s # */ 785s # GDBusInterfaceInfo * 785s # org_project_useful_interface_interface_info (void) 785s # { 785s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_override_properties: 785s # * @klass: The class structure for a #GObject derived class. 785s # * @property_id_begin: The property id to assign to the first overridden property. 785s # * 785s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 785s # * The properties are overridden in the order they are defined. 785s # * 785s # * Returns: The last property id. 785s # */ 785s # guint 785s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 785s # { 785s # return property_id_begin - 1; 785s # } 785s # 785s # 785s # inline static void 785s # org_project_useful_interface_method_marshal_single_arg_method_q ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint, 785s # void *marshal_data) 785s # { 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 785s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 785s # } 785s # 785s # 785s # /** 785s # * OrgProjectUsefulInterface: 785s # * 785s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceIface: 785s # * @parent_iface: The parent interface. 785s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 785s # * 785s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 785s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 785s # 785s # static void 785s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 785s # { 785s # /* GObject signals for incoming D-Bus method calls: */ 785s # /** 785s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: A #GDBusMethodInvocation. 785s # * @arg_arg_q: Argument passed by remote caller. 785s # * 785s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 785s # * 785s # * 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. 785s # * 785s # * 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. 785s # */ 785s # g_signal_new ("handle-single-arg-method-q", 785s # G_TYPE_FROM_INTERFACE (iface), 785s # G_SIGNAL_RUN_LAST, 785s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 785s # g_signal_accumulator_true_handled, 785s # NULL, 785s # org_project_useful_interface_method_marshal_single_arg_method_q, 785s # G_TYPE_BOOLEAN, 785s # 2, 785s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 785s # 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_q: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_q: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 785s # */ 785s # void 785s # org_project_useful_interface_call_single_arg_method_q ( 785s # OrgProjectUsefulInterface *proxy, 785s # guint16 arg_arg_q, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodQ", 785s # g_variant_new ("(q)", 785s # arg_arg_q), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # callback, 785s # user_data); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_q_finish: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_q_finish ( 785s # OrgProjectUsefulInterface *proxy, 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_q_sync: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_q: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_q_sync ( 785s # OrgProjectUsefulInterface *proxy, 785s # guint16 arg_arg_q, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodQ", 785s # g_variant_new ("(q)", 785s # arg_arg_q), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_complete_single_arg_method_q: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: (transfer full): A #GDBusMethodInvocation. 785s # * 785s # * 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. 785s # * 785s # * This method will free @invocation, you cannot use it afterwards. 785s # */ 785s # void 785s # org_project_useful_interface_complete_single_arg_method_q ( 785s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 785s # GDBusMethodInvocation *invocation) 785s # { 785s # g_dbus_method_invocation_return_value (invocation, 785s # g_variant_new ("()")); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxy: 785s # * 785s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxyClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceProxy. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceProxyPrivate 785s # { 785s # GData *qdata; 785s # }; 785s # 785s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_proxy_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 785s # g_datalist_clear (&proxy->priv->qdata); 785s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # const GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 785s # const gchar *sender_name G_GNUC_UNUSED, 785s # const gchar *signal_name, 785s # GVariant *parameters) 785s # { 785s # _ExtendedGDBusSignalInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # gsize n; 785s # guint signal_id; 785s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 785s # if (info == NULL) 785s # return; 785s # num_params = g_variant_n_children (parameters); 785s # paramv = g_new0 (GValue, num_params + 1); 785s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[0], proxy); 785s # g_variant_iter_init (&iter, parameters); 785s # n = 1; 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_signal_emitv (paramv, signal_id, 0, NULL); 785s # for (n = 0; n < num_params + 1; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 785s # GVariant *changed_properties, 785s # const gchar *const *invalidated_properties) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 785s # guint n; 785s # const gchar *key; 785s # GVariantIter *iter; 785s # _ExtendedGDBusPropertyInfo *info; 785s # g_variant_get (changed_properties, "a{sv}", &iter); 785s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 785s # g_datalist_remove_data (&proxy->priv->qdata, key); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # g_variant_iter_free (iter); 785s # for (n = 0; invalidated_properties[n] != NULL; n++) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 785s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 785s # #else 785s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 785s # #endif 785s # 785s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusProxyClass *proxy_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 785s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 785s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 785s # 785s # proxy_class = G_DBUS_PROXY_CLASS (klass); 785s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 785s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_sync: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_sync ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new_for_bus ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_sync: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_sync ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeleton: 785s # * 785s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeletonClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 785s # { 785s # GValue *properties; 785s # GList *changed_properties; 785s # GSource *changed_properties_idle_source; 785s # GMainContext *context; 785s # GMutex lock; 785s # }; 785s # 785s # static void 785s # _org_project_useful_interface_skeleton_handle_method_call ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name, 785s # const gchar *method_name, 785s # GVariant *parameters, 785s # GDBusMethodInvocation *invocation, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # _ExtendedGDBusMethodInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # guint num_extra; 785s # gsize n; 785s # guint signal_id; 785s # GValue return_value = G_VALUE_INIT; 785s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 785s # g_assert (info != NULL); 785s # num_params = g_variant_n_children (parameters); 785s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 785s # n = 0; 785s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[n++], skeleton); 785s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 785s # g_value_set_object (¶mv[n++], invocation); 785s # if (info->pass_fdlist) 785s # { 785s # #ifdef G_OS_UNIX 785s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 785s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 785s # #else 785s # g_assert_not_reached (); 785s # #endif 785s # } 785s # g_variant_iter_init (&iter, parameters); 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_init (&return_value, G_TYPE_BOOLEAN); 785s # g_signal_emitv (paramv, signal_id, 0, &return_value); 785s # if (!g_value_get_boolean (&return_value)) 785s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 785s # g_value_unset (&return_value); 785s # for (n = 0; n < num_params + num_extra; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static GVariant * 785s # _org_project_useful_interface_skeleton_handle_get_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # GVariant *ret; 785s # ret = NULL; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # g_value_init (&value, pspec->value_type); 785s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 785s # g_value_unset (&value); 785s # } 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _org_project_useful_interface_skeleton_handle_set_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GVariant *variant, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # gboolean ret; 785s # ret = FALSE; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # if (info->use_gvariant) 785s # g_value_set_variant (&value, variant); 785s # else 785s # g_dbus_gvariant_to_gvalue (variant, &value); 785s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # g_value_unset (&value); 785s # ret = TRUE; 785s # } 785s # return ret; 785s # } 785s # 785s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 785s # { 785s # _org_project_useful_interface_skeleton_handle_method_call, 785s # _org_project_useful_interface_skeleton_handle_get_property, 785s # _org_project_useful_interface_skeleton_handle_set_property, 785s # {NULL} 785s # }; 785s # 785s # static GDBusInterfaceInfo * 785s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return org_project_useful_interface_interface_info (); 785s # } 785s # 785s # static GDBusInterfaceVTable * 785s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 785s # } 785s # 785s # static GVariant * 785s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 785s # 785s # GVariantBuilder builder; 785s # guint n; 785s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 785s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 785s # goto out; 785s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 785s # { 785s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 785s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 785s # { 785s # GVariant *value; 785s # 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); 785s # if (value != NULL) 785s # { 785s # g_variant_take_ref (value); 785s # g_variant_builder_add (&builder, "{sv}", info->name, value); 785s # g_variant_unref (value); 785s # } 785s # } 785s # } 785s # out: 785s # return g_variant_builder_end (&builder); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_skeleton_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 785s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 785s # if (skeleton->priv->changed_properties_idle_source != NULL) 785s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 785s # g_main_context_unref (skeleton->priv->context); 785s # g_mutex_clear (&skeleton->priv->lock); 785s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 785s # #else 785s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 785s # #endif 785s # 785s # g_mutex_init (&skeleton->priv->lock); 785s # skeleton->priv->context = g_main_context_ref_thread_default (); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusInterfaceSkeletonClass *skeleton_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 785s # 785s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 785s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 785s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 785s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 785s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_skeleton_new: 785s # * 785s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_skeleton_new (void) 785s # { 785s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 785s # } 785s # /tmp/tmpkasma2_h/tmp0wpa4uou.xml: 785s # 785s # 785s # 785s # 785s # 785s # 785s # 785s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkasma2_h/tmp0wpa4uou.xml', '--output', '-', '--body'] 785s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 785s # Output: /* 785s # * This file is generated by gdbus-codegen, do not modify it. 785s # * 785s # * The license of this code is the same as for the D-Bus interface description 785s # * it was derived from. Note that it links to GLib, so must comply with the 785s # * LGPL linking clauses. 785s # */ 785s # 785s # #ifdef HAVE_CONFIG_H 785s # # include "config.h" 785s # #endif 785s # 785s # #include 785s # #ifdef G_OS_UNIX 785s # # include 785s # #endif 785s # 785s # #ifdef G_ENABLE_DEBUG 785s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 785s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 785s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 785s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 785s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 785s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 785s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 785s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 785s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 785s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 785s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 785s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 785s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 785s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 785s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 785s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 785s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 785s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 785s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 785s # #else /* !G_ENABLE_DEBUG */ 785s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 785s # * Do not access GValues directly in your code. Instead, use the 785s # * g_value_get_*() functions 785s # */ 785s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 785s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 785s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 785s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 785s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 785s # #endif /* !G_ENABLE_DEBUG */ 785s # 785s # typedef struct 785s # { 785s # GDBusArgInfo parent_struct; 785s # gboolean use_gvariant; 785s # } _ExtendedGDBusArgInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusMethodInfo parent_struct; 785s # const gchar *signal_name; 785s # gboolean pass_fdlist; 785s # } _ExtendedGDBusMethodInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusSignalInfo parent_struct; 785s # const gchar *signal_name; 785s # } _ExtendedGDBusSignalInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusPropertyInfo parent_struct; 785s # const gchar *hyphen_name; 785s # guint use_gvariant : 1; 785s # guint emits_changed_signal : 1; 785s # } _ExtendedGDBusPropertyInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusInterfaceInfo parent_struct; 785s # const gchar *hyphen_name; 785s # } _ExtendedGDBusInterfaceInfo; 785s # 785s # typedef struct 785s # { 785s # const _ExtendedGDBusPropertyInfo *info; 785s # guint prop_id; 785s # GValue orig_value; /* the value before the change */ 785s # } ChangedProperty; 785s # 785s # static void 785s # _changed_property_free (ChangedProperty *data) 785s # { 785s # g_value_unset (&data->orig_value); 785s # g_free (data); 785s # } 785s # 785s # static gboolean 785s # _g_strv_equal0 (gchar **a, gchar **b) 785s # { 785s # gboolean ret = FALSE; 785s # guint n; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # if (g_strv_length (a) != g_strv_length (b)) 785s # goto out; 785s # for (n = 0; a[n] != NULL; n++) 785s # if (g_strcmp0 (a[n], b[n]) != 0) 785s # goto out; 785s # ret = TRUE; 785s # out: 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _g_variant_equal0 (GVariant *a, GVariant *b) 785s # { 785s # gboolean ret = FALSE; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # ret = g_variant_equal (a, b); 785s # out: 785s # return ret; 785s # } 785s # 785s # G_GNUC_UNUSED static gboolean 785s # _g_value_equal (const GValue *a, const GValue *b) 785s # { 785s # gboolean ret = FALSE; 785s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 785s # switch (G_VALUE_TYPE (a)) 785s # { 785s # case G_TYPE_BOOLEAN: 785s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 785s # break; 785s # case G_TYPE_UCHAR: 785s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 785s # break; 785s # case G_TYPE_INT: 785s # ret = (g_value_get_int (a) == g_value_get_int (b)); 785s # break; 785s # case G_TYPE_UINT: 785s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 785s # break; 785s # case G_TYPE_INT64: 785s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 785s # break; 785s # case G_TYPE_UINT64: 785s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 785s # break; 785s # case G_TYPE_DOUBLE: 785s # { 785s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 785s # gdouble da = g_value_get_double (a); 785s # gdouble db = g_value_get_double (b); 785s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 785s # } 785s # break; 785s # case G_TYPE_STRING: 785s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 785s # break; 785s # case G_TYPE_VARIANT: 785s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 785s # break; 785s # default: 785s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 785s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 785s # else 785s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 785s # break; 785s # } 785s # return ret; 785s # } 785s # 785s # static void 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint G_GNUC_UNUSED, 785s # void *marshal_data) 785s # { 785s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 785s # (void *data1, 785s # GDBusMethodInvocation *arg_method_invocation, 785s # gint arg_arg_i, 785s # void *data2); 785s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 785s # GCClosure *cc = (GCClosure*) closure; 785s # void *data1, *data2; 785s # gboolean v_return; 785s # 785s # g_return_if_fail (return_value != NULL); 785s # g_return_if_fail (n_param_values == 3); 785s # 785s # if (G_CCLOSURE_SWAP_DATA (closure)) 785s # { 785s # data1 = closure->data; 785s # data2 = g_value_peek_pointer (param_values + 0); 785s # } 785s # else 785s # { 785s # data1 = g_value_peek_pointer (param_values + 0); 785s # data2 = closure->data; 785s # } 785s # 785s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 785s # (marshal_data ? marshal_data : cc->callback); 785s # 785s # v_return = 785s # callback (data1, 785s # g_marshal_value_peek_object (param_values + 1), 785s # g_marshal_value_peek_int (param_values + 2), 785s # data2); 785s # 785s # g_value_set_boolean (return_value, v_return); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ 785s # * Code for interface org.project.UsefulInterface 785s # * ------------------------------------------------------------------------ 785s # */ 785s # 785s # /** 785s # * SECTION:OrgProjectUsefulInterface 785s # * @title: OrgProjectUsefulInterface 785s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 785s # * 785s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 785s # */ 785s # 785s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 785s # 785s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 785s # { 785s # { 785s # -1, 785s # (gchar *) "arg_i", 785s # (gchar *) "i", 785s # NULL 785s # }, 785s # FALSE 785s # }; 785s # 785s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 785s # { 785s # { 785s # -1, 785s # (gchar *) "SingleArgMethodI", 785s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 785s # NULL, 785s # NULL 785s # }, 785s # "handle-single-arg-method-i", 785s # FALSE 785s # }; 785s # 785s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 785s # { 785s # { 785s # -1, 785s # (gchar *) "org.project.UsefulInterface", 785s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 785s # NULL, 785s # NULL, 785s # NULL 785s # }, 785s # "org-project-useful-interface", 785s # }; 785s # 785s # 785s # /** 785s # * org_project_useful_interface_interface_info: 785s # * 785s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 785s # * 785s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 785s # */ 785s # GDBusInterfaceInfo * 785s # org_project_useful_interface_interface_info (void) 785s # { 785s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_override_properties: 785s # * @klass: The class structure for a #GObject derived class. 785s # * @property_id_begin: The property id to assign to the first overridden property. 785s # * 785s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 785s # * The properties are overridden in the order they are defined. 785s # * 785s # * Returns: The last property id. 785s # */ 785s # guint 785s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 785s # { 785s # return property_id_begin - 1; 785s # } 785s # 785s # 785s # inline static void 785s # org_project_useful_interface_method_marshal_single_arg_method_i ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint, 785s # void *marshal_data) 785s # { 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 785s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 785s # } 785s # 785s # 785s # /** 785s # * OrgProjectUsefulInterface: 785s # * 785s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceIface: 785s # * @parent_iface: The parent interface. 785s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 785s # * 785s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 785s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 785s # 785s # static void 785s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 785s # { 785s # /* GObject signals for incoming D-Bus method calls: */ 785s # /** 785s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: A #GDBusMethodInvocation. 785s # * @arg_arg_i: Argument passed by remote caller. 785s # * 785s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 785s # * 785s # * 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. 785s # * 785s # * 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. 785s # */ 785s # g_signal_new ("handle-single-arg-method-i", 785s # G_TYPE_FROM_INTERFACE (iface), 785s # G_SIGNAL_RUN_LAST, 785s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 785s # g_signal_accumulator_true_handled, 785s # NULL, 785s # org_project_useful_interface_method_marshal_single_arg_method_i, 785s # G_TYPE_BOOLEAN, 785s # 2, 785s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 785s # 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_i: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_i: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 785s # */ 785s # void 785s # org_project_useful_interface_call_single_arg_method_i ( 785s # OrgProjectUsefulInterface *proxy, 785s # gint arg_arg_i, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodI", 785s # g_variant_new ("(i)", 785s # arg_arg_i), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # callback, 785s # user_data); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_i_finish: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_i_finish ( 785s # OrgProjectUsefulInterface *proxy, 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_i_sync: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_i: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_i_sync ( 785s # OrgProjectUsefulInterface *proxy, 785s # gint arg_arg_i, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodI", 785s # g_variant_new ("(i)", 785s # arg_arg_i), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_complete_single_arg_method_i: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: (transfer full): A #GDBusMethodInvocation. 785s # * 785s # * 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. 785s # * 785s # * This method will free @invocation, you cannot use it afterwards. 785s # */ 785s # void 785s # org_project_useful_interface_complete_single_arg_method_i ( 785s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 785s # GDBusMethodInvocation *invocation) 785s # { 785s # g_dbus_method_invocation_return_value (invocation, 785s # g_variant_new ("()")); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxy: 785s # * 785s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxyClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceProxy. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceProxyPrivate 785s # { 785s # GData *qdata; 785s # }; 785s # 785s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_proxy_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 785s # g_datalist_clear (&proxy->priv->qdata); 785s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # const GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 785s # const gchar *sender_name G_GNUC_UNUSED, 785s # const gchar *signal_name, 785s # GVariant *parameters) 785s # { 785s # _ExtendedGDBusSignalInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # gsize n; 785s # guint signal_id; 785s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 785s # if (info == NULL) 785s # return; 785s # num_params = g_variant_n_children (parameters); 785s # paramv = g_new0 (GValue, num_params + 1); 785s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[0], proxy); 785s # g_variant_iter_init (&iter, parameters); 785s # n = 1; 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_signal_emitv (paramv, signal_id, 0, NULL); 785s # for (n = 0; n < num_params + 1; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 785s # GVariant *changed_properties, 785s # const gchar *const *invalidated_properties) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 785s # guint n; 785s # const gchar *key; 785s # GVariantIter *iter; 785s # _ExtendedGDBusPropertyInfo *info; 785s # g_variant_get (changed_properties, "a{sv}", &iter); 785s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 785s # g_datalist_remove_data (&proxy->priv->qdata, key); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # g_variant_iter_free (iter); 785s # for (n = 0; invalidated_properties[n] != NULL; n++) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 785s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 785s # #else 785s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 785s # #endif 785s # 785s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusProxyClass *proxy_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 785s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 785s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 785s # 785s # proxy_class = G_DBUS_PROXY_CLASS (klass); 785s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 785s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_sync: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_sync ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new_for_bus ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_sync: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_sync ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeleton: 785s # * 785s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeletonClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 785s # { 785s # GValue *properties; 785s # GList *changed_properties; 785s # GSource *changed_properties_idle_source; 785s # GMainContext *context; 785s # GMutex lock; 785s # }; 785s # 785s # static void 785s # _org_project_useful_interface_skeleton_handle_method_call ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name, 785s # const gchar *method_name, 785s # GVariant *parameters, 785s # GDBusMethodInvocation *invocation, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # _ExtendedGDBusMethodInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # guint num_extra; 785s # gsize n; 785s # guint signal_id; 785s # GValue return_value = G_VALUE_INIT; 785s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 785s # g_assert (info != NULL); 785s # num_params = g_variant_n_children (parameters); 785s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 785s # n = 0; 785s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[n++], skeleton); 785s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 785s # g_value_set_object (¶mv[n++], invocation); 785s # if (info->pass_fdlist) 785s # { 785s # #ifdef G_OS_UNIX 785s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 785s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 785s # #else 785s # g_assert_not_reached (); 785s # #endif 785s # } 785s # g_variant_iter_init (&iter, parameters); 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_init (&return_value, G_TYPE_BOOLEAN); 785s # g_signal_emitv (paramv, signal_id, 0, &return_value); 785s # if (!g_value_get_boolean (&return_value)) 785s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 785s # g_value_unset (&return_value); 785s # for (n = 0; n < num_params + num_extra; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static GVariant * 785s # _org_project_useful_interface_skeleton_handle_get_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # GVariant *ret; 785s # ret = NULL; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # g_value_init (&value, pspec->value_type); 785s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 785s # g_value_unset (&value); 785s # } 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _org_project_useful_interface_skeleton_handle_set_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GVariant *variant, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # gboolean ret; 785s # ret = FALSE; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # if (info->use_gvariant) 785s # g_value_set_variant (&value, variant); 785s # else 785s # g_dbus_gvariant_to_gvalue (variant, &value); 785s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # g_value_unset (&value); 785s # ret = TRUE; 785s # } 785s # return ret; 785s # } 785s # 785s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 785s # { 785s # _org_project_useful_interface_skeleton_handle_method_call, 785s # _org_project_useful_interface_skeleton_handle_get_property, 785s # _org_project_useful_interface_skeleton_handle_set_property, 785s # {NULL} 785s # }; 785s # 785s # static GDBusInterfaceInfo * 785s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return org_project_useful_interface_interface_info (); 785s # } 785s # 785s # static GDBusInterfaceVTable * 785s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 785s # } 785s # 785s # static GVariant * 785s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 785s # 785s # GVariantBuilder builder; 785s # guint n; 785s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 785s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 785s # goto out; 785s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 785s # { 785s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 785s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 785s # { 785s # GVariant *value; 785s # 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); 785s # if (value != NULL) 785s # { 785s # g_variant_take_ref (value); 785s # g_variant_builder_add (&builder, "{sv}", info->name, value); 785s # g_variant_unref (value); 785s # } 785s # } 785s # } 785s # out: 785s # return g_variant_builder_end (&builder); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_skeleton_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 785s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 785s # if (skeleton->priv->changed_properties_idle_source != NULL) 785s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 785s # g_main_context_unref (skeleton->priv->context); 785s # g_mutex_clear (&skeleton->priv->lock); 785s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 785s # #else 785s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 785s # #endif 785s # 785s # g_mutex_init (&skeleton->priv->lock); 785s # skeleton->priv->context = g_main_context_ref_thread_default (); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusInterfaceSkeletonClass *skeleton_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 785s # 785s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 785s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 785s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 785s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 785s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_skeleton_new: 785s # * 785s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_skeleton_new (void) 785s # { 785s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 785s # } 785s # /tmp/tmpkasma2_h/tmpbhnj2us6.xml: 785s # 785s # 785s # 785s # 785s # 785s # 785s # 785s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkasma2_h/tmpbhnj2us6.xml', '--output', '-', '--body'] 785s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 785s # Output: /* 785s # * This file is generated by gdbus-codegen, do not modify it. 785s # * 785s # * The license of this code is the same as for the D-Bus interface description 785s # * it was derived from. Note that it links to GLib, so must comply with the 785s # * LGPL linking clauses. 785s # */ 785s # 785s # #ifdef HAVE_CONFIG_H 785s # # include "config.h" 785s # #endif 785s # 785s # #include 785s # #ifdef G_OS_UNIX 785s # # include 785s # #endif 785s # 785s # #ifdef G_ENABLE_DEBUG 785s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 785s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 785s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 785s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 785s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 785s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 785s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 785s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 785s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 785s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 785s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 785s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 785s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 785s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 785s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 785s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 785s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 785s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 785s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 785s # #else /* !G_ENABLE_DEBUG */ 785s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 785s # * Do not access GValues directly in your code. Instead, use the 785s # * g_value_get_*() functions 785s # */ 785s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 785s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 785s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 785s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 785s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 785s # #endif /* !G_ENABLE_DEBUG */ 785s # 785s # typedef struct 785s # { 785s # GDBusArgInfo parent_struct; 785s # gboolean use_gvariant; 785s # } _ExtendedGDBusArgInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusMethodInfo parent_struct; 785s # const gchar *signal_name; 785s # gboolean pass_fdlist; 785s # } _ExtendedGDBusMethodInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusSignalInfo parent_struct; 785s # const gchar *signal_name; 785s # } _ExtendedGDBusSignalInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusPropertyInfo parent_struct; 785s # const gchar *hyphen_name; 785s # guint use_gvariant : 1; 785s # guint emits_changed_signal : 1; 785s # } _ExtendedGDBusPropertyInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusInterfaceInfo parent_struct; 785s # const gchar *hyphen_name; 785s # } _ExtendedGDBusInterfaceInfo; 785s # 785s # typedef struct 785s # { 785s # const _ExtendedGDBusPropertyInfo *info; 785s # guint prop_id; 785s # GValue orig_value; /* the value before the change */ 785s # } ChangedProperty; 785s # 785s # static void 785s # _changed_property_free (ChangedProperty *data) 785s # { 785s # g_value_unset (&data->orig_value); 785s # g_free (data); 785s # } 785s # 785s # static gboolean 785s # _g_strv_equal0 (gchar **a, gchar **b) 785s # { 785s # gboolean ret = FALSE; 785s # guint n; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # if (g_strv_length (a) != g_strv_length (b)) 785s # goto out; 785s # for (n = 0; a[n] != NULL; n++) 785s # if (g_strcmp0 (a[n], b[n]) != 0) 785s # goto out; 785s # ret = TRUE; 785s # out: 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _g_variant_equal0 (GVariant *a, GVariant *b) 785s # { 785s # gboolean ret = FALSE; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # ret = g_variant_equal (a, b); 785s # out: 785s # return ret; 785s # } 785s # 785s # G_GNUC_UNUSED static gboolean 785s # _g_value_equal (const GValue *a, const GValue *b) 785s # { 785s # gboolean ret = FALSE; 785s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 785s # switch (G_VALUE_TYPE (a)) 785s # { 785s # case G_TYPE_BOOLEAN: 785s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 785s # break; 785s # case G_TYPE_UCHAR: 785s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 785s # break; 785s # case G_TYPE_INT: 785s # ret = (g_value_get_int (a) == g_value_get_int (b)); 785s # break; 785s # case G_TYPE_UINT: 785s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 785s # break; 785s # case G_TYPE_INT64: 785s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 785s # break; 785s # case G_TYPE_UINT64: 785s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 785s # break; 785s # case G_TYPE_DOUBLE: 785s # { 785s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 785s # gdouble da = g_value_get_double (a); 785s # gdouble db = g_value_get_double (b); 785s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 785s # } 785s # break; 785s # case G_TYPE_STRING: 785s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 785s # break; 785s # case G_TYPE_VARIANT: 785s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 785s # break; 785s # default: 785s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 785s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 785s # else 785s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 785s # break; 785s # } 785s # return ret; 785s # } 785s # 785s # static void 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint G_GNUC_UNUSED, 785s # void *marshal_data) 785s # { 785s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 785s # (void *data1, 785s # GDBusMethodInvocation *arg_method_invocation, 785s # guint arg_arg_u, 785s # void *data2); 785s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 785s # GCClosure *cc = (GCClosure*) closure; 785s # void *data1, *data2; 785s # gboolean v_return; 785s # 785s # g_return_if_fail (return_value != NULL); 785s # g_return_if_fail (n_param_values == 3); 785s # 785s # if (G_CCLOSURE_SWAP_DATA (closure)) 785s # { 785s # data1 = closure->data; 785s # data2 = g_value_peek_pointer (param_values + 0); 785s # } 785s # else 785s # { 785s # data1 = g_value_peek_pointer (param_values + 0); 785s # data2 = closure->data; 785s # } 785s # 785s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 785s # (marshal_data ? marshal_data : cc->callback); 785s # 785s # v_return = 785s # callback (data1, 785s # g_marshal_value_peek_object (param_values + 1), 785s # g_marshal_value_peek_uint (param_values + 2), 785s # data2); 785s # 785s # g_value_set_boolean (return_value, v_return); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ 785s # * Code for interface org.project.UsefulInterface 785s # * ------------------------------------------------------------------------ 785s # */ 785s # 785s # /** 785s # * SECTION:OrgProjectUsefulInterface 785s # * @title: OrgProjectUsefulInterface 785s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 785s # * 785s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 785s # */ 785s # 785s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 785s # 785s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 785s # { 785s # { 785s # -1, 785s # (gchar *) "arg_u", 785s # (gchar *) "u", 785s # NULL 785s # }, 785s # FALSE 785s # }; 785s # 785s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 785s # { 785s # { 785s # -1, 785s # (gchar *) "SingleArgMethodU", 785s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 785s # NULL, 785s # NULL 785s # }, 785s # "handle-single-arg-method-u", 785s # FALSE 785s # }; 785s # 785s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 785s # { 785s # { 785s # -1, 785s # (gchar *) "org.project.UsefulInterface", 785s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 785s # NULL, 785s # NULL, 785s # NULL 785s # }, 785s # "org-project-useful-interface", 785s # }; 785s # 785s # 785s # /** 785s # * org_project_useful_interface_interface_info: 785s # * 785s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 785s # * 785s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 785s # */ 785s # GDBusInterfaceInfo * 785s # org_project_useful_interface_interface_info (void) 785s # { 785s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_override_properties: 785s # * @klass: The class structure for a #GObject derived class. 785s # * @property_id_begin: The property id to assign to the first overridden property. 785s # * 785s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 785s # * The properties are overridden in the order they are defined. 785s # * 785s # * Returns: The last property id. 785s # */ 785s # guint 785s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 785s # { 785s # return property_id_begin - 1; 785s # } 785s # 785s # 785s # inline static void 785s # org_project_useful_interface_method_marshal_single_arg_method_u ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint, 785s # void *marshal_data) 785s # { 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 785s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 785s # } 785s # 785s # 785s # /** 785s # * OrgProjectUsefulInterface: 785s # * 785s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceIface: 785s # * @parent_iface: The parent interface. 785s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 785s # * 785s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 785s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 785s # 785s # static void 785s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 785s # { 785s # /* GObject signals for incoming D-Bus method calls: */ 785s # /** 785s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: A #GDBusMethodInvocation. 785s # * @arg_arg_u: Argument passed by remote caller. 785s # * 785s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 785s # * 785s # * 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. 785s # * 785s # * 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. 785s # */ 785s # g_signal_new ("handle-single-arg-method-u", 785s # G_TYPE_FROM_INTERFACE (iface), 785s # G_SIGNAL_RUN_LAST, 785s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 785s # g_signal_accumulator_true_handled, 785s # NULL, 785s # org_project_useful_interface_method_marshal_single_arg_method_u, 785s # G_TYPE_BOOLEAN, 785s # 2, 785s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 785s # 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_u: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_u: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 785s # */ 785s # void 785s # org_project_useful_interface_call_single_arg_method_u ( 785s # OrgProjectUsefulInterface *proxy, 785s # guint arg_arg_u, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodU", 785s # g_variant_new ("(u)", 785s # arg_arg_u), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # callback, 785s # user_data); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_u_finish: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_u_finish ( 785s # OrgProjectUsefulInterface *proxy, 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_u_sync: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_u: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_u_sync ( 785s # OrgProjectUsefulInterface *proxy, 785s # guint arg_arg_u, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodU", 785s # g_variant_new ("(u)", 785s # arg_arg_u), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_complete_single_arg_method_u: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: (transfer full): A #GDBusMethodInvocation. 785s # * 785s # * 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. 785s # * 785s # * This method will free @invocation, you cannot use it afterwards. 785s # */ 785s # void 785s # org_project_useful_interface_complete_single_arg_method_u ( 785s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 785s # GDBusMethodInvocation *invocation) 785s # { 785s # g_dbus_method_invocation_return_value (invocation, 785s # g_variant_new ("()")); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxy: 785s # * 785s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxyClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceProxy. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceProxyPrivate 785s # { 785s # GData *qdata; 785s # }; 785s # 785s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_proxy_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 785s # g_datalist_clear (&proxy->priv->qdata); 785s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # const GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 785s # const gchar *sender_name G_GNUC_UNUSED, 785s # const gchar *signal_name, 785s # GVariant *parameters) 785s # { 785s # _ExtendedGDBusSignalInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # gsize n; 785s # guint signal_id; 785s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 785s # if (info == NULL) 785s # return; 785s # num_params = g_variant_n_children (parameters); 785s # paramv = g_new0 (GValue, num_params + 1); 785s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[0], proxy); 785s # g_variant_iter_init (&iter, parameters); 785s # n = 1; 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_signal_emitv (paramv, signal_id, 0, NULL); 785s # for (n = 0; n < num_params + 1; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 785s # GVariant *changed_properties, 785s # const gchar *const *invalidated_properties) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 785s # guint n; 785s # const gchar *key; 785s # GVariantIter *iter; 785s # _ExtendedGDBusPropertyInfo *info; 785s # g_variant_get (changed_properties, "a{sv}", &iter); 785s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 785s # g_datalist_remove_data (&proxy->priv->qdata, key); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # g_variant_iter_free (iter); 785s # for (n = 0; invalidated_properties[n] != NULL; n++) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 785s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 785s # #else 785s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 785s # #endif 785s # 785s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusProxyClass *proxy_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 785s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 785s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 785s # 785s # proxy_class = G_DBUS_PROXY_CLASS (klass); 785s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 785s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_sync: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_sync ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new_for_bus ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_sync: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_sync ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeleton: 785s # * 785s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeletonClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 785s # { 785s # GValue *properties; 785s # GList *changed_properties; 785s # GSource *changed_properties_idle_source; 785s # GMainContext *context; 785s # GMutex lock; 785s # }; 785s # 785s # static void 785s # _org_project_useful_interface_skeleton_handle_method_call ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name, 785s # const gchar *method_name, 785s # GVariant *parameters, 785s # GDBusMethodInvocation *invocation, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # _ExtendedGDBusMethodInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # guint num_extra; 785s # gsize n; 785s # guint signal_id; 785s # GValue return_value = G_VALUE_INIT; 785s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 785s # g_assert (info != NULL); 785s # num_params = g_variant_n_children (parameters); 785s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 785s # n = 0; 785s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[n++], skeleton); 785s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 785s # g_value_set_object (¶mv[n++], invocation); 785s # if (info->pass_fdlist) 785s # { 785s # #ifdef G_OS_UNIX 785s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 785s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 785s # #else 785s # g_assert_not_reached (); 785s # #endif 785s # } 785s # g_variant_iter_init (&iter, parameters); 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_init (&return_value, G_TYPE_BOOLEAN); 785s # g_signal_emitv (paramv, signal_id, 0, &return_value); 785s # if (!g_value_get_boolean (&return_value)) 785s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 785s # g_value_unset (&return_value); 785s # for (n = 0; n < num_params + num_extra; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static GVariant * 785s # _org_project_useful_interface_skeleton_handle_get_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # GVariant *ret; 785s # ret = NULL; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # g_value_init (&value, pspec->value_type); 785s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 785s # g_value_unset (&value); 785s # } 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _org_project_useful_interface_skeleton_handle_set_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GVariant *variant, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # gboolean ret; 785s # ret = FALSE; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # if (info->use_gvariant) 785s # g_value_set_variant (&value, variant); 785s # else 785s # g_dbus_gvariant_to_gvalue (variant, &value); 785s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # g_value_unset (&value); 785s # ret = TRUE; 785s # } 785s # return ret; 785s # } 785s # 785s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 785s # { 785s # _org_project_useful_interface_skeleton_handle_method_call, 785s # _org_project_useful_interface_skeleton_handle_get_property, 785s # _org_project_useful_interface_skeleton_handle_set_property, 785s # {NULL} 785s # }; 785s # 785s # static GDBusInterfaceInfo * 785s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return org_project_useful_interface_interface_info (); 785s # } 785s # 785s # static GDBusInterfaceVTable * 785s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 785s # } 785s # 785s # static GVariant * 785s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 785s # 785s # GVariantBuilder builder; 785s # guint n; 785s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 785s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 785s # goto out; 785s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 785s # { 785s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 785s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 785s # { 785s # GVariant *value; 785s # 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); 785s # if (value != NULL) 785s # { 785s # g_variant_take_ref (value); 785s # g_variant_builder_add (&builder, "{sv}", info->name, value); 785s # g_variant_unref (value); 785s # } 785s # } 785s # } 785s # out: 785s # return g_variant_builder_end (&builder); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_skeleton_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 785s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 785s # if (skeleton->priv->changed_properties_idle_source != NULL) 785s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 785s # g_main_context_unref (skeleton->priv->context); 785s # g_mutex_clear (&skeleton->priv->lock); 785s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 785s # #else 785s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 785s # #endif 785s # 785s # g_mutex_init (&skeleton->priv->lock); 785s # skeleton->priv->context = g_main_context_ref_thread_default (); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusInterfaceSkeletonClass *skeleton_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 785s # 785s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 785s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 785s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 785s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 785s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_skeleton_new: 785s # * 785s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_skeleton_new (void) 785s # { 785s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 785s # } 785s # /tmp/tmpkasma2_h/tmpo7qyrkjx.xml: 785s # 785s # 785s # 785s # 785s # 785s # 785s # 785s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkasma2_h/tmpo7qyrkjx.xml', '--output', '-', '--body'] 785s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 785s # Output: /* 785s # * This file is generated by gdbus-codegen, do not modify it. 785s # * 785s # * The license of this code is the same as for the D-Bus interface description 785s # * it was derived from. Note that it links to GLib, so must comply with the 785s # * LGPL linking clauses. 785s # */ 785s # 785s # #ifdef HAVE_CONFIG_H 785s # # include "config.h" 785s # #endif 785s # 785s # #include 785s # #ifdef G_OS_UNIX 785s # # include 785s # #endif 785s # 785s # #ifdef G_ENABLE_DEBUG 785s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 785s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 785s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 785s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 785s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 785s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 785s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 785s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 785s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 785s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 785s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 785s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 785s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 785s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 785s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 785s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 785s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 785s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 785s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 785s # #else /* !G_ENABLE_DEBUG */ 785s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 785s # * Do not access GValues directly in your code. Instead, use the 785s # * g_value_get_*() functions 785s # */ 785s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 785s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 785s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 785s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 785s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 785s # #endif /* !G_ENABLE_DEBUG */ 785s # 785s # typedef struct 785s # { 785s # GDBusArgInfo parent_struct; 785s # gboolean use_gvariant; 785s # } _ExtendedGDBusArgInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusMethodInfo parent_struct; 785s # const gchar *signal_name; 785s # gboolean pass_fdlist; 785s # } _ExtendedGDBusMethodInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusSignalInfo parent_struct; 785s # const gchar *signal_name; 785s # } _ExtendedGDBusSignalInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusPropertyInfo parent_struct; 785s # const gchar *hyphen_name; 785s # guint use_gvariant : 1; 785s # guint emits_changed_signal : 1; 785s # } _ExtendedGDBusPropertyInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusInterfaceInfo parent_struct; 785s # const gchar *hyphen_name; 785s # } _ExtendedGDBusInterfaceInfo; 785s # 785s # typedef struct 785s # { 785s # const _ExtendedGDBusPropertyInfo *info; 785s # guint prop_id; 785s # GValue orig_value; /* the value before the change */ 785s # } ChangedProperty; 785s # 785s # static void 785s # _changed_property_free (ChangedProperty *data) 785s # { 785s # g_value_unset (&data->orig_value); 785s # g_free (data); 785s # } 785s # 785s # static gboolean 785s # _g_strv_equal0 (gchar **a, gchar **b) 785s # { 785s # gboolean ret = FALSE; 785s # guint n; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # if (g_strv_length (a) != g_strv_length (b)) 785s # goto out; 785s # for (n = 0; a[n] != NULL; n++) 785s # if (g_strcmp0 (a[n], b[n]) != 0) 785s # goto out; 785s # ret = TRUE; 785s # out: 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _g_variant_equal0 (GVariant *a, GVariant *b) 785s # { 785s # gboolean ret = FALSE; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # ret = g_variant_equal (a, b); 785s # out: 785s # return ret; 785s # } 785s # 785s # G_GNUC_UNUSED static gboolean 785s # _g_value_equal (const GValue *a, const GValue *b) 785s # { 785s # gboolean ret = FALSE; 785s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 785s # switch (G_VALUE_TYPE (a)) 785s # { 785s # case G_TYPE_BOOLEAN: 785s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 785s # break; 785s # case G_TYPE_UCHAR: 785s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 785s # break; 785s # case G_TYPE_INT: 785s # ret = (g_value_get_int (a) == g_value_get_int (b)); 785s # break; 785s # case G_TYPE_UINT: 785s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 785s # break; 785s # case G_TYPE_INT64: 785s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 785s # break; 785s # case G_TYPE_UINT64: 785s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 785s # break; 785s # case G_TYPE_DOUBLE: 785s # { 785s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 785s # gdouble da = g_value_get_double (a); 785s # gdouble db = g_value_get_double (b); 785s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 785s # } 785s # break; 785s # case G_TYPE_STRING: 785s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 785s # break; 785s # case G_TYPE_VARIANT: 785s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 785s # break; 785s # default: 785s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 785s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 785s # else 785s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 785s # break; 785s # } 785s # return ret; 785s # } 785s # 785s # static void 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint G_GNUC_UNUSED, 785s # void *marshal_data) 785s # { 785s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 785s # (void *data1, 785s # GDBusMethodInvocation *arg_method_invocation, 785s # gint64 arg_arg_x, 785s # void *data2); 785s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 785s # GCClosure *cc = (GCClosure*) closure; 785s # void *data1, *data2; 785s # gboolean v_return; 785s # 785s # g_return_if_fail (return_value != NULL); 785s # g_return_if_fail (n_param_values == 3); 785s # 785s # if (G_CCLOSURE_SWAP_DATA (closure)) 785s # { 785s # data1 = closure->data; 785s # data2 = g_value_peek_pointer (param_values + 0); 785s # } 785s # else 785s # { 785s # data1 = g_value_peek_pointer (param_values + 0); 785s # data2 = closure->data; 785s # } 785s # 785s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 785s # (marshal_data ? marshal_data : cc->callback); 785s # 785s # v_return = 785s # callback (data1, 785s # g_marshal_value_peek_object (param_values + 1), 785s # g_marshal_value_peek_int64 (param_values + 2), 785s # data2); 785s # 785s # g_value_set_boolean (return_value, v_return); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ 785s # * Code for interface org.project.UsefulInterface 785s # * ------------------------------------------------------------------------ 785s # */ 785s # 785s # /** 785s # * SECTION:OrgProjectUsefulInterface 785s # * @title: OrgProjectUsefulInterface 785s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 785s # * 785s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 785s # */ 785s # 785s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 785s # 785s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 785s # { 785s # { 785s # -1, 785s # (gchar *) "arg_x", 785s # (gchar *) "x", 785s # NULL 785s # }, 785s # FALSE 785s # }; 785s # 785s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 785s # { 785s # { 785s # -1, 785s # (gchar *) "SingleArgMethodX", 785s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 785s # NULL, 785s # NULL 785s # }, 785s # "handle-single-arg-method-x", 785s # FALSE 785s # }; 785s # 785s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 785s # { 785s # { 785s # -1, 785s # (gchar *) "org.project.UsefulInterface", 785s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 785s # NULL, 785s # NULL, 785s # NULL 785s # }, 785s # "org-project-useful-interface", 785s # }; 785s # 785s # 785s # /** 785s # * org_project_useful_interface_interface_info: 785s # * 785s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 785s # * 785s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 785s # */ 785s # GDBusInterfaceInfo * 785s # org_project_useful_interface_interface_info (void) 785s # { 785s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_override_properties: 785s # * @klass: The class structure for a #GObject derived class. 785s # * @property_id_begin: The property id to assign to the first overridden property. 785s # * 785s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 785s # * The properties are overridden in the order they are defined. 785s # * 785s # * Returns: The last property id. 785s # */ 785s # guint 785s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 785s # { 785s # return property_id_begin - 1; 785s # } 785s # 785s # 785s # inline static void 785s # org_project_useful_interface_method_marshal_single_arg_method_x ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint, 785s # void *marshal_data) 785s # { 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 785s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 785s # } 785s # 785s # 785s # /** 785s # * OrgProjectUsefulInterface: 785s # * 785s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceIface: 785s # * @parent_iface: The parent interface. 785s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 785s # * 785s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 785s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 785s # 785s # static void 785s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 785s # { 785s # /* GObject signals for incoming D-Bus method calls: */ 785s # /** 785s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: A #GDBusMethodInvocation. 785s # * @arg_arg_x: Argument passed by remote caller. 785s # * 785s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 785s # * 785s # * 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. 785s # * 785s # * 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. 785s # */ 785s # g_signal_new ("handle-single-arg-method-x", 785s # G_TYPE_FROM_INTERFACE (iface), 785s # G_SIGNAL_RUN_LAST, 785s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 785s # g_signal_accumulator_true_handled, 785s # NULL, 785s # org_project_useful_interface_method_marshal_single_arg_method_x, 785s # G_TYPE_BOOLEAN, 785s # 2, 785s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 785s # 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_x: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_x: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 785s # */ 785s # void 785s # org_project_useful_interface_call_single_arg_method_x ( 785s # OrgProjectUsefulInterface *proxy, 785s # gint64 arg_arg_x, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodX", 785s # g_variant_new ("(x)", 785s # arg_arg_x), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # callback, 785s # user_data); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_x_finish: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_x_finish ( 785s # OrgProjectUsefulInterface *proxy, 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_x_sync: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_x: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_x_sync ( 785s # OrgProjectUsefulInterface *proxy, 785s # gint64 arg_arg_x, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodX", 785s # g_variant_new ("(x)", 785s # arg_arg_x), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_complete_single_arg_method_x: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: (transfer full): A #GDBusMethodInvocation. 785s # * 785s # * 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. 785s # * 785s # * This method will free @invocation, you cannot use it afterwards. 785s # */ 785s # void 785s # org_project_useful_interface_complete_single_arg_method_x ( 785s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 785s # GDBusMethodInvocation *invocation) 785s # { 785s # g_dbus_method_invocation_return_value (invocation, 785s # g_variant_new ("()")); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxy: 785s # * 785s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxyClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceProxy. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceProxyPrivate 785s # { 785s # GData *qdata; 785s # }; 785s # 785s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_proxy_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 785s # g_datalist_clear (&proxy->priv->qdata); 785s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # const GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 785s # const gchar *sender_name G_GNUC_UNUSED, 785s # const gchar *signal_name, 785s # GVariant *parameters) 785s # { 785s # _ExtendedGDBusSignalInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # gsize n; 785s # guint signal_id; 785s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 785s # if (info == NULL) 785s # return; 785s # num_params = g_variant_n_children (parameters); 785s # paramv = g_new0 (GValue, num_params + 1); 785s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[0], proxy); 785s # g_variant_iter_init (&iter, parameters); 785s # n = 1; 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_signal_emitv (paramv, signal_id, 0, NULL); 785s # for (n = 0; n < num_params + 1; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 785s # GVariant *changed_properties, 785s # const gchar *const *invalidated_properties) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 785s # guint n; 785s # const gchar *key; 785s # GVariantIter *iter; 785s # _ExtendedGDBusPropertyInfo *info; 785s # g_variant_get (changed_properties, "a{sv}", &iter); 785s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 785s # g_datalist_remove_data (&proxy->priv->qdata, key); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # g_variant_iter_free (iter); 785s # for (n = 0; invalidated_properties[n] != NULL; n++) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 785s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 785s # #else 785s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 785s # #endif 785s # 785s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusProxyClass *proxy_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 785s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 785s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 785s # 785s # proxy_class = G_DBUS_PROXY_CLASS (klass); 785s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 785s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_sync: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_sync ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new_for_bus ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_sync: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_sync ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeleton: 785s # * 785s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeletonClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 785s # { 785s # GValue *properties; 785s # GList *changed_properties; 785s # GSource *changed_properties_idle_source; 785s # GMainContext *context; 785s # GMutex lock; 785s # }; 785s # 785s # static void 785s # _org_project_useful_interface_skeleton_handle_method_call ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name, 785s # const gchar *method_name, 785s # GVariant *parameters, 785s # GDBusMethodInvocation *invocation, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # _ExtendedGDBusMethodInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # guint num_extra; 785s # gsize n; 785s # guint signal_id; 785s # GValue return_value = G_VALUE_INIT; 785s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 785s # g_assert (info != NULL); 785s # num_params = g_variant_n_children (parameters); 785s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 785s # n = 0; 785s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[n++], skeleton); 785s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 785s # g_value_set_object (¶mv[n++], invocation); 785s # if (info->pass_fdlist) 785s # { 785s # #ifdef G_OS_UNIX 785s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 785s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 785s # #else 785s # g_assert_not_reached (); 785s # #endif 785s # } 785s # g_variant_iter_init (&iter, parameters); 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_init (&return_value, G_TYPE_BOOLEAN); 785s # g_signal_emitv (paramv, signal_id, 0, &return_value); 785s # if (!g_value_get_boolean (&return_value)) 785s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 785s # g_value_unset (&return_value); 785s # for (n = 0; n < num_params + num_extra; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static GVariant * 785s # _org_project_useful_interface_skeleton_handle_get_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # GVariant *ret; 785s # ret = NULL; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # g_value_init (&value, pspec->value_type); 785s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 785s # g_value_unset (&value); 785s # } 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _org_project_useful_interface_skeleton_handle_set_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GVariant *variant, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # gboolean ret; 785s # ret = FALSE; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # if (info->use_gvariant) 785s # g_value_set_variant (&value, variant); 785s # else 785s # g_dbus_gvariant_to_gvalue (variant, &value); 785s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # g_value_unset (&value); 785s # ret = TRUE; 785s # } 785s # return ret; 785s # } 785s # 785s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 785s # { 785s # _org_project_useful_interface_skeleton_handle_method_call, 785s # _org_project_useful_interface_skeleton_handle_get_property, 785s # _org_project_useful_interface_skeleton_handle_set_property, 785s # {NULL} 785s # }; 785s # 785s # static GDBusInterfaceInfo * 785s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return org_project_useful_interface_interface_info (); 785s # } 785s # 785s # static GDBusInterfaceVTable * 785s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 785s # } 785s # 785s # static GVariant * 785s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 785s # 785s # GVariantBuilder builder; 785s # guint n; 785s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 785s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 785s # goto out; 785s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 785s # { 785s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 785s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 785s # { 785s # GVariant *value; 785s # 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); 785s # if (value != NULL) 785s # { 785s # g_variant_take_ref (value); 785s # g_variant_builder_add (&builder, "{sv}", info->name, value); 785s # g_variant_unref (value); 785s # } 785s # } 785s # } 785s # out: 785s # return g_variant_builder_end (&builder); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_skeleton_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 785s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 785s # if (skeleton->priv->changed_properties_idle_source != NULL) 785s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 785s # g_main_context_unref (skeleton->priv->context); 785s # g_mutex_clear (&skeleton->priv->lock); 785s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 785s # #else 785s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 785s # #endif 785s # 785s # g_mutex_init (&skeleton->priv->lock); 785s # skeleton->priv->context = g_main_context_ref_thread_default (); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusInterfaceSkeletonClass *skeleton_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 785s # 785s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 785s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 785s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 785s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 785s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_skeleton_new: 785s # * 785s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_skeleton_new (void) 785s # { 785s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 785s # } 785s # /tmp/tmpkasma2_h/tmpnt8qtmfu.xml: 785s # 785s # 785s # 785s # 785s # 785s # 785s # 785s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkasma2_h/tmpnt8qtmfu.xml', '--output', '-', '--body'] 785s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 785s # Output: /* 785s # * This file is generated by gdbus-codegen, do not modify it. 785s # * 785s # * The license of this code is the same as for the D-Bus interface description 785s # * it was derived from. Note that it links to GLib, so must comply with the 785s # * LGPL linking clauses. 785s # */ 785s # 785s # #ifdef HAVE_CONFIG_H 785s # # include "config.h" 785s # #endif 785s # 785s # #include 785s # #ifdef G_OS_UNIX 785s # # include 785s # #endif 785s # 785s # #ifdef G_ENABLE_DEBUG 785s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 785s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 785s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 785s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 785s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 785s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 785s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 785s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 785s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 785s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 785s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 785s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 785s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 785s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 785s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 785s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 785s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 785s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 785s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 785s # #else /* !G_ENABLE_DEBUG */ 785s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 785s # * Do not access GValues directly in your code. Instead, use the 785s # * g_value_get_*() functions 785s # */ 785s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 785s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 785s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 785s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 785s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 785s # #endif /* !G_ENABLE_DEBUG */ 785s # 785s # typedef struct 785s # { 785s # GDBusArgInfo parent_struct; 785s # gboolean use_gvariant; 785s # } _ExtendedGDBusArgInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusMethodInfo parent_struct; 785s # const gchar *signal_name; 785s # gboolean pass_fdlist; 785s # } _ExtendedGDBusMethodInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusSignalInfo parent_struct; 785s # const gchar *signal_name; 785s # } _ExtendedGDBusSignalInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusPropertyInfo parent_struct; 785s # const gchar *hyphen_name; 785s # guint use_gvariant : 1; 785s # guint emits_changed_signal : 1; 785s # } _ExtendedGDBusPropertyInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusInterfaceInfo parent_struct; 785s # const gchar *hyphen_name; 785s # } _ExtendedGDBusInterfaceInfo; 785s # 785s # typedef struct 785s # { 785s # const _ExtendedGDBusPropertyInfo *info; 785s # guint prop_id; 785s # GValue orig_value; /* the value before the change */ 785s # } ChangedProperty; 785s # 785s # static void 785s # _changed_property_free (ChangedProperty *data) 785s # { 785s # g_value_unset (&data->orig_value); 785s # g_free (data); 785s # } 785s # 785s # static gboolean 785s # _g_strv_equal0 (gchar **a, gchar **b) 785s # { 785s # gboolean ret = FALSE; 785s # guint n; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # if (g_strv_length (a) != g_strv_length (b)) 785s # goto out; 785s # for (n = 0; a[n] != NULL; n++) 785s # if (g_strcmp0 (a[n], b[n]) != 0) 785s # goto out; 785s # ret = TRUE; 785s # out: 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _g_variant_equal0 (GVariant *a, GVariant *b) 785s # { 785s # gboolean ret = FALSE; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # ret = g_variant_equal (a, b); 785s # out: 785s # return ret; 785s # } 785s # 785s # G_GNUC_UNUSED static gboolean 785s # _g_value_equal (const GValue *a, const GValue *b) 785s # { 785s # gboolean ret = FALSE; 785s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 785s # switch (G_VALUE_TYPE (a)) 785s # { 785s # case G_TYPE_BOOLEAN: 785s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 785s # break; 785s # case G_TYPE_UCHAR: 785s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 785s # break; 785s # case G_TYPE_INT: 785s # ret = (g_value_get_int (a) == g_value_get_int (b)); 785s # break; 785s # case G_TYPE_UINT: 785s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 785s # break; 785s # case G_TYPE_INT64: 785s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 785s # break; 785s # case G_TYPE_UINT64: 785s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 785s # break; 785s # case G_TYPE_DOUBLE: 785s # { 785s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 785s # gdouble da = g_value_get_double (a); 785s # gdouble db = g_value_get_double (b); 785s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 785s # } 785s # break; 785s # case G_TYPE_STRING: 785s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 785s # break; 785s # case G_TYPE_VARIANT: 785s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 785s # break; 785s # default: 785s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 785s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 785s # else 785s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 785s # break; 785s # } 785s # return ret; 785s # } 785s # 785s # static void 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint G_GNUC_UNUSED, 785s # void *marshal_data) 785s # { 785s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 785s # (void *data1, 785s # GDBusMethodInvocation *arg_method_invocation, 785s # guint64 arg_arg_t, 785s # void *data2); 785s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 785s # GCClosure *cc = (GCClosure*) closure; 785s # void *data1, *data2; 785s # gboolean v_return; 785s # 785s # g_return_if_fail (return_value != NULL); 785s # g_return_if_fail (n_param_values == 3); 785s # 785s # if (G_CCLOSURE_SWAP_DATA (closure)) 785s # { 785s # data1 = closure->data; 785s # data2 = g_value_peek_pointer (param_values + 0); 785s # } 785s # else 785s # { 785s # data1 = g_value_peek_pointer (param_values + 0); 785s # data2 = closure->data; 785s # } 785s # 785s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 785s # (marshal_data ? marshal_data : cc->callback); 785s # 785s # v_return = 785s # callback (data1, 785s # g_marshal_value_peek_object (param_values + 1), 785s # g_marshal_value_peek_uint64 (param_values + 2), 785s # data2); 785s # 785s # g_value_set_boolean (return_value, v_return); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ 785s # * Code for interface org.project.UsefulInterface 785s # * ------------------------------------------------------------------------ 785s # */ 785s # 785s # /** 785s # * SECTION:OrgProjectUsefulInterface 785s # * @title: OrgProjectUsefulInterface 785s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 785s # * 785s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 785s # */ 785s # 785s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 785s # 785s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 785s # { 785s # { 785s # -1, 785s # (gchar *) "arg_t", 785s # (gchar *) "t", 785s # NULL 785s # }, 785s # FALSE 785s # }; 785s # 785s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 785s # { 785s # { 785s # -1, 785s # (gchar *) "SingleArgMethodT", 785s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 785s # NULL, 785s # NULL 785s # }, 785s # "handle-single-arg-method-t", 785s # FALSE 785s # }; 785s # 785s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 785s # { 785s # { 785s # -1, 785s # (gchar *) "org.project.UsefulInterface", 785s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 785s # NULL, 785s # NULL, 785s # NULL 785s # }, 785s # "org-project-useful-interface", 785s # }; 785s # 785s # 785s # /** 785s # * org_project_useful_interface_interface_info: 785s # * 785s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 785s # * 785s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 785s # */ 785s # GDBusInterfaceInfo * 785s # org_project_useful_interface_interface_info (void) 785s # { 785s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_override_properties: 785s # * @klass: The class structure for a #GObject derived class. 785s # * @property_id_begin: The property id to assign to the first overridden property. 785s # * 785s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 785s # * The properties are overridden in the order they are defined. 785s # * 785s # * Returns: The last property id. 785s # */ 785s # guint 785s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 785s # { 785s # return property_id_begin - 1; 785s # } 785s # 785s # 785s # inline static void 785s # org_project_useful_interface_method_marshal_single_arg_method_t ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint, 785s # void *marshal_data) 785s # { 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 785s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 785s # } 785s # 785s # 785s # /** 785s # * OrgProjectUsefulInterface: 785s # * 785s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceIface: 785s # * @parent_iface: The parent interface. 785s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 785s # * 785s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 785s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 785s # 785s # static void 785s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 785s # { 785s # /* GObject signals for incoming D-Bus method calls: */ 785s # /** 785s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: A #GDBusMethodInvocation. 785s # * @arg_arg_t: Argument passed by remote caller. 785s # * 785s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 785s # * 785s # * 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. 785s # * 785s # * 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. 785s # */ 785s # g_signal_new ("handle-single-arg-method-t", 785s # G_TYPE_FROM_INTERFACE (iface), 785s # G_SIGNAL_RUN_LAST, 785s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 785s # g_signal_accumulator_true_handled, 785s # NULL, 785s # org_project_useful_interface_method_marshal_single_arg_method_t, 785s # G_TYPE_BOOLEAN, 785s # 2, 785s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 785s # 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_t: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_t: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 785s # */ 785s # void 785s # org_project_useful_interface_call_single_arg_method_t ( 785s # OrgProjectUsefulInterface *proxy, 785s # guint64 arg_arg_t, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodT", 785s # g_variant_new ("(t)", 785s # arg_arg_t), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # callback, 785s # user_data); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_t_finish: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_t_finish ( 785s # OrgProjectUsefulInterface *proxy, 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_t_sync: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_t: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_t_sync ( 785s # OrgProjectUsefulInterface *proxy, 785s # guint64 arg_arg_t, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodT", 785s # g_variant_new ("(t)", 785s # arg_arg_t), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_complete_single_arg_method_t: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: (transfer full): A #GDBusMethodInvocation. 785s # * 785s # * 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. 785s # * 785s # * This method will free @invocation, you cannot use it afterwards. 785s # */ 785s # void 785s # org_project_useful_interface_complete_single_arg_method_t ( 785s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 785s # GDBusMethodInvocation *invocation) 785s # { 785s # g_dbus_method_invocation_return_value (invocation, 785s # g_variant_new ("()")); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxy: 785s # * 785s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxyClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceProxy. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceProxyPrivate 785s # { 785s # GData *qdata; 785s # }; 785s # 785s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_proxy_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 785s # g_datalist_clear (&proxy->priv->qdata); 785s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # const GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 785s # const gchar *sender_name G_GNUC_UNUSED, 785s # const gchar *signal_name, 785s # GVariant *parameters) 785s # { 785s # _ExtendedGDBusSignalInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # gsize n; 785s # guint signal_id; 785s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 785s # if (info == NULL) 785s # return; 785s # num_params = g_variant_n_children (parameters); 785s # paramv = g_new0 (GValue, num_params + 1); 785s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[0], proxy); 785s # g_variant_iter_init (&iter, parameters); 785s # n = 1; 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_signal_emitv (paramv, signal_id, 0, NULL); 785s # for (n = 0; n < num_params + 1; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 785s # GVariant *changed_properties, 785s # const gchar *const *invalidated_properties) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 785s # guint n; 785s # const gchar *key; 785s # GVariantIter *iter; 785s # _ExtendedGDBusPropertyInfo *info; 785s # g_variant_get (changed_properties, "a{sv}", &iter); 785s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 785s # g_datalist_remove_data (&proxy->priv->qdata, key); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # g_variant_iter_free (iter); 785s # for (n = 0; invalidated_properties[n] != NULL; n++) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 785s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 785s # #else 785s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 785s # #endif 785s # 785s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusProxyClass *proxy_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 785s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 785s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 785s # 785s # proxy_class = G_DBUS_PROXY_CLASS (klass); 785s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 785s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_sync: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_sync ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new_for_bus ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_sync: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_sync ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeleton: 785s # * 785s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeletonClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 785s # { 785s # GValue *properties; 785s # GList *changed_properties; 785s # GSource *changed_properties_idle_source; 785s # GMainContext *context; 785s # GMutex lock; 785s # }; 785s # 785s # static void 785s # _org_project_useful_interface_skeleton_handle_method_call ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name, 785s # const gchar *method_name, 785s # GVariant *parameters, 785s # GDBusMethodInvocation *invocation, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # _ExtendedGDBusMethodInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # guint num_extra; 785s # gsize n; 785s # guint signal_id; 785s # GValue return_value = G_VALUE_INIT; 785s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 785s # g_assert (info != NULL); 785s # num_params = g_variant_n_children (parameters); 785s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 785s # n = 0; 785s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[n++], skeleton); 785s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 785s # g_value_set_object (¶mv[n++], invocation); 785s # if (info->pass_fdlist) 785s # { 785s # #ifdef G_OS_UNIX 785s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 785s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 785s # #else 785s # g_assert_not_reached (); 785s # #endif 785s # } 785s # g_variant_iter_init (&iter, parameters); 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_init (&return_value, G_TYPE_BOOLEAN); 785s # g_signal_emitv (paramv, signal_id, 0, &return_value); 785s # if (!g_value_get_boolean (&return_value)) 785s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 785s # g_value_unset (&return_value); 785s # for (n = 0; n < num_params + num_extra; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static GVariant * 785s # _org_project_useful_interface_skeleton_handle_get_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # GVariant *ret; 785s # ret = NULL; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # g_value_init (&value, pspec->value_type); 785s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 785s # g_value_unset (&value); 785s # } 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _org_project_useful_interface_skeleton_handle_set_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GVariant *variant, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # gboolean ret; 785s # ret = FALSE; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # if (info->use_gvariant) 785s # g_value_set_variant (&value, variant); 785s # else 785s # g_dbus_gvariant_to_gvalue (variant, &value); 785s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # g_value_unset (&value); 785s # ret = TRUE; 785s # } 785s # return ret; 785s # } 785s # 785s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 785s # { 785s # _org_project_useful_interface_skeleton_handle_method_call, 785s # _org_project_useful_interface_skeleton_handle_get_property, 785s # _org_project_useful_interface_skeleton_handle_set_property, 785s # {NULL} 785s # }; 785s # 785s # static GDBusInterfaceInfo * 785s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return org_project_useful_interface_interface_info (); 785s # } 785s # 785s # static GDBusInterfaceVTable * 785s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 785s # } 785s # 785s # static GVariant * 785s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 785s # 785s # GVariantBuilder builder; 785s # guint n; 785s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 785s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 785s # goto out; 785s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 785s # { 785s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 785s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 785s # { 785s # GVariant *value; 785s # 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); 785s # if (value != NULL) 785s # { 785s # g_variant_take_ref (value); 785s # g_variant_builder_add (&builder, "{sv}", info->name, value); 785s # g_variant_unref (value); 785s # } 785s # } 785s # } 785s # out: 785s # return g_variant_builder_end (&builder); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_skeleton_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 785s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 785s # if (skeleton->priv->changed_properties_idle_source != NULL) 785s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 785s # g_main_context_unref (skeleton->priv->context); 785s # g_mutex_clear (&skeleton->priv->lock); 785s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 785s # #else 785s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 785s # #endif 785s # 785s # g_mutex_init (&skeleton->priv->lock); 785s # skeleton->priv->context = g_main_context_ref_thread_default (); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusInterfaceSkeletonClass *skeleton_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 785s # 785s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 785s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 785s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 785s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 785s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_skeleton_new: 785s # * 785s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_skeleton_new (void) 785s # { 785s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 785s # } 785s # /tmp/tmpkasma2_h/tmp6vz1lrqw.xml: 785s # 785s # 785s # 785s # 785s # 785s # 785s # 785s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkasma2_h/tmp6vz1lrqw.xml', '--output', '-', '--body'] 785s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 785s # Output: /* 785s # * This file is generated by gdbus-codegen, do not modify it. 785s # * 785s # * The license of this code is the same as for the D-Bus interface description 785s # * it was derived from. Note that it links to GLib, so must comply with the 785s # * LGPL linking clauses. 785s # */ 785s # 785s # #ifdef HAVE_CONFIG_H 785s # # include "config.h" 785s # #endif 785s # 785s # #include 785s # #ifdef G_OS_UNIX 785s # # include 785s # #endif 785s # 785s # #ifdef G_ENABLE_DEBUG 785s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 785s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 785s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 785s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 785s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 785s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 785s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 785s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 785s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 785s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 785s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 785s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 785s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 785s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 785s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 785s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 785s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 785s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 785s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 785s # #else /* !G_ENABLE_DEBUG */ 785s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 785s # * Do not access GValues directly in your code. Instead, use the 785s # * g_value_get_*() functions 785s # */ 785s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 785s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 785s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 785s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 785s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 785s # #endif /* !G_ENABLE_DEBUG */ 785s # 785s # typedef struct 785s # { 785s # GDBusArgInfo parent_struct; 785s # gboolean use_gvariant; 785s # } _ExtendedGDBusArgInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusMethodInfo parent_struct; 785s # const gchar *signal_name; 785s # gboolean pass_fdlist; 785s # } _ExtendedGDBusMethodInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusSignalInfo parent_struct; 785s # const gchar *signal_name; 785s # } _ExtendedGDBusSignalInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusPropertyInfo parent_struct; 785s # const gchar *hyphen_name; 785s # guint use_gvariant : 1; 785s # guint emits_changed_signal : 1; 785s # } _ExtendedGDBusPropertyInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusInterfaceInfo parent_struct; 785s # const gchar *hyphen_name; 785s # } _ExtendedGDBusInterfaceInfo; 785s # 785s # typedef struct 785s # { 785s # const _ExtendedGDBusPropertyInfo *info; 785s # guint prop_id; 785s # GValue orig_value; /* the value before the change */ 785s # } ChangedProperty; 785s # 785s # static void 785s # _changed_property_free (ChangedProperty *data) 785s # { 785s # g_value_unset (&data->orig_value); 785s # g_free (data); 785s # } 785s # 785s # static gboolean 785s # _g_strv_equal0 (gchar **a, gchar **b) 785s # { 785s # gboolean ret = FALSE; 785s # guint n; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # if (g_strv_length (a) != g_strv_length (b)) 785s # goto out; 785s # for (n = 0; a[n] != NULL; n++) 785s # if (g_strcmp0 (a[n], b[n]) != 0) 785s # goto out; 785s # ret = TRUE; 785s # out: 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _g_variant_equal0 (GVariant *a, GVariant *b) 785s # { 785s # gboolean ret = FALSE; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # ret = g_variant_equal (a, b); 785s # out: 785s # return ret; 785s # } 785s # 785s # G_GNUC_UNUSED static gboolean 785s # _g_value_equal (const GValue *a, const GValue *b) 785s # { 785s # gboolean ret = FALSE; 785s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 785s # switch (G_VALUE_TYPE (a)) 785s # { 785s # case G_TYPE_BOOLEAN: 785s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 785s # break; 785s # case G_TYPE_UCHAR: 785s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 785s # break; 785s # case G_TYPE_INT: 785s # ret = (g_value_get_int (a) == g_value_get_int (b)); 785s # break; 785s # case G_TYPE_UINT: 785s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 785s # break; 785s # case G_TYPE_INT64: 785s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 785s # break; 785s # case G_TYPE_UINT64: 785s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 785s # break; 785s # case G_TYPE_DOUBLE: 785s # { 785s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 785s # gdouble da = g_value_get_double (a); 785s # gdouble db = g_value_get_double (b); 785s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 785s # } 785s # break; 785s # case G_TYPE_STRING: 785s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 785s # break; 785s # case G_TYPE_VARIANT: 785s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 785s # break; 785s # default: 785s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 785s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 785s # else 785s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 785s # break; 785s # } 785s # return ret; 785s # } 785s # 785s # static void 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint G_GNUC_UNUSED, 785s # void *marshal_data) 785s # { 785s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 785s # (void *data1, 785s # GDBusMethodInvocation *arg_method_invocation, 785s # gdouble arg_arg_d, 785s # void *data2); 785s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 785s # GCClosure *cc = (GCClosure*) closure; 785s # void *data1, *data2; 785s # gboolean v_return; 785s # 785s # g_return_if_fail (return_value != NULL); 785s # g_return_if_fail (n_param_values == 3); 785s # 785s # if (G_CCLOSURE_SWAP_DATA (closure)) 785s # { 785s # data1 = closure->data; 785s # data2 = g_value_peek_pointer (param_values + 0); 785s # } 785s # else 785s # { 785s # data1 = g_value_peek_pointer (param_values + 0); 785s # data2 = closure->data; 785s # } 785s # 785s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 785s # (marshal_data ? marshal_data : cc->callback); 785s # 785s # v_return = 785s # callback (data1, 785s # g_marshal_value_peek_object (param_values + 1), 785s # g_marshal_value_peek_double (param_values + 2), 785s # data2); 785s # 785s # g_value_set_boolean (return_value, v_return); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ 785s # * Code for interface org.project.UsefulInterface 785s # * ------------------------------------------------------------------------ 785s # */ 785s # 785s # /** 785s # * SECTION:OrgProjectUsefulInterface 785s # * @title: OrgProjectUsefulInterface 785s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 785s # * 785s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 785s # */ 785s # 785s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 785s # 785s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 785s # { 785s # { 785s # -1, 785s # (gchar *) "arg_d", 785s # (gchar *) "d", 785s # NULL 785s # }, 785s # FALSE 785s # }; 785s # 785s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 785s # { 785s # { 785s # -1, 785s # (gchar *) "SingleArgMethodD", 785s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 785s # NULL, 785s # NULL 785s # }, 785s # "handle-single-arg-method-d", 785s # FALSE 785s # }; 785s # 785s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 785s # { 785s # { 785s # -1, 785s # (gchar *) "org.project.UsefulInterface", 785s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 785s # NULL, 785s # NULL, 785s # NULL 785s # }, 785s # "org-project-useful-interface", 785s # }; 785s # 785s # 785s # /** 785s # * org_project_useful_interface_interface_info: 785s # * 785s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 785s # * 785s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 785s # */ 785s # GDBusInterfaceInfo * 785s # org_project_useful_interface_interface_info (void) 785s # { 785s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_override_properties: 785s # * @klass: The class structure for a #GObject derived class. 785s # * @property_id_begin: The property id to assign to the first overridden property. 785s # * 785s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 785s # * The properties are overridden in the order they are defined. 785s # * 785s # * Returns: The last property id. 785s # */ 785s # guint 785s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 785s # { 785s # return property_id_begin - 1; 785s # } 785s # 785s # 785s # inline static void 785s # org_project_useful_interface_method_marshal_single_arg_method_d ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint, 785s # void *marshal_data) 785s # { 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 785s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 785s # } 785s # 785s # 785s # /** 785s # * OrgProjectUsefulInterface: 785s # * 785s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceIface: 785s # * @parent_iface: The parent interface. 785s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 785s # * 785s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 785s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 785s # 785s # static void 785s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 785s # { 785s # /* GObject signals for incoming D-Bus method calls: */ 785s # /** 785s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: A #GDBusMethodInvocation. 785s # * @arg_arg_d: Argument passed by remote caller. 785s # * 785s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 785s # * 785s # * 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. 785s # * 785s # * 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. 785s # */ 785s # g_signal_new ("handle-single-arg-method-d", 785s # G_TYPE_FROM_INTERFACE (iface), 785s # G_SIGNAL_RUN_LAST, 785s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 785s # g_signal_accumulator_true_handled, 785s # NULL, 785s # org_project_useful_interface_method_marshal_single_arg_method_d, 785s # G_TYPE_BOOLEAN, 785s # 2, 785s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 785s # 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_d: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_d: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 785s # */ 785s # void 785s # org_project_useful_interface_call_single_arg_method_d ( 785s # OrgProjectUsefulInterface *proxy, 785s # gdouble arg_arg_d, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodD", 785s # g_variant_new ("(d)", 785s # arg_arg_d), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # callback, 785s # user_data); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_d_finish: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_d_finish ( 785s # OrgProjectUsefulInterface *proxy, 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_d_sync: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_d: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_d_sync ( 785s # OrgProjectUsefulInterface *proxy, 785s # gdouble arg_arg_d, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodD", 785s # g_variant_new ("(d)", 785s # arg_arg_d), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_complete_single_arg_method_d: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: (transfer full): A #GDBusMethodInvocation. 785s # * 785s # * 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. 785s # * 785s # * This method will free @invocation, you cannot use it afterwards. 785s # */ 785s # void 785s # org_project_useful_interface_complete_single_arg_method_d ( 785s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 785s # GDBusMethodInvocation *invocation) 785s # { 785s # g_dbus_method_invocation_return_value (invocation, 785s # g_variant_new ("()")); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxy: 785s # * 785s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxyClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceProxy. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceProxyPrivate 785s # { 785s # GData *qdata; 785s # }; 785s # 785s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_proxy_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 785s # g_datalist_clear (&proxy->priv->qdata); 785s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # const GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 785s # const gchar *sender_name G_GNUC_UNUSED, 785s # const gchar *signal_name, 785s # GVariant *parameters) 785s # { 785s # _ExtendedGDBusSignalInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # gsize n; 785s # guint signal_id; 785s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 785s # if (info == NULL) 785s # return; 785s # num_params = g_variant_n_children (parameters); 785s # paramv = g_new0 (GValue, num_params + 1); 785s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[0], proxy); 785s # g_variant_iter_init (&iter, parameters); 785s # n = 1; 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_signal_emitv (paramv, signal_id, 0, NULL); 785s # for (n = 0; n < num_params + 1; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 785s # GVariant *changed_properties, 785s # const gchar *const *invalidated_properties) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 785s # guint n; 785s # const gchar *key; 785s # GVariantIter *iter; 785s # _ExtendedGDBusPropertyInfo *info; 785s # g_variant_get (changed_properties, "a{sv}", &iter); 785s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 785s # g_datalist_remove_data (&proxy->priv->qdata, key); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # g_variant_iter_free (iter); 785s # for (n = 0; invalidated_properties[n] != NULL; n++) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 785s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 785s # #else 785s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 785s # #endif 785s # 785s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusProxyClass *proxy_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 785s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 785s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 785s # 785s # proxy_class = G_DBUS_PROXY_CLASS (klass); 785s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 785s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_sync: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_sync ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new_for_bus ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_sync: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_sync ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeleton: 785s # * 785s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeletonClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 785s # { 785s # GValue *properties; 785s # GList *changed_properties; 785s # GSource *changed_properties_idle_source; 785s # GMainContext *context; 785s # GMutex lock; 785s # }; 785s # 785s # static void 785s # _org_project_useful_interface_skeleton_handle_method_call ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name, 785s # const gchar *method_name, 785s # GVariant *parameters, 785s # GDBusMethodInvocation *invocation, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # _ExtendedGDBusMethodInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # guint num_extra; 785s # gsize n; 785s # guint signal_id; 785s # GValue return_value = G_VALUE_INIT; 785s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 785s # g_assert (info != NULL); 785s # num_params = g_variant_n_children (parameters); 785s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 785s # n = 0; 785s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[n++], skeleton); 785s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 785s # g_value_set_object (¶mv[n++], invocation); 785s # if (info->pass_fdlist) 785s # { 785s # #ifdef G_OS_UNIX 785s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 785s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 785s # #else 785s # g_assert_not_reached (); 785s # #endif 785s # } 785s # g_variant_iter_init (&iter, parameters); 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_init (&return_value, G_TYPE_BOOLEAN); 785s # g_signal_emitv (paramv, signal_id, 0, &return_value); 785s # if (!g_value_get_boolean (&return_value)) 785s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 785s # g_value_unset (&return_value); 785s # for (n = 0; n < num_params + num_extra; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static GVariant * 785s # _org_project_useful_interface_skeleton_handle_get_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # GVariant *ret; 785s # ret = NULL; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # g_value_init (&value, pspec->value_type); 785s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 785s # g_value_unset (&value); 785s # } 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _org_project_useful_interface_skeleton_handle_set_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GVariant *variant, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # gboolean ret; 785s # ret = FALSE; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # if (info->use_gvariant) 785s # g_value_set_variant (&value, variant); 785s # else 785s # g_dbus_gvariant_to_gvalue (variant, &value); 785s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # g_value_unset (&value); 785s # ret = TRUE; 785s # } 785s # return ret; 785s # } 785s # 785s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 785s # { 785s # _org_project_useful_interface_skeleton_handle_method_call, 785s # _org_project_useful_interface_skeleton_handle_get_property, 785s # _org_project_useful_interface_skeleton_handle_set_property, 785s # {NULL} 785s # }; 785s # 785s # static GDBusInterfaceInfo * 785s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return org_project_useful_interface_interface_info (); 785s # } 785s # 785s # static GDBusInterfaceVTable * 785s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 785s # } 785s # 785s # static GVariant * 785s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 785s # 785s # GVariantBuilder builder; 785s # guint n; 785s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 785s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 785s # goto out; 785s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 785s # { 785s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 785s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 785s # { 785s # GVariant *value; 785s # 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); 785s # if (value != NULL) 785s # { 785s # g_variant_take_ref (value); 785s # g_variant_builder_add (&builder, "{sv}", info->name, value); 785s # g_variant_unref (value); 785s # } 785s # } 785s # } 785s # out: 785s # return g_variant_builder_end (&builder); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_skeleton_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 785s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 785s # if (skeleton->priv->changed_properties_idle_source != NULL) 785s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 785s # g_main_context_unref (skeleton->priv->context); 785s # g_mutex_clear (&skeleton->priv->lock); 785s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 785s # #else 785s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 785s # #endif 785s # 785s # g_mutex_init (&skeleton->priv->lock); 785s # skeleton->priv->context = g_main_context_ref_thread_default (); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusInterfaceSkeletonClass *skeleton_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 785s # 785s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 785s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 785s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 785s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 785s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_skeleton_new: 785s # * 785s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_skeleton_new (void) 785s # { 785s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 785s # } 785s # /tmp/tmpkasma2_h/tmpmy_qa92i.xml: 785s # 785s # 785s # 785s # 785s # 785s # 785s # 785s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkasma2_h/tmpmy_qa92i.xml', '--output', '-', '--body'] 785s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 785s # Output: /* 785s # * This file is generated by gdbus-codegen, do not modify it. 785s # * 785s # * The license of this code is the same as for the D-Bus interface description 785s # * it was derived from. Note that it links to GLib, so must comply with the 785s # * LGPL linking clauses. 785s # */ 785s # 785s # #ifdef HAVE_CONFIG_H 785s # # include "config.h" 785s # #endif 785s # 785s # #include 785s # #ifdef G_OS_UNIX 785s # # include 785s # #endif 785s # 785s # #ifdef G_ENABLE_DEBUG 785s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 785s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 785s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 785s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 785s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 785s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 785s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 785s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 785s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 785s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 785s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 785s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 785s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 785s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 785s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 785s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 785s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 785s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 785s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 785s # #else /* !G_ENABLE_DEBUG */ 785s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 785s # * Do not access GValues directly in your code. Instead, use the 785s # * g_value_get_*() functions 785s # */ 785s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 785s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 785s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 785s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 785s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 785s # #endif /* !G_ENABLE_DEBUG */ 785s # 785s # typedef struct 785s # { 785s # GDBusArgInfo parent_struct; 785s # gboolean use_gvariant; 785s # } _ExtendedGDBusArgInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusMethodInfo parent_struct; 785s # const gchar *signal_name; 785s # gboolean pass_fdlist; 785s # } _ExtendedGDBusMethodInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusSignalInfo parent_struct; 785s # const gchar *signal_name; 785s # } _ExtendedGDBusSignalInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusPropertyInfo parent_struct; 785s # const gchar *hyphen_name; 785s # guint use_gvariant : 1; 785s # guint emits_changed_signal : 1; 785s # } _ExtendedGDBusPropertyInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusInterfaceInfo parent_struct; 785s # const gchar *hyphen_name; 785s # } _ExtendedGDBusInterfaceInfo; 785s # 785s # typedef struct 785s # { 785s # const _ExtendedGDBusPropertyInfo *info; 785s # guint prop_id; 785s # GValue orig_value; /* the value before the change */ 785s # } ChangedProperty; 785s # 785s # static void 785s # _changed_property_free (ChangedProperty *data) 785s # { 785s # g_value_unset (&data->orig_value); 785s # g_free (data); 785s # } 785s # 785s # static gboolean 785s # _g_strv_equal0 (gchar **a, gchar **b) 785s # { 785s # gboolean ret = FALSE; 785s # guint n; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # if (g_strv_length (a) != g_strv_length (b)) 785s # goto out; 785s # for (n = 0; a[n] != NULL; n++) 785s # if (g_strcmp0 (a[n], b[n]) != 0) 785s # goto out; 785s # ret = TRUE; 785s # out: 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _g_variant_equal0 (GVariant *a, GVariant *b) 785s # { 785s # gboolean ret = FALSE; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # ret = g_variant_equal (a, b); 785s # out: 785s # return ret; 785s # } 785s # 785s # G_GNUC_UNUSED static gboolean 785s # _g_value_equal (const GValue *a, const GValue *b) 785s # { 785s # gboolean ret = FALSE; 785s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 785s # switch (G_VALUE_TYPE (a)) 785s # { 785s # case G_TYPE_BOOLEAN: 785s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 785s # break; 785s # case G_TYPE_UCHAR: 785s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 785s # break; 785s # case G_TYPE_INT: 785s # ret = (g_value_get_int (a) == g_value_get_int (b)); 785s # break; 785s # case G_TYPE_UINT: 785s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 785s # break; 785s # case G_TYPE_INT64: 785s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 785s # break; 785s # case G_TYPE_UINT64: 785s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 785s # break; 785s # case G_TYPE_DOUBLE: 785s # { 785s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 785s # gdouble da = g_value_get_double (a); 785s # gdouble db = g_value_get_double (b); 785s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 785s # } 785s # break; 785s # case G_TYPE_STRING: 785s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 785s # break; 785s # case G_TYPE_VARIANT: 785s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 785s # break; 785s # default: 785s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 785s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 785s # else 785s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 785s # break; 785s # } 785s # return ret; 785s # } 785s # 785s # static void 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint G_GNUC_UNUSED, 785s # void *marshal_data) 785s # { 785s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 785s # (void *data1, 785s # GDBusMethodInvocation *arg_method_invocation, 785s # const gchar *arg_arg_s, 785s # void *data2); 785s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 785s # GCClosure *cc = (GCClosure*) closure; 785s # void *data1, *data2; 785s # gboolean v_return; 785s # 785s # g_return_if_fail (return_value != NULL); 785s # g_return_if_fail (n_param_values == 3); 785s # 785s # if (G_CCLOSURE_SWAP_DATA (closure)) 785s # { 785s # data1 = closure->data; 785s # data2 = g_value_peek_pointer (param_values + 0); 785s # } 785s # else 785s # { 785s # data1 = g_value_peek_pointer (param_values + 0); 785s # data2 = closure->data; 785s # } 785s # 785s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 785s # (marshal_data ? marshal_data : cc->callback); 785s # 785s # v_return = 785s # callback (data1, 785s # g_marshal_value_peek_object (param_values + 1), 785s # g_marshal_value_peek_string (param_values + 2), 785s # data2); 785s # 785s # g_value_set_boolean (return_value, v_return); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ 785s # * Code for interface org.project.UsefulInterface 785s # * ------------------------------------------------------------------------ 785s # */ 785s # 785s # /** 785s # * SECTION:OrgProjectUsefulInterface 785s # * @title: OrgProjectUsefulInterface 785s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 785s # * 785s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 785s # */ 785s # 785s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 785s # 785s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 785s # { 785s # { 785s # -1, 785s # (gchar *) "arg_s", 785s # (gchar *) "s", 785s # NULL 785s # }, 785s # FALSE 785s # }; 785s # 785s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 785s # { 785s # { 785s # -1, 785s # (gchar *) "SingleArgMethodS", 785s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 785s # NULL, 785s # NULL 785s # }, 785s # "handle-single-arg-method-s", 785s # FALSE 785s # }; 785s # 785s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 785s # { 785s # { 785s # -1, 785s # (gchar *) "org.project.UsefulInterface", 785s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 785s # NULL, 785s # NULL, 785s # NULL 785s # }, 785s # "org-project-useful-interface", 785s # }; 785s # 785s # 785s # /** 785s # * org_project_useful_interface_interface_info: 785s # * 785s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 785s # * 785s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 785s # */ 785s # GDBusInterfaceInfo * 785s # org_project_useful_interface_interface_info (void) 785s # { 785s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_override_properties: 785s # * @klass: The class structure for a #GObject derived class. 785s # * @property_id_begin: The property id to assign to the first overridden property. 785s # * 785s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 785s # * The properties are overridden in the order they are defined. 785s # * 785s # * Returns: The last property id. 785s # */ 785s # guint 785s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 785s # { 785s # return property_id_begin - 1; 785s # } 785s # 785s # 785s # inline static void 785s # org_project_useful_interface_method_marshal_single_arg_method_s ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint, 785s # void *marshal_data) 785s # { 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 785s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 785s # } 785s # 785s # 785s # /** 785s # * OrgProjectUsefulInterface: 785s # * 785s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceIface: 785s # * @parent_iface: The parent interface. 785s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 785s # * 785s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 785s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 785s # 785s # static void 785s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 785s # { 785s # /* GObject signals for incoming D-Bus method calls: */ 785s # /** 785s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: A #GDBusMethodInvocation. 785s # * @arg_arg_s: Argument passed by remote caller. 785s # * 785s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 785s # * 785s # * 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. 785s # * 785s # * 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. 785s # */ 785s # g_signal_new ("handle-single-arg-method-s", 785s # G_TYPE_FROM_INTERFACE (iface), 785s # G_SIGNAL_RUN_LAST, 785s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 785s # g_signal_accumulator_true_handled, 785s # NULL, 785s # org_project_useful_interface_method_marshal_single_arg_method_s, 785s # G_TYPE_BOOLEAN, 785s # 2, 785s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 785s # 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_s: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_s: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 785s # */ 785s # void 785s # org_project_useful_interface_call_single_arg_method_s ( 785s # OrgProjectUsefulInterface *proxy, 785s # const gchar *arg_arg_s, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodS", 785s # g_variant_new ("(s)", 785s # arg_arg_s), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # callback, 785s # user_data); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_s_finish: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_s_finish ( 785s # OrgProjectUsefulInterface *proxy, 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_s_sync: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_s: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_s_sync ( 785s # OrgProjectUsefulInterface *proxy, 785s # const gchar *arg_arg_s, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodS", 785s # g_variant_new ("(s)", 785s # arg_arg_s), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_complete_single_arg_method_s: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: (transfer full): A #GDBusMethodInvocation. 785s # * 785s # * 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. 785s # * 785s # * This method will free @invocation, you cannot use it afterwards. 785s # */ 785s # void 785s # org_project_useful_interface_complete_single_arg_method_s ( 785s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 785s # GDBusMethodInvocation *invocation) 785s # { 785s # g_dbus_method_invocation_return_value (invocation, 785s # g_variant_new ("()")); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxy: 785s # * 785s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxyClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceProxy. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceProxyPrivate 785s # { 785s # GData *qdata; 785s # }; 785s # 785s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_proxy_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 785s # g_datalist_clear (&proxy->priv->qdata); 785s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # const GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 785s # const gchar *sender_name G_GNUC_UNUSED, 785s # const gchar *signal_name, 785s # GVariant *parameters) 785s # { 785s # _ExtendedGDBusSignalInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # gsize n; 785s # guint signal_id; 785s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 785s # if (info == NULL) 785s # return; 785s # num_params = g_variant_n_children (parameters); 785s # paramv = g_new0 (GValue, num_params + 1); 785s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[0], proxy); 785s # g_variant_iter_init (&iter, parameters); 785s # n = 1; 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_signal_emitv (paramv, signal_id, 0, NULL); 785s # for (n = 0; n < num_params + 1; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 785s # GVariant *changed_properties, 785s # const gchar *const *invalidated_properties) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 785s # guint n; 785s # const gchar *key; 785s # GVariantIter *iter; 785s # _ExtendedGDBusPropertyInfo *info; 785s # g_variant_get (changed_properties, "a{sv}", &iter); 785s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 785s # g_datalist_remove_data (&proxy->priv->qdata, key); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # g_variant_iter_free (iter); 785s # for (n = 0; invalidated_properties[n] != NULL; n++) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 785s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 785s # #else 785s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 785s # #endif 785s # 785s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusProxyClass *proxy_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 785s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 785s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 785s # 785s # proxy_class = G_DBUS_PROXY_CLASS (klass); 785s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 785s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_sync: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_sync ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new_for_bus ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_sync: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_sync ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeleton: 785s # * 785s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeletonClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 785s # { 785s # GValue *properties; 785s # GList *changed_properties; 785s # GSource *changed_properties_idle_source; 785s # GMainContext *context; 785s # GMutex lock; 785s # }; 785s # 785s # static void 785s # _org_project_useful_interface_skeleton_handle_method_call ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name, 785s # const gchar *method_name, 785s # GVariant *parameters, 785s # GDBusMethodInvocation *invocation, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # _ExtendedGDBusMethodInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # guint num_extra; 785s # gsize n; 785s # guint signal_id; 785s # GValue return_value = G_VALUE_INIT; 785s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 785s # g_assert (info != NULL); 785s # num_params = g_variant_n_children (parameters); 785s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 785s # n = 0; 785s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[n++], skeleton); 785s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 785s # g_value_set_object (¶mv[n++], invocation); 785s # if (info->pass_fdlist) 785s # { 785s # #ifdef G_OS_UNIX 785s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 785s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 785s # #else 785s # g_assert_not_reached (); 785s # #endif 785s # } 785s # g_variant_iter_init (&iter, parameters); 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_init (&return_value, G_TYPE_BOOLEAN); 785s # g_signal_emitv (paramv, signal_id, 0, &return_value); 785s # if (!g_value_get_boolean (&return_value)) 785s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 785s # g_value_unset (&return_value); 785s # for (n = 0; n < num_params + num_extra; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static GVariant * 785s # _org_project_useful_interface_skeleton_handle_get_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # GVariant *ret; 785s # ret = NULL; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # g_value_init (&value, pspec->value_type); 785s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 785s # g_value_unset (&value); 785s # } 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _org_project_useful_interface_skeleton_handle_set_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GVariant *variant, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # gboolean ret; 785s # ret = FALSE; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # if (info->use_gvariant) 785s # g_value_set_variant (&value, variant); 785s # else 785s # g_dbus_gvariant_to_gvalue (variant, &value); 785s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # g_value_unset (&value); 785s # ret = TRUE; 785s # } 785s # return ret; 785s # } 785s # 785s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 785s # { 785s # _org_project_useful_interface_skeleton_handle_method_call, 785s # _org_project_useful_interface_skeleton_handle_get_property, 785s # _org_project_useful_interface_skeleton_handle_set_property, 785s # {NULL} 785s # }; 785s # 785s # static GDBusInterfaceInfo * 785s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return org_project_useful_interface_interface_info (); 785s # } 785s # 785s # static GDBusInterfaceVTable * 785s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 785s # } 785s # 785s # static GVariant * 785s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 785s # 785s # GVariantBuilder builder; 785s # guint n; 785s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 785s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 785s # goto out; 785s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 785s # { 785s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 785s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 785s # { 785s # GVariant *value; 785s # 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); 785s # if (value != NULL) 785s # { 785s # g_variant_take_ref (value); 785s # g_variant_builder_add (&builder, "{sv}", info->name, value); 785s # g_variant_unref (value); 785s # } 785s # } 785s # } 785s # out: 785s # return g_variant_builder_end (&builder); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_skeleton_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 785s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 785s # if (skeleton->priv->changed_properties_idle_source != NULL) 785s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 785s # g_main_context_unref (skeleton->priv->context); 785s # g_mutex_clear (&skeleton->priv->lock); 785s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 785s # #else 785s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 785s # #endif 785s # 785s # g_mutex_init (&skeleton->priv->lock); 785s # skeleton->priv->context = g_main_context_ref_thread_default (); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusInterfaceSkeletonClass *skeleton_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 785s # 785s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 785s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 785s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 785s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 785s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_skeleton_new: 785s # * 785s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_skeleton_new (void) 785s # { 785s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 785s # } 785s # /tmp/tmpkasma2_h/tmptr1r2x9h.xml: 785s # 785s # 785s # 785s # 785s # 785s # 785s # 785s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkasma2_h/tmptr1r2x9h.xml', '--output', '-', '--body'] 785s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 785s # Output: /* 785s # * This file is generated by gdbus-codegen, do not modify it. 785s # * 785s # * The license of this code is the same as for the D-Bus interface description 785s # * it was derived from. Note that it links to GLib, so must comply with the 785s # * LGPL linking clauses. 785s # */ 785s # 785s # #ifdef HAVE_CONFIG_H 785s # # include "config.h" 785s # #endif 785s # 785s # #include 785s # #ifdef G_OS_UNIX 785s # # include 785s # #endif 785s # 785s # #ifdef G_ENABLE_DEBUG 785s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 785s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 785s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 785s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 785s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 785s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 785s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 785s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 785s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 785s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 785s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 785s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 785s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 785s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 785s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 785s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 785s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 785s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 785s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 785s # #else /* !G_ENABLE_DEBUG */ 785s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 785s # * Do not access GValues directly in your code. Instead, use the 785s # * g_value_get_*() functions 785s # */ 785s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 785s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 785s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 785s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 785s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 785s # #endif /* !G_ENABLE_DEBUG */ 785s # 785s # typedef struct 785s # { 785s # GDBusArgInfo parent_struct; 785s # gboolean use_gvariant; 785s # } _ExtendedGDBusArgInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusMethodInfo parent_struct; 785s # const gchar *signal_name; 785s # gboolean pass_fdlist; 785s # } _ExtendedGDBusMethodInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusSignalInfo parent_struct; 785s # const gchar *signal_name; 785s # } _ExtendedGDBusSignalInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusPropertyInfo parent_struct; 785s # const gchar *hyphen_name; 785s # guint use_gvariant : 1; 785s # guint emits_changed_signal : 1; 785s # } _ExtendedGDBusPropertyInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusInterfaceInfo parent_struct; 785s # const gchar *hyphen_name; 785s # } _ExtendedGDBusInterfaceInfo; 785s # 785s # typedef struct 785s # { 785s # const _ExtendedGDBusPropertyInfo *info; 785s # guint prop_id; 785s # GValue orig_value; /* the value before the change */ 785s # } ChangedProperty; 785s # 785s # static void 785s # _changed_property_free (ChangedProperty *data) 785s # { 785s # g_value_unset (&data->orig_value); 785s # g_free (data); 785s # } 785s # 785s # static gboolean 785s # _g_strv_equal0 (gchar **a, gchar **b) 785s # { 785s # gboolean ret = FALSE; 785s # guint n; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # if (g_strv_length (a) != g_strv_length (b)) 785s # goto out; 785s # for (n = 0; a[n] != NULL; n++) 785s # if (g_strcmp0 (a[n], b[n]) != 0) 785s # goto out; 785s # ret = TRUE; 785s # out: 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _g_variant_equal0 (GVariant *a, GVariant *b) 785s # { 785s # gboolean ret = FALSE; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # ret = g_variant_equal (a, b); 785s # out: 785s # return ret; 785s # } 785s # 785s # G_GNUC_UNUSED static gboolean 785s # _g_value_equal (const GValue *a, const GValue *b) 785s # { 785s # gboolean ret = FALSE; 785s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 785s # switch (G_VALUE_TYPE (a)) 785s # { 785s # case G_TYPE_BOOLEAN: 785s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 785s # break; 785s # case G_TYPE_UCHAR: 785s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 785s # break; 785s # case G_TYPE_INT: 785s # ret = (g_value_get_int (a) == g_value_get_int (b)); 785s # break; 785s # case G_TYPE_UINT: 785s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 785s # break; 785s # case G_TYPE_INT64: 785s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 785s # break; 785s # case G_TYPE_UINT64: 785s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 785s # break; 785s # case G_TYPE_DOUBLE: 785s # { 785s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 785s # gdouble da = g_value_get_double (a); 785s # gdouble db = g_value_get_double (b); 785s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 785s # } 785s # break; 785s # case G_TYPE_STRING: 785s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 785s # break; 785s # case G_TYPE_VARIANT: 785s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 785s # break; 785s # default: 785s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 785s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 785s # else 785s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 785s # break; 785s # } 785s # return ret; 785s # } 785s # 785s # static void 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint G_GNUC_UNUSED, 785s # void *marshal_data) 785s # { 785s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 785s # (void *data1, 785s # GDBusMethodInvocation *arg_method_invocation, 785s # const gchar *arg_arg_o, 785s # void *data2); 785s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 785s # GCClosure *cc = (GCClosure*) closure; 785s # void *data1, *data2; 785s # gboolean v_return; 785s # 785s # g_return_if_fail (return_value != NULL); 785s # g_return_if_fail (n_param_values == 3); 785s # 785s # if (G_CCLOSURE_SWAP_DATA (closure)) 785s # { 785s # data1 = closure->data; 785s # data2 = g_value_peek_pointer (param_values + 0); 785s # } 785s # else 785s # { 785s # data1 = g_value_peek_pointer (param_values + 0); 785s # data2 = closure->data; 785s # } 785s # 785s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 785s # (marshal_data ? marshal_data : cc->callback); 785s # 785s # v_return = 785s # callback (data1, 785s # g_marshal_value_peek_object (param_values + 1), 785s # g_marshal_value_peek_string (param_values + 2), 785s # data2); 785s # 785s # g_value_set_boolean (return_value, v_return); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ 785s # * Code for interface org.project.UsefulInterface 785s # * ------------------------------------------------------------------------ 785s # */ 785s # 785s # /** 785s # * SECTION:OrgProjectUsefulInterface 785s # * @title: OrgProjectUsefulInterface 785s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 785s # * 785s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 785s # */ 785s # 785s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 785s # 785s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 785s # { 785s # { 785s # -1, 785s # (gchar *) "arg_o", 785s # (gchar *) "o", 785s # NULL 785s # }, 785s # FALSE 785s # }; 785s # 785s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 785s # { 785s # { 785s # -1, 785s # (gchar *) "SingleArgMethodO", 785s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 785s # NULL, 785s # NULL 785s # }, 785s # "handle-single-arg-method-o", 785s # FALSE 785s # }; 785s # 785s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 785s # { 785s # { 785s # -1, 785s # (gchar *) "org.project.UsefulInterface", 785s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 785s # NULL, 785s # NULL, 785s # NULL 785s # }, 785s # "org-project-useful-interface", 785s # }; 785s # 785s # 785s # /** 785s # * org_project_useful_interface_interface_info: 785s # * 785s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 785s # * 785s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 785s # */ 785s # GDBusInterfaceInfo * 785s # org_project_useful_interface_interface_info (void) 785s # { 785s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_override_properties: 785s # * @klass: The class structure for a #GObject derived class. 785s # * @property_id_begin: The property id to assign to the first overridden property. 785s # * 785s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 785s # * The properties are overridden in the order they are defined. 785s # * 785s # * Returns: The last property id. 785s # */ 785s # guint 785s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 785s # { 785s # return property_id_begin - 1; 785s # } 785s # 785s # 785s # inline static void 785s # org_project_useful_interface_method_marshal_single_arg_method_o ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint, 785s # void *marshal_data) 785s # { 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 785s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 785s # } 785s # 785s # 785s # /** 785s # * OrgProjectUsefulInterface: 785s # * 785s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceIface: 785s # * @parent_iface: The parent interface. 785s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 785s # * 785s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 785s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 785s # 785s # static void 785s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 785s # { 785s # /* GObject signals for incoming D-Bus method calls: */ 785s # /** 785s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: A #GDBusMethodInvocation. 785s # * @arg_arg_o: Argument passed by remote caller. 785s # * 785s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 785s # * 785s # * 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. 785s # * 785s # * 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. 785s # */ 785s # g_signal_new ("handle-single-arg-method-o", 785s # G_TYPE_FROM_INTERFACE (iface), 785s # G_SIGNAL_RUN_LAST, 785s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 785s # g_signal_accumulator_true_handled, 785s # NULL, 785s # org_project_useful_interface_method_marshal_single_arg_method_o, 785s # G_TYPE_BOOLEAN, 785s # 2, 785s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 785s # 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_o: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_o: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 785s # */ 785s # void 785s # org_project_useful_interface_call_single_arg_method_o ( 785s # OrgProjectUsefulInterface *proxy, 785s # const gchar *arg_arg_o, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodO", 785s # g_variant_new ("(o)", 785s # arg_arg_o), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # callback, 785s # user_data); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_o_finish: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_o_finish ( 785s # OrgProjectUsefulInterface *proxy, 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_o_sync: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_o: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_o_sync ( 785s # OrgProjectUsefulInterface *proxy, 785s # const gchar *arg_arg_o, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodO", 785s # g_variant_new ("(o)", 785s # arg_arg_o), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_complete_single_arg_method_o: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: (transfer full): A #GDBusMethodInvocation. 785s # * 785s # * 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. 785s # * 785s # * This method will free @invocation, you cannot use it afterwards. 785s # */ 785s # void 785s # org_project_useful_interface_complete_single_arg_method_o ( 785s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 785s # GDBusMethodInvocation *invocation) 785s # { 785s # g_dbus_method_invocation_return_value (invocation, 785s # g_variant_new ("()")); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxy: 785s # * 785s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxyClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceProxy. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceProxyPrivate 785s # { 785s # GData *qdata; 785s # }; 785s # 785s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_proxy_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 785s # g_datalist_clear (&proxy->priv->qdata); 785s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # const GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 785s # const gchar *sender_name G_GNUC_UNUSED, 785s # const gchar *signal_name, 785s # GVariant *parameters) 785s # { 785s # _ExtendedGDBusSignalInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # gsize n; 785s # guint signal_id; 785s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 785s # if (info == NULL) 785s # return; 785s # num_params = g_variant_n_children (parameters); 785s # paramv = g_new0 (GValue, num_params + 1); 785s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[0], proxy); 785s # g_variant_iter_init (&iter, parameters); 785s # n = 1; 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_signal_emitv (paramv, signal_id, 0, NULL); 785s # for (n = 0; n < num_params + 1; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 785s # GVariant *changed_properties, 785s # const gchar *const *invalidated_properties) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 785s # guint n; 785s # const gchar *key; 785s # GVariantIter *iter; 785s # _ExtendedGDBusPropertyInfo *info; 785s # g_variant_get (changed_properties, "a{sv}", &iter); 785s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 785s # g_datalist_remove_data (&proxy->priv->qdata, key); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # g_variant_iter_free (iter); 785s # for (n = 0; invalidated_properties[n] != NULL; n++) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 785s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 785s # #else 785s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 785s # #endif 785s # 785s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusProxyClass *proxy_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 785s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 785s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 785s # 785s # proxy_class = G_DBUS_PROXY_CLASS (klass); 785s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 785s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_sync: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_sync ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new_for_bus ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_sync: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_sync ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeleton: 785s # * 785s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeletonClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 785s # { 785s # GValue *properties; 785s # GList *changed_properties; 785s # GSource *changed_properties_idle_source; 785s # GMainContext *context; 785s # GMutex lock; 785s # }; 785s # 785s # static void 785s # _org_project_useful_interface_skeleton_handle_method_call ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name, 785s # const gchar *method_name, 785s # GVariant *parameters, 785s # GDBusMethodInvocation *invocation, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # _ExtendedGDBusMethodInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # guint num_extra; 785s # gsize n; 785s # guint signal_id; 785s # GValue return_value = G_VALUE_INIT; 785s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 785s # g_assert (info != NULL); 785s # num_params = g_variant_n_children (parameters); 785s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 785s # n = 0; 785s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[n++], skeleton); 785s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 785s # g_value_set_object (¶mv[n++], invocation); 785s # if (info->pass_fdlist) 785s # { 785s # #ifdef G_OS_UNIX 785s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 785s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 785s # #else 785s # g_assert_not_reached (); 785s # #endif 785s # } 785s # g_variant_iter_init (&iter, parameters); 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_init (&return_value, G_TYPE_BOOLEAN); 785s # g_signal_emitv (paramv, signal_id, 0, &return_value); 785s # if (!g_value_get_boolean (&return_value)) 785s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 785s # g_value_unset (&return_value); 785s # for (n = 0; n < num_params + num_extra; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static GVariant * 785s # _org_project_useful_interface_skeleton_handle_get_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # GVariant *ret; 785s # ret = NULL; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # g_value_init (&value, pspec->value_type); 785s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 785s # g_value_unset (&value); 785s # } 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _org_project_useful_interface_skeleton_handle_set_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GVariant *variant, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # gboolean ret; 785s # ret = FALSE; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # if (info->use_gvariant) 785s # g_value_set_variant (&value, variant); 785s # else 785s # g_dbus_gvariant_to_gvalue (variant, &value); 785s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # g_value_unset (&value); 785s # ret = TRUE; 785s # } 785s # return ret; 785s # } 785s # 785s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 785s # { 785s # _org_project_useful_interface_skeleton_handle_method_call, 785s # _org_project_useful_interface_skeleton_handle_get_property, 785s # _org_project_useful_interface_skeleton_handle_set_property, 785s # {NULL} 785s # }; 785s # 785s # static GDBusInterfaceInfo * 785s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return org_project_useful_interface_interface_info (); 785s # } 785s # 785s # static GDBusInterfaceVTable * 785s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 785s # } 785s # 785s # static GVariant * 785s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 785s # 785s # GVariantBuilder builder; 785s # guint n; 785s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 785s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 785s # goto out; 785s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 785s # { 785s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 785s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 785s # { 785s # GVariant *value; 785s # 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); 785s # if (value != NULL) 785s # { 785s # g_variant_take_ref (value); 785s # g_variant_builder_add (&builder, "{sv}", info->name, value); 785s # g_variant_unref (value); 785s # } 785s # } 785s # } 785s # out: 785s # return g_variant_builder_end (&builder); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_skeleton_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 785s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 785s # if (skeleton->priv->changed_properties_idle_source != NULL) 785s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 785s # g_main_context_unref (skeleton->priv->context); 785s # g_mutex_clear (&skeleton->priv->lock); 785s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 785s # #else 785s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 785s # #endif 785s # 785s # g_mutex_init (&skeleton->priv->lock); 785s # skeleton->priv->context = g_main_context_ref_thread_default (); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusInterfaceSkeletonClass *skeleton_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 785s # 785s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 785s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 785s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 785s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 785s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_skeleton_new: 785s # * 785s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_skeleton_new (void) 785s # { 785s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 785s # } 785s # /tmp/tmpkasma2_h/tmpei6qq1z3.xml: 785s # 785s # 785s # 785s # 785s # 785s # 785s # 785s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkasma2_h/tmpei6qq1z3.xml', '--output', '-', '--body'] 785s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 785s # Output: /* 785s # * This file is generated by gdbus-codegen, do not modify it. 785s # * 785s # * The license of this code is the same as for the D-Bus interface description 785s # * it was derived from. Note that it links to GLib, so must comply with the 785s # * LGPL linking clauses. 785s # */ 785s # 785s # #ifdef HAVE_CONFIG_H 785s # # include "config.h" 785s # #endif 785s # 785s # #include 785s # #ifdef G_OS_UNIX 785s # # include 785s # #endif 785s # 785s # #ifdef G_ENABLE_DEBUG 785s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 785s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 785s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 785s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 785s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 785s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 785s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 785s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 785s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 785s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 785s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 785s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 785s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 785s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 785s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 785s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 785s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 785s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 785s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 785s # #else /* !G_ENABLE_DEBUG */ 785s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 785s # * Do not access GValues directly in your code. Instead, use the 785s # * g_value_get_*() functions 785s # */ 785s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 785s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 785s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 785s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 785s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 785s # #endif /* !G_ENABLE_DEBUG */ 785s # 785s # typedef struct 785s # { 785s # GDBusArgInfo parent_struct; 785s # gboolean use_gvariant; 785s # } _ExtendedGDBusArgInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusMethodInfo parent_struct; 785s # const gchar *signal_name; 785s # gboolean pass_fdlist; 785s # } _ExtendedGDBusMethodInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusSignalInfo parent_struct; 785s # const gchar *signal_name; 785s # } _ExtendedGDBusSignalInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusPropertyInfo parent_struct; 785s # const gchar *hyphen_name; 785s # guint use_gvariant : 1; 785s # guint emits_changed_signal : 1; 785s # } _ExtendedGDBusPropertyInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusInterfaceInfo parent_struct; 785s # const gchar *hyphen_name; 785s # } _ExtendedGDBusInterfaceInfo; 785s # 785s # typedef struct 785s # { 785s # const _ExtendedGDBusPropertyInfo *info; 785s # guint prop_id; 785s # GValue orig_value; /* the value before the change */ 785s # } ChangedProperty; 785s # 785s # static void 785s # _changed_property_free (ChangedProperty *data) 785s # { 785s # g_value_unset (&data->orig_value); 785s # g_free (data); 785s # } 785s # 785s # static gboolean 785s # _g_strv_equal0 (gchar **a, gchar **b) 785s # { 785s # gboolean ret = FALSE; 785s # guint n; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # if (g_strv_length (a) != g_strv_length (b)) 785s # goto out; 785s # for (n = 0; a[n] != NULL; n++) 785s # if (g_strcmp0 (a[n], b[n]) != 0) 785s # goto out; 785s # ret = TRUE; 785s # out: 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _g_variant_equal0 (GVariant *a, GVariant *b) 785s # { 785s # gboolean ret = FALSE; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # ret = g_variant_equal (a, b); 785s # out: 785s # return ret; 785s # } 785s # 785s # G_GNUC_UNUSED static gboolean 785s # _g_value_equal (const GValue *a, const GValue *b) 785s # { 785s # gboolean ret = FALSE; 785s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 785s # switch (G_VALUE_TYPE (a)) 785s # { 785s # case G_TYPE_BOOLEAN: 785s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 785s # break; 785s # case G_TYPE_UCHAR: 785s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 785s # break; 785s # case G_TYPE_INT: 785s # ret = (g_value_get_int (a) == g_value_get_int (b)); 785s # break; 785s # case G_TYPE_UINT: 785s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 785s # break; 785s # case G_TYPE_INT64: 785s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 785s # break; 785s # case G_TYPE_UINT64: 785s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 785s # break; 785s # case G_TYPE_DOUBLE: 785s # { 785s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 785s # gdouble da = g_value_get_double (a); 785s # gdouble db = g_value_get_double (b); 785s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 785s # } 785s # break; 785s # case G_TYPE_STRING: 785s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 785s # break; 785s # case G_TYPE_VARIANT: 785s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 785s # break; 785s # default: 785s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 785s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 785s # else 785s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 785s # break; 785s # } 785s # return ret; 785s # } 785s # 785s # static void 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint G_GNUC_UNUSED, 785s # void *marshal_data) 785s # { 785s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 785s # (void *data1, 785s # GDBusMethodInvocation *arg_method_invocation, 785s # const gchar *arg_arg_g, 785s # void *data2); 785s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 785s # GCClosure *cc = (GCClosure*) closure; 785s # void *data1, *data2; 785s # gboolean v_return; 785s # 785s # g_return_if_fail (return_value != NULL); 785s # g_return_if_fail (n_param_values == 3); 785s # 785s # if (G_CCLOSURE_SWAP_DATA (closure)) 785s # { 785s # data1 = closure->data; 785s # data2 = g_value_peek_pointer (param_values + 0); 785s # } 785s # else 785s # { 785s # data1 = g_value_peek_pointer (param_values + 0); 785s # data2 = closure->data; 785s # } 785s # 785s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 785s # (marshal_data ? marshal_data : cc->callback); 785s # 785s # v_return = 785s # callback (data1, 785s # g_marshal_value_peek_object (param_values + 1), 785s # g_marshal_value_peek_string (param_values + 2), 785s # data2); 785s # 785s # g_value_set_boolean (return_value, v_return); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ 785s # * Code for interface org.project.UsefulInterface 785s # * ------------------------------------------------------------------------ 785s # */ 785s # 785s # /** 785s # * SECTION:OrgProjectUsefulInterface 785s # * @title: OrgProjectUsefulInterface 785s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 785s # * 785s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 785s # */ 785s # 785s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 785s # 785s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 785s # { 785s # { 785s # -1, 785s # (gchar *) "arg_g", 785s # (gchar *) "g", 785s # NULL 785s # }, 785s # FALSE 785s # }; 785s # 785s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 785s # { 785s # { 785s # -1, 785s # (gchar *) "SingleArgMethodG", 785s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 785s # NULL, 785s # NULL 785s # }, 785s # "handle-single-arg-method-g", 785s # FALSE 785s # }; 785s # 785s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 785s # { 785s # { 785s # -1, 785s # (gchar *) "org.project.UsefulInterface", 785s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 785s # NULL, 785s # NULL, 785s # NULL 785s # }, 785s # "org-project-useful-interface", 785s # }; 785s # 785s # 785s # /** 785s # * org_project_useful_interface_interface_info: 785s # * 785s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 785s # * 785s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 785s # */ 785s # GDBusInterfaceInfo * 785s # org_project_useful_interface_interface_info (void) 785s # { 785s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_override_properties: 785s # * @klass: The class structure for a #GObject derived class. 785s # * @property_id_begin: The property id to assign to the first overridden property. 785s # * 785s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 785s # * The properties are overridden in the order they are defined. 785s # * 785s # * Returns: The last property id. 785s # */ 785s # guint 785s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 785s # { 785s # return property_id_begin - 1; 785s # } 785s # 785s # 785s # inline static void 785s # org_project_useful_interface_method_marshal_single_arg_method_g ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint, 785s # void *marshal_data) 785s # { 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 785s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 785s # } 785s # 785s # 785s # /** 785s # * OrgProjectUsefulInterface: 785s # * 785s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceIface: 785s # * @parent_iface: The parent interface. 785s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 785s # * 785s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 785s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 785s # 785s # static void 785s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 785s # { 785s # /* GObject signals for incoming D-Bus method calls: */ 785s # /** 785s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: A #GDBusMethodInvocation. 785s # * @arg_arg_g: Argument passed by remote caller. 785s # * 785s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 785s # * 785s # * 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. 785s # * 785s # * 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. 785s # */ 785s # g_signal_new ("handle-single-arg-method-g", 785s # G_TYPE_FROM_INTERFACE (iface), 785s # G_SIGNAL_RUN_LAST, 785s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 785s # g_signal_accumulator_true_handled, 785s # NULL, 785s # org_project_useful_interface_method_marshal_single_arg_method_g, 785s # G_TYPE_BOOLEAN, 785s # 2, 785s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 785s # 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_g: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_g: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 785s # */ 785s # void 785s # org_project_useful_interface_call_single_arg_method_g ( 785s # OrgProjectUsefulInterface *proxy, 785s # const gchar *arg_arg_g, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodG", 785s # g_variant_new ("(g)", 785s # arg_arg_g), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # callback, 785s # user_data); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_g_finish: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_g_finish ( 785s # OrgProjectUsefulInterface *proxy, 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_g_sync: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_g: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_g_sync ( 785s # OrgProjectUsefulInterface *proxy, 785s # const gchar *arg_arg_g, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodG", 785s # g_variant_new ("(g)", 785s # arg_arg_g), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_complete_single_arg_method_g: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: (transfer full): A #GDBusMethodInvocation. 785s # * 785s # * 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. 785s # * 785s # * This method will free @invocation, you cannot use it afterwards. 785s # */ 785s # void 785s # org_project_useful_interface_complete_single_arg_method_g ( 785s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 785s # GDBusMethodInvocation *invocation) 785s # { 785s # g_dbus_method_invocation_return_value (invocation, 785s # g_variant_new ("()")); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxy: 785s # * 785s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxyClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceProxy. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceProxyPrivate 785s # { 785s # GData *qdata; 785s # }; 785s # 785s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_proxy_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 785s # g_datalist_clear (&proxy->priv->qdata); 785s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # const GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 785s # const gchar *sender_name G_GNUC_UNUSED, 785s # const gchar *signal_name, 785s # GVariant *parameters) 785s # { 785s # _ExtendedGDBusSignalInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # gsize n; 785s # guint signal_id; 785s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 785s # if (info == NULL) 785s # return; 785s # num_params = g_variant_n_children (parameters); 785s # paramv = g_new0 (GValue, num_params + 1); 785s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[0], proxy); 785s # g_variant_iter_init (&iter, parameters); 785s # n = 1; 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_signal_emitv (paramv, signal_id, 0, NULL); 785s # for (n = 0; n < num_params + 1; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 785s # GVariant *changed_properties, 785s # const gchar *const *invalidated_properties) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 785s # guint n; 785s # const gchar *key; 785s # GVariantIter *iter; 785s # _ExtendedGDBusPropertyInfo *info; 785s # g_variant_get (changed_properties, "a{sv}", &iter); 785s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 785s # g_datalist_remove_data (&proxy->priv->qdata, key); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # g_variant_iter_free (iter); 785s # for (n = 0; invalidated_properties[n] != NULL; n++) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 785s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 785s # #else 785s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 785s # #endif 785s # 785s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusProxyClass *proxy_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 785s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 785s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 785s # 785s # proxy_class = G_DBUS_PROXY_CLASS (klass); 785s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 785s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_sync: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_sync ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new_for_bus ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_sync: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_sync ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeleton: 785s # * 785s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeletonClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 785s # { 785s # GValue *properties; 785s # GList *changed_properties; 785s # GSource *changed_properties_idle_source; 785s # GMainContext *context; 785s # GMutex lock; 785s # }; 785s # 785s # static void 785s # _org_project_useful_interface_skeleton_handle_method_call ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name, 785s # const gchar *method_name, 785s # GVariant *parameters, 785s # GDBusMethodInvocation *invocation, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # _ExtendedGDBusMethodInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # guint num_extra; 785s # gsize n; 785s # guint signal_id; 785s # GValue return_value = G_VALUE_INIT; 785s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 785s # g_assert (info != NULL); 785s # num_params = g_variant_n_children (parameters); 785s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 785s # n = 0; 785s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[n++], skeleton); 785s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 785s # g_value_set_object (¶mv[n++], invocation); 785s # if (info->pass_fdlist) 785s # { 785s # #ifdef G_OS_UNIX 785s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 785s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 785s # #else 785s # g_assert_not_reached (); 785s # #endif 785s # } 785s # g_variant_iter_init (&iter, parameters); 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_init (&return_value, G_TYPE_BOOLEAN); 785s # g_signal_emitv (paramv, signal_id, 0, &return_value); 785s # if (!g_value_get_boolean (&return_value)) 785s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 785s # g_value_unset (&return_value); 785s # for (n = 0; n < num_params + num_extra; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static GVariant * 785s # _org_project_useful_interface_skeleton_handle_get_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # GVariant *ret; 785s # ret = NULL; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # g_value_init (&value, pspec->value_type); 785s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 785s # g_value_unset (&value); 785s # } 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _org_project_useful_interface_skeleton_handle_set_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GVariant *variant, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # gboolean ret; 785s # ret = FALSE; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # if (info->use_gvariant) 785s # g_value_set_variant (&value, variant); 785s # else 785s # g_dbus_gvariant_to_gvalue (variant, &value); 785s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # g_value_unset (&value); 785s # ret = TRUE; 785s # } 785s # return ret; 785s # } 785s # 785s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 785s # { 785s # _org_project_useful_interface_skeleton_handle_method_call, 785s # _org_project_useful_interface_skeleton_handle_get_property, 785s # _org_project_useful_interface_skeleton_handle_set_property, 785s # {NULL} 785s # }; 785s # 785s # static GDBusInterfaceInfo * 785s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return org_project_useful_interface_interface_info (); 785s # } 785s # 785s # static GDBusInterfaceVTable * 785s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 785s # } 785s # 785s # static GVariant * 785s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 785s # 785s # GVariantBuilder builder; 785s # guint n; 785s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 785s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 785s # goto out; 785s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 785s # { 785s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 785s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 785s # { 785s # GVariant *value; 785s # 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); 785s # if (value != NULL) 785s # { 785s # g_variant_take_ref (value); 785s # g_variant_builder_add (&builder, "{sv}", info->name, value); 785s # g_variant_unref (value); 785s # } 785s # } 785s # } 785s # out: 785s # return g_variant_builder_end (&builder); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_skeleton_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 785s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 785s # if (skeleton->priv->changed_properties_idle_source != NULL) 785s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 785s # g_main_context_unref (skeleton->priv->context); 785s # g_mutex_clear (&skeleton->priv->lock); 785s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 785s # #else 785s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 785s # #endif 785s # 785s # g_mutex_init (&skeleton->priv->lock); 785s # skeleton->priv->context = g_main_context_ref_thread_default (); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusInterfaceSkeletonClass *skeleton_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 785s # 785s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 785s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 785s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 785s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 785s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_skeleton_new: 785s # * 785s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_skeleton_new (void) 785s # { 785s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 785s # } 785s # /tmp/tmpkasma2_h/tmpfd4zexry.xml: 785s # 785s # 785s # 785s # 785s # 785s # 785s # 785s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkasma2_h/tmpfd4zexry.xml', '--output', '-', '--body'] 785s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 785s # Output: /* 785s # * This file is generated by gdbus-codegen, do not modify it. 785s # * 785s # * The license of this code is the same as for the D-Bus interface description 785s # * it was derived from. Note that it links to GLib, so must comply with the 785s # * LGPL linking clauses. 785s # */ 785s # 785s # #ifdef HAVE_CONFIG_H 785s # # include "config.h" 785s # #endif 785s # 785s # #include 785s # #ifdef G_OS_UNIX 785s # # include 785s # #endif 785s # 785s # #ifdef G_ENABLE_DEBUG 785s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 785s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 785s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 785s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 785s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 785s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 785s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 785s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 785s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 785s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 785s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 785s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 785s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 785s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 785s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 785s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 785s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 785s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 785s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 785s # #else /* !G_ENABLE_DEBUG */ 785s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 785s # * Do not access GValues directly in your code. Instead, use the 785s # * g_value_get_*() functions 785s # */ 785s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 785s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 785s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 785s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 785s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 785s # #endif /* !G_ENABLE_DEBUG */ 785s # 785s # typedef struct 785s # { 785s # GDBusArgInfo parent_struct; 785s # gboolean use_gvariant; 785s # } _ExtendedGDBusArgInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusMethodInfo parent_struct; 785s # const gchar *signal_name; 785s # gboolean pass_fdlist; 785s # } _ExtendedGDBusMethodInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusSignalInfo parent_struct; 785s # const gchar *signal_name; 785s # } _ExtendedGDBusSignalInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusPropertyInfo parent_struct; 785s # const gchar *hyphen_name; 785s # guint use_gvariant : 1; 785s # guint emits_changed_signal : 1; 785s # } _ExtendedGDBusPropertyInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusInterfaceInfo parent_struct; 785s # const gchar *hyphen_name; 785s # } _ExtendedGDBusInterfaceInfo; 785s # 785s # typedef struct 785s # { 785s # const _ExtendedGDBusPropertyInfo *info; 785s # guint prop_id; 785s # GValue orig_value; /* the value before the change */ 785s # } ChangedProperty; 785s # 785s # static void 785s # _changed_property_free (ChangedProperty *data) 785s # { 785s # g_value_unset (&data->orig_value); 785s # g_free (data); 785s # } 785s # 785s # static gboolean 785s # _g_strv_equal0 (gchar **a, gchar **b) 785s # { 785s # gboolean ret = FALSE; 785s # guint n; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # if (g_strv_length (a) != g_strv_length (b)) 785s # goto out; 785s # for (n = 0; a[n] != NULL; n++) 785s # if (g_strcmp0 (a[n], b[n]) != 0) 785s # goto out; 785s # ret = TRUE; 785s # out: 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _g_variant_equal0 (GVariant *a, GVariant *b) 785s # { 785s # gboolean ret = FALSE; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # ret = g_variant_equal (a, b); 785s # out: 785s # return ret; 785s # } 785s # 785s # G_GNUC_UNUSED static gboolean 785s # _g_value_equal (const GValue *a, const GValue *b) 785s # { 785s # gboolean ret = FALSE; 785s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 785s # switch (G_VALUE_TYPE (a)) 785s # { 785s # case G_TYPE_BOOLEAN: 785s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 785s # break; 785s # case G_TYPE_UCHAR: 785s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 785s # break; 785s # case G_TYPE_INT: 785s # ret = (g_value_get_int (a) == g_value_get_int (b)); 785s # break; 785s # case G_TYPE_UINT: 785s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 785s # break; 785s # case G_TYPE_INT64: 785s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 785s # break; 785s # case G_TYPE_UINT64: 785s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 785s # break; 785s # case G_TYPE_DOUBLE: 785s # { 785s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 785s # gdouble da = g_value_get_double (a); 785s # gdouble db = g_value_get_double (b); 785s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 785s # } 785s # break; 785s # case G_TYPE_STRING: 785s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 785s # break; 785s # case G_TYPE_VARIANT: 785s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 785s # break; 785s # default: 785s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 785s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 785s # else 785s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 785s # break; 785s # } 785s # return ret; 785s # } 785s # 785s # static void 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint G_GNUC_UNUSED, 785s # void *marshal_data) 785s # { 785s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 785s # (void *data1, 785s # GDBusMethodInvocation *arg_method_invocation, 785s # GVariant *arg_arg_h, 785s # void *data2); 785s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 785s # GCClosure *cc = (GCClosure*) closure; 785s # void *data1, *data2; 785s # gboolean v_return; 785s # 785s # g_return_if_fail (return_value != NULL); 785s # g_return_if_fail (n_param_values == 3); 785s # 785s # if (G_CCLOSURE_SWAP_DATA (closure)) 785s # { 785s # data1 = closure->data; 785s # data2 = g_value_peek_pointer (param_values + 0); 785s # } 785s # else 785s # { 785s # data1 = g_value_peek_pointer (param_values + 0); 785s # data2 = closure->data; 785s # } 785s # 785s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 785s # (marshal_data ? marshal_data : cc->callback); 785s # 785s # v_return = 785s # callback (data1, 785s # g_marshal_value_peek_object (param_values + 1), 785s # g_marshal_value_peek_variant (param_values + 2), 785s # data2); 785s # 785s # g_value_set_boolean (return_value, v_return); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ 785s # * Code for interface org.project.UsefulInterface 785s # * ------------------------------------------------------------------------ 785s # */ 785s # 785s # /** 785s # * SECTION:OrgProjectUsefulInterface 785s # * @title: OrgProjectUsefulInterface 785s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 785s # * 785s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 785s # */ 785s # 785s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 785s # 785s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 785s # { 785s # { 785s # -1, 785s # (gchar *) "arg_h", 785s # (gchar *) "h", 785s # NULL 785s # }, 785s # FALSE 785s # }; 785s # 785s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 785s # { 785s # { 785s # -1, 785s # (gchar *) "SingleArgMethodH", 785s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 785s # NULL, 785s # NULL 785s # }, 785s # "handle-single-arg-method-h", 785s # FALSE 785s # }; 785s # 785s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 785s # { 785s # { 785s # -1, 785s # (gchar *) "org.project.UsefulInterface", 785s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 785s # NULL, 785s # NULL, 785s # NULL 785s # }, 785s # "org-project-useful-interface", 785s # }; 785s # 785s # 785s # /** 785s # * org_project_useful_interface_interface_info: 785s # * 785s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 785s # * 785s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 785s # */ 785s # GDBusInterfaceInfo * 785s # org_project_useful_interface_interface_info (void) 785s # { 785s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_override_properties: 785s # * @klass: The class structure for a #GObject derived class. 785s # * @property_id_begin: The property id to assign to the first overridden property. 785s # * 785s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 785s # * The properties are overridden in the order they are defined. 785s # * 785s # * Returns: The last property id. 785s # */ 785s # guint 785s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 785s # { 785s # return property_id_begin - 1; 785s # } 785s # 785s # 785s # inline static void 785s # org_project_useful_interface_method_marshal_single_arg_method_h ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint, 785s # void *marshal_data) 785s # { 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 785s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 785s # } 785s # 785s # 785s # /** 785s # * OrgProjectUsefulInterface: 785s # * 785s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceIface: 785s # * @parent_iface: The parent interface. 785s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 785s # * 785s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 785s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 785s # 785s # static void 785s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 785s # { 785s # /* GObject signals for incoming D-Bus method calls: */ 785s # /** 785s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: A #GDBusMethodInvocation. 785s # * @arg_arg_h: Argument passed by remote caller. 785s # * 785s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 785s # * 785s # * 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. 785s # * 785s # * 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. 785s # */ 785s # g_signal_new ("handle-single-arg-method-h", 785s # G_TYPE_FROM_INTERFACE (iface), 785s # G_SIGNAL_RUN_LAST, 785s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 785s # g_signal_accumulator_true_handled, 785s # NULL, 785s # org_project_useful_interface_method_marshal_single_arg_method_h, 785s # G_TYPE_BOOLEAN, 785s # 2, 785s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 785s # 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_h: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_h: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 785s # */ 785s # void 785s # org_project_useful_interface_call_single_arg_method_h ( 785s # OrgProjectUsefulInterface *proxy, 785s # GVariant *arg_arg_h, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodH", 785s # g_variant_new ("(@h)", 785s # arg_arg_h), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # callback, 785s # user_data); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_h_finish: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_h_finish ( 785s # OrgProjectUsefulInterface *proxy, 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_h_sync: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_h: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_h_sync ( 785s # OrgProjectUsefulInterface *proxy, 785s # GVariant *arg_arg_h, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodH", 785s # g_variant_new ("(@h)", 785s # arg_arg_h), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_complete_single_arg_method_h: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: (transfer full): A #GDBusMethodInvocation. 785s # * 785s # * 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. 785s # * 785s # * This method will free @invocation, you cannot use it afterwards. 785s # */ 785s # void 785s # org_project_useful_interface_complete_single_arg_method_h ( 785s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 785s # GDBusMethodInvocation *invocation) 785s # { 785s # g_dbus_method_invocation_return_value (invocation, 785s # g_variant_new ("()")); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxy: 785s # * 785s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxyClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceProxy. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceProxyPrivate 785s # { 785s # GData *qdata; 785s # }; 785s # 785s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_proxy_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 785s # g_datalist_clear (&proxy->priv->qdata); 785s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # const GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 785s # const gchar *sender_name G_GNUC_UNUSED, 785s # const gchar *signal_name, 785s # GVariant *parameters) 785s # { 785s # _ExtendedGDBusSignalInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # gsize n; 785s # guint signal_id; 785s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 785s # if (info == NULL) 785s # return; 785s # num_params = g_variant_n_children (parameters); 785s # paramv = g_new0 (GValue, num_params + 1); 785s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[0], proxy); 785s # g_variant_iter_init (&iter, parameters); 785s # n = 1; 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_signal_emitv (paramv, signal_id, 0, NULL); 785s # for (n = 0; n < num_params + 1; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 785s # GVariant *changed_properties, 785s # const gchar *const *invalidated_properties) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 785s # guint n; 785s # const gchar *key; 785s # GVariantIter *iter; 785s # _ExtendedGDBusPropertyInfo *info; 785s # g_variant_get (changed_properties, "a{sv}", &iter); 785s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 785s # g_datalist_remove_data (&proxy->priv->qdata, key); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # g_variant_iter_free (iter); 785s # for (n = 0; invalidated_properties[n] != NULL; n++) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 785s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 785s # #else 785s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 785s # #endif 785s # 785s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusProxyClass *proxy_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 785s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 785s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 785s # 785s # proxy_class = G_DBUS_PROXY_CLASS (klass); 785s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 785s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_sync: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_sync ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new_for_bus ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_sync: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_sync ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeleton: 785s # * 785s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeletonClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 785s # { 785s # GValue *properties; 785s # GList *changed_properties; 785s # GSource *changed_properties_idle_source; 785s # GMainContext *context; 785s # GMutex lock; 785s # }; 785s # 785s # static void 785s # _org_project_useful_interface_skeleton_handle_method_call ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name, 785s # const gchar *method_name, 785s # GVariant *parameters, 785s # GDBusMethodInvocation *invocation, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # _ExtendedGDBusMethodInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # guint num_extra; 785s # gsize n; 785s # guint signal_id; 785s # GValue return_value = G_VALUE_INIT; 785s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 785s # g_assert (info != NULL); 785s # num_params = g_variant_n_children (parameters); 785s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 785s # n = 0; 785s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[n++], skeleton); 785s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 785s # g_value_set_object (¶mv[n++], invocation); 785s # if (info->pass_fdlist) 785s # { 785s # #ifdef G_OS_UNIX 785s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 785s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 785s # #else 785s # g_assert_not_reached (); 785s # #endif 785s # } 785s # g_variant_iter_init (&iter, parameters); 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_init (&return_value, G_TYPE_BOOLEAN); 785s # g_signal_emitv (paramv, signal_id, 0, &return_value); 785s # if (!g_value_get_boolean (&return_value)) 785s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 785s # g_value_unset (&return_value); 785s # for (n = 0; n < num_params + num_extra; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static GVariant * 785s # _org_project_useful_interface_skeleton_handle_get_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # GVariant *ret; 785s # ret = NULL; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # g_value_init (&value, pspec->value_type); 785s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 785s # g_value_unset (&value); 785s # } 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _org_project_useful_interface_skeleton_handle_set_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GVariant *variant, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # gboolean ret; 785s # ret = FALSE; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # if (info->use_gvariant) 785s # g_value_set_variant (&value, variant); 785s # else 785s # g_dbus_gvariant_to_gvalue (variant, &value); 785s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # g_value_unset (&value); 785s # ret = TRUE; 785s # } 785s # return ret; 785s # } 785s # 785s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 785s # { 785s # _org_project_useful_interface_skeleton_handle_method_call, 785s # _org_project_useful_interface_skeleton_handle_get_property, 785s # _org_project_useful_interface_skeleton_handle_set_property, 785s # {NULL} 785s # }; 785s # 785s # static GDBusInterfaceInfo * 785s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return org_project_useful_interface_interface_info (); 785s # } 785s # 785s # static GDBusInterfaceVTable * 785s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 785s # } 785s # 785s # static GVariant * 785s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 785s # 785s # GVariantBuilder builder; 785s # guint n; 785s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 785s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 785s # goto out; 785s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 785s # { 785s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 785s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 785s # { 785s # GVariant *value; 785s # 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); 785s # if (value != NULL) 785s # { 785s # g_variant_take_ref (value); 785s # g_variant_builder_add (&builder, "{sv}", info->name, value); 785s # g_variant_unref (value); 785s # } 785s # } 785s # } 785s # out: 785s # return g_variant_builder_end (&builder); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_skeleton_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 785s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 785s # if (skeleton->priv->changed_properties_idle_source != NULL) 785s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 785s # g_main_context_unref (skeleton->priv->context); 785s # g_mutex_clear (&skeleton->priv->lock); 785s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 785s # #else 785s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 785s # #endif 785s # 785s # g_mutex_init (&skeleton->priv->lock); 785s # skeleton->priv->context = g_main_context_ref_thread_default (); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusInterfaceSkeletonClass *skeleton_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 785s # 785s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 785s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 785s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 785s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 785s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_skeleton_new: 785s # * 785s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_skeleton_new (void) 785s # { 785s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 785s # } 785s # /tmp/tmpkasma2_h/tmpibsosjvu.xml: 785s # 785s # 785s # 785s # 785s # 785s # 785s # 785s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkasma2_h/tmpibsosjvu.xml', '--output', '-', '--body'] 785s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 785s # Output: /* 785s # * This file is generated by gdbus-codegen, do not modify it. 785s # * 785s # * The license of this code is the same as for the D-Bus interface description 785s # * it was derived from. Note that it links to GLib, so must comply with the 785s # * LGPL linking clauses. 785s # */ 785s # 785s # #ifdef HAVE_CONFIG_H 785s # # include "config.h" 785s # #endif 785s # 785s # #include 785s # #ifdef G_OS_UNIX 785s # # include 785s # #endif 785s # 785s # #ifdef G_ENABLE_DEBUG 785s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 785s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 785s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 785s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 785s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 785s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 785s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 785s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 785s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 785s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 785s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 785s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 785s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 785s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 785s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 785s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 785s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 785s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 785s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 785s # #else /* !G_ENABLE_DEBUG */ 785s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 785s # * Do not access GValues directly in your code. Instead, use the 785s # * g_value_get_*() functions 785s # */ 785s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 785s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 785s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 785s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 785s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 785s # #endif /* !G_ENABLE_DEBUG */ 785s # 785s # typedef struct 785s # { 785s # GDBusArgInfo parent_struct; 785s # gboolean use_gvariant; 785s # } _ExtendedGDBusArgInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusMethodInfo parent_struct; 785s # const gchar *signal_name; 785s # gboolean pass_fdlist; 785s # } _ExtendedGDBusMethodInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusSignalInfo parent_struct; 785s # const gchar *signal_name; 785s # } _ExtendedGDBusSignalInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusPropertyInfo parent_struct; 785s # const gchar *hyphen_name; 785s # guint use_gvariant : 1; 785s # guint emits_changed_signal : 1; 785s # } _ExtendedGDBusPropertyInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusInterfaceInfo parent_struct; 785s # const gchar *hyphen_name; 785s # } _ExtendedGDBusInterfaceInfo; 785s # 785s # typedef struct 785s # { 785s # const _ExtendedGDBusPropertyInfo *info; 785s # guint prop_id; 785s # GValue orig_value; /* the value before the change */ 785s # } ChangedProperty; 785s # 785s # static void 785s # _changed_property_free (ChangedProperty *data) 785s # { 785s # g_value_unset (&data->orig_value); 785s # g_free (data); 785s # } 785s # 785s # static gboolean 785s # _g_strv_equal0 (gchar **a, gchar **b) 785s # { 785s # gboolean ret = FALSE; 785s # guint n; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # if (g_strv_length (a) != g_strv_length (b)) 785s # goto out; 785s # for (n = 0; a[n] != NULL; n++) 785s # if (g_strcmp0 (a[n], b[n]) != 0) 785s # goto out; 785s # ret = TRUE; 785s # out: 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _g_variant_equal0 (GVariant *a, GVariant *b) 785s # { 785s # gboolean ret = FALSE; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # ret = g_variant_equal (a, b); 785s # out: 785s # return ret; 785s # } 785s # 785s # G_GNUC_UNUSED static gboolean 785s # _g_value_equal (const GValue *a, const GValue *b) 785s # { 785s # gboolean ret = FALSE; 785s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 785s # switch (G_VALUE_TYPE (a)) 785s # { 785s # case G_TYPE_BOOLEAN: 785s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 785s # break; 785s # case G_TYPE_UCHAR: 785s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 785s # break; 785s # case G_TYPE_INT: 785s # ret = (g_value_get_int (a) == g_value_get_int (b)); 785s # break; 785s # case G_TYPE_UINT: 785s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 785s # break; 785s # case G_TYPE_INT64: 785s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 785s # break; 785s # case G_TYPE_UINT64: 785s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 785s # break; 785s # case G_TYPE_DOUBLE: 785s # { 785s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 785s # gdouble da = g_value_get_double (a); 785s # gdouble db = g_value_get_double (b); 785s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 785s # } 785s # break; 785s # case G_TYPE_STRING: 785s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 785s # break; 785s # case G_TYPE_VARIANT: 785s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 785s # break; 785s # default: 785s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 785s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 785s # else 785s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 785s # break; 785s # } 785s # return ret; 785s # } 785s # 785s # static void 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint G_GNUC_UNUSED, 785s # void *marshal_data) 785s # { 785s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 785s # (void *data1, 785s # GDBusMethodInvocation *arg_method_invocation, 785s # const gchar *arg_arg_ay, 785s # void *data2); 785s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 785s # GCClosure *cc = (GCClosure*) closure; 785s # void *data1, *data2; 785s # gboolean v_return; 785s # 785s # g_return_if_fail (return_value != NULL); 785s # g_return_if_fail (n_param_values == 3); 785s # 785s # if (G_CCLOSURE_SWAP_DATA (closure)) 785s # { 785s # data1 = closure->data; 785s # data2 = g_value_peek_pointer (param_values + 0); 785s # } 785s # else 785s # { 785s # data1 = g_value_peek_pointer (param_values + 0); 785s # data2 = closure->data; 785s # } 785s # 785s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 785s # (marshal_data ? marshal_data : cc->callback); 785s # 785s # v_return = 785s # callback (data1, 785s # g_marshal_value_peek_object (param_values + 1), 785s # g_marshal_value_peek_string (param_values + 2), 785s # data2); 785s # 785s # g_value_set_boolean (return_value, v_return); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ 785s # * Code for interface org.project.UsefulInterface 785s # * ------------------------------------------------------------------------ 785s # */ 785s # 785s # /** 785s # * SECTION:OrgProjectUsefulInterface 785s # * @title: OrgProjectUsefulInterface 785s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 785s # * 785s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 785s # */ 785s # 785s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 785s # 785s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 785s # { 785s # { 785s # -1, 785s # (gchar *) "arg_ay", 785s # (gchar *) "ay", 785s # NULL 785s # }, 785s # FALSE 785s # }; 785s # 785s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 785s # { 785s # { 785s # -1, 785s # (gchar *) "SingleArgMethodAy", 785s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 785s # NULL, 785s # NULL 785s # }, 785s # "handle-single-arg-method-ay", 785s # FALSE 785s # }; 785s # 785s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 785s # { 785s # { 785s # -1, 785s # (gchar *) "org.project.UsefulInterface", 785s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 785s # NULL, 785s # NULL, 785s # NULL 785s # }, 785s # "org-project-useful-interface", 785s # }; 785s # 785s # 785s # /** 785s # * org_project_useful_interface_interface_info: 785s # * 785s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 785s # * 785s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 785s # */ 785s # GDBusInterfaceInfo * 785s # org_project_useful_interface_interface_info (void) 785s # { 785s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_override_properties: 785s # * @klass: The class structure for a #GObject derived class. 785s # * @property_id_begin: The property id to assign to the first overridden property. 785s # * 785s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 785s # * The properties are overridden in the order they are defined. 785s # * 785s # * Returns: The last property id. 785s # */ 785s # guint 785s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 785s # { 785s # return property_id_begin - 1; 785s # } 785s # 785s # 785s # inline static void 785s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint, 785s # void *marshal_data) 785s # { 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 785s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 785s # } 785s # 785s # 785s # /** 785s # * OrgProjectUsefulInterface: 785s # * 785s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceIface: 785s # * @parent_iface: The parent interface. 785s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 785s # * 785s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 785s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 785s # 785s # static void 785s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 785s # { 785s # /* GObject signals for incoming D-Bus method calls: */ 785s # /** 785s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: A #GDBusMethodInvocation. 785s # * @arg_arg_ay: Argument passed by remote caller. 785s # * 785s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 785s # * 785s # * 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. 785s # * 785s # * 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. 785s # */ 785s # g_signal_new ("handle-single-arg-method-ay", 785s # G_TYPE_FROM_INTERFACE (iface), 785s # G_SIGNAL_RUN_LAST, 785s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 785s # g_signal_accumulator_true_handled, 785s # NULL, 785s # org_project_useful_interface_method_marshal_single_arg_method_ay, 785s # G_TYPE_BOOLEAN, 785s # 2, 785s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 785s # 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_ay: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_ay: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 785s # */ 785s # void 785s # org_project_useful_interface_call_single_arg_method_ay ( 785s # OrgProjectUsefulInterface *proxy, 785s # const gchar *arg_arg_ay, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodAy", 785s # g_variant_new ("(^ay)", 785s # arg_arg_ay), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # callback, 785s # user_data); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_ay_finish: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_ay_finish ( 785s # OrgProjectUsefulInterface *proxy, 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_ay_sync: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_ay: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_ay_sync ( 785s # OrgProjectUsefulInterface *proxy, 785s # const gchar *arg_arg_ay, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodAy", 785s # g_variant_new ("(^ay)", 785s # arg_arg_ay), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_complete_single_arg_method_ay: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: (transfer full): A #GDBusMethodInvocation. 785s # * 785s # * 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. 785s # * 785s # * This method will free @invocation, you cannot use it afterwards. 785s # */ 785s # void 785s # org_project_useful_interface_complete_single_arg_method_ay ( 785s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 785s # GDBusMethodInvocation *invocation) 785s # { 785s # g_dbus_method_invocation_return_value (invocation, 785s # g_variant_new ("()")); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxy: 785s # * 785s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxyClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceProxy. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceProxyPrivate 785s # { 785s # GData *qdata; 785s # }; 785s # 785s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_proxy_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 785s # g_datalist_clear (&proxy->priv->qdata); 785s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # const GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 785s # const gchar *sender_name G_GNUC_UNUSED, 785s # const gchar *signal_name, 785s # GVariant *parameters) 785s # { 785s # _ExtendedGDBusSignalInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # gsize n; 785s # guint signal_id; 785s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 785s # if (info == NULL) 785s # return; 785s # num_params = g_variant_n_children (parameters); 785s # paramv = g_new0 (GValue, num_params + 1); 785s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[0], proxy); 785s # g_variant_iter_init (&iter, parameters); 785s # n = 1; 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_signal_emitv (paramv, signal_id, 0, NULL); 785s # for (n = 0; n < num_params + 1; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 785s # GVariant *changed_properties, 785s # const gchar *const *invalidated_properties) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 785s # guint n; 785s # const gchar *key; 785s # GVariantIter *iter; 785s # _ExtendedGDBusPropertyInfo *info; 785s # g_variant_get (changed_properties, "a{sv}", &iter); 785s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 785s # g_datalist_remove_data (&proxy->priv->qdata, key); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # g_variant_iter_free (iter); 785s # for (n = 0; invalidated_properties[n] != NULL; n++) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 785s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 785s # #else 785s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 785s # #endif 785s # 785s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusProxyClass *proxy_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 785s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 785s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 785s # 785s # proxy_class = G_DBUS_PROXY_CLASS (klass); 785s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 785s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_sync: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_sync ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new_for_bus ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_sync: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_sync ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeleton: 785s # * 785s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeletonClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 785s # { 785s # GValue *properties; 785s # GList *changed_properties; 785s # GSource *changed_properties_idle_source; 785s # GMainContext *context; 785s # GMutex lock; 785s # }; 785s # 785s # static void 785s # _org_project_useful_interface_skeleton_handle_method_call ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name, 785s # const gchar *method_name, 785s # GVariant *parameters, 785s # GDBusMethodInvocation *invocation, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # _ExtendedGDBusMethodInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # guint num_extra; 785s # gsize n; 785s # guint signal_id; 785s # GValue return_value = G_VALUE_INIT; 785s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 785s # g_assert (info != NULL); 785s # num_params = g_variant_n_children (parameters); 785s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 785s # n = 0; 785s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[n++], skeleton); 785s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 785s # g_value_set_object (¶mv[n++], invocation); 785s # if (info->pass_fdlist) 785s # { 785s # #ifdef G_OS_UNIX 785s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 785s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 785s # #else 785s # g_assert_not_reached (); 785s # #endif 785s # } 785s # g_variant_iter_init (&iter, parameters); 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_init (&return_value, G_TYPE_BOOLEAN); 785s # g_signal_emitv (paramv, signal_id, 0, &return_value); 785s # if (!g_value_get_boolean (&return_value)) 785s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 785s # g_value_unset (&return_value); 785s # for (n = 0; n < num_params + num_extra; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static GVariant * 785s # _org_project_useful_interface_skeleton_handle_get_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # GVariant *ret; 785s # ret = NULL; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # g_value_init (&value, pspec->value_type); 785s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 785s # g_value_unset (&value); 785s # } 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _org_project_useful_interface_skeleton_handle_set_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GVariant *variant, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # gboolean ret; 785s # ret = FALSE; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # if (info->use_gvariant) 785s # g_value_set_variant (&value, variant); 785s # else 785s # g_dbus_gvariant_to_gvalue (variant, &value); 785s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # g_value_unset (&value); 785s # ret = TRUE; 785s # } 785s # return ret; 785s # } 785s # 785s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 785s # { 785s # _org_project_useful_interface_skeleton_handle_method_call, 785s # _org_project_useful_interface_skeleton_handle_get_property, 785s # _org_project_useful_interface_skeleton_handle_set_property, 785s # {NULL} 785s # }; 785s # 785s # static GDBusInterfaceInfo * 785s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return org_project_useful_interface_interface_info (); 785s # } 785s # 785s # static GDBusInterfaceVTable * 785s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 785s # } 785s # 785s # static GVariant * 785s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 785s # 785s # GVariantBuilder builder; 785s # guint n; 785s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 785s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 785s # goto out; 785s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 785s # { 785s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 785s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 785s # { 785s # GVariant *value; 785s # 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); 785s # if (value != NULL) 785s # { 785s # g_variant_take_ref (value); 785s # g_variant_builder_add (&builder, "{sv}", info->name, value); 785s # g_variant_unref (value); 785s # } 785s # } 785s # } 785s # out: 785s # return g_variant_builder_end (&builder); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_skeleton_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 785s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 785s # if (skeleton->priv->changed_properties_idle_source != NULL) 785s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 785s # g_main_context_unref (skeleton->priv->context); 785s # g_mutex_clear (&skeleton->priv->lock); 785s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 785s # #else 785s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 785s # #endif 785s # 785s # g_mutex_init (&skeleton->priv->lock); 785s # skeleton->priv->context = g_main_context_ref_thread_default (); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusInterfaceSkeletonClass *skeleton_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 785s # 785s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 785s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 785s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 785s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 785s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_skeleton_new: 785s # * 785s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_skeleton_new (void) 785s # { 785s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 785s # } 785s # /tmp/tmpkasma2_h/tmplmqjmojr.xml: 785s # 785s # 785s # 785s # 785s # 785s # 785s # 785s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkasma2_h/tmplmqjmojr.xml', '--output', '-', '--body'] 785s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 785s # Output: /* 785s # * This file is generated by gdbus-codegen, do not modify it. 785s # * 785s # * The license of this code is the same as for the D-Bus interface description 785s # * it was derived from. Note that it links to GLib, so must comply with the 785s # * LGPL linking clauses. 785s # */ 785s # 785s # #ifdef HAVE_CONFIG_H 785s # # include "config.h" 785s # #endif 785s # 785s # #include 785s # #ifdef G_OS_UNIX 785s # # include 785s # #endif 785s # 785s # #ifdef G_ENABLE_DEBUG 785s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 785s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 785s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 785s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 785s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 785s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 785s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 785s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 785s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 785s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 785s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 785s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 785s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 785s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 785s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 785s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 785s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 785s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 785s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 785s # #else /* !G_ENABLE_DEBUG */ 785s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 785s # * Do not access GValues directly in your code. Instead, use the 785s # * g_value_get_*() functions 785s # */ 785s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 785s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 785s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 785s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 785s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 785s # #endif /* !G_ENABLE_DEBUG */ 785s # 785s # typedef struct 785s # { 785s # GDBusArgInfo parent_struct; 785s # gboolean use_gvariant; 785s # } _ExtendedGDBusArgInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusMethodInfo parent_struct; 785s # const gchar *signal_name; 785s # gboolean pass_fdlist; 785s # } _ExtendedGDBusMethodInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusSignalInfo parent_struct; 785s # const gchar *signal_name; 785s # } _ExtendedGDBusSignalInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusPropertyInfo parent_struct; 785s # const gchar *hyphen_name; 785s # guint use_gvariant : 1; 785s # guint emits_changed_signal : 1; 785s # } _ExtendedGDBusPropertyInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusInterfaceInfo parent_struct; 785s # const gchar *hyphen_name; 785s # } _ExtendedGDBusInterfaceInfo; 785s # 785s # typedef struct 785s # { 785s # const _ExtendedGDBusPropertyInfo *info; 785s # guint prop_id; 785s # GValue orig_value; /* the value before the change */ 785s # } ChangedProperty; 785s # 785s # static void 785s # _changed_property_free (ChangedProperty *data) 785s # { 785s # g_value_unset (&data->orig_value); 785s # g_free (data); 785s # } 785s # 785s # static gboolean 785s # _g_strv_equal0 (gchar **a, gchar **b) 785s # { 785s # gboolean ret = FALSE; 785s # guint n; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # if (g_strv_length (a) != g_strv_length (b)) 785s # goto out; 785s # for (n = 0; a[n] != NULL; n++) 785s # if (g_strcmp0 (a[n], b[n]) != 0) 785s # goto out; 785s # ret = TRUE; 785s # out: 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _g_variant_equal0 (GVariant *a, GVariant *b) 785s # { 785s # gboolean ret = FALSE; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # ret = g_variant_equal (a, b); 785s # out: 785s # return ret; 785s # } 785s # 785s # G_GNUC_UNUSED static gboolean 785s # _g_value_equal (const GValue *a, const GValue *b) 785s # { 785s # gboolean ret = FALSE; 785s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 785s # switch (G_VALUE_TYPE (a)) 785s # { 785s # case G_TYPE_BOOLEAN: 785s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 785s # break; 785s # case G_TYPE_UCHAR: 785s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 785s # break; 785s # case G_TYPE_INT: 785s # ret = (g_value_get_int (a) == g_value_get_int (b)); 785s # break; 785s # case G_TYPE_UINT: 785s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 785s # break; 785s # case G_TYPE_INT64: 785s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 785s # break; 785s # case G_TYPE_UINT64: 785s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 785s # break; 785s # case G_TYPE_DOUBLE: 785s # { 785s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 785s # gdouble da = g_value_get_double (a); 785s # gdouble db = g_value_get_double (b); 785s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 785s # } 785s # break; 785s # case G_TYPE_STRING: 785s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 785s # break; 785s # case G_TYPE_VARIANT: 785s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 785s # break; 785s # default: 785s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 785s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 785s # else 785s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 785s # break; 785s # } 785s # return ret; 785s # } 785s # 785s # static void 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint G_GNUC_UNUSED, 785s # void *marshal_data) 785s # { 785s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 785s # (void *data1, 785s # GDBusMethodInvocation *arg_method_invocation, 785s # const gchar *const *arg_arg_as, 785s # void *data2); 785s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 785s # GCClosure *cc = (GCClosure*) closure; 785s # void *data1, *data2; 785s # gboolean v_return; 785s # 785s # g_return_if_fail (return_value != NULL); 785s # g_return_if_fail (n_param_values == 3); 785s # 785s # if (G_CCLOSURE_SWAP_DATA (closure)) 785s # { 785s # data1 = closure->data; 785s # data2 = g_value_peek_pointer (param_values + 0); 785s # } 785s # else 785s # { 785s # data1 = g_value_peek_pointer (param_values + 0); 785s # data2 = closure->data; 785s # } 785s # 785s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 785s # (marshal_data ? marshal_data : cc->callback); 785s # 785s # v_return = 785s # callback (data1, 785s # g_marshal_value_peek_object (param_values + 1), 785s # g_marshal_value_peek_boxed (param_values + 2), 785s # data2); 785s # 785s # g_value_set_boolean (return_value, v_return); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ 785s # * Code for interface org.project.UsefulInterface 785s # * ------------------------------------------------------------------------ 785s # */ 785s # 785s # /** 785s # * SECTION:OrgProjectUsefulInterface 785s # * @title: OrgProjectUsefulInterface 785s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 785s # * 785s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 785s # */ 785s # 785s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 785s # 785s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 785s # { 785s # { 785s # -1, 785s # (gchar *) "arg_as", 785s # (gchar *) "as", 785s # NULL 785s # }, 785s # FALSE 785s # }; 785s # 785s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 785s # { 785s # { 785s # -1, 785s # (gchar *) "SingleArgMethodAs", 785s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 785s # NULL, 785s # NULL 785s # }, 785s # "handle-single-arg-method-as", 785s # FALSE 785s # }; 785s # 785s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 785s # { 785s # { 785s # -1, 785s # (gchar *) "org.project.UsefulInterface", 785s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 785s # NULL, 785s # NULL, 785s # NULL 785s # }, 785s # "org-project-useful-interface", 785s # }; 785s # 785s # 785s # /** 785s # * org_project_useful_interface_interface_info: 785s # * 785s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 785s # * 785s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 785s # */ 785s # GDBusInterfaceInfo * 785s # org_project_useful_interface_interface_info (void) 785s # { 785s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_override_properties: 785s # * @klass: The class structure for a #GObject derived class. 785s # * @property_id_begin: The property id to assign to the first overridden property. 785s # * 785s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 785s # * The properties are overridden in the order they are defined. 785s # * 785s # * Returns: The last property id. 785s # */ 785s # guint 785s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 785s # { 785s # return property_id_begin - 1; 785s # } 785s # 785s # 785s # inline static void 785s # org_project_useful_interface_method_marshal_single_arg_method_as ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint, 785s # void *marshal_data) 785s # { 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 785s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 785s # } 785s # 785s # 785s # /** 785s # * OrgProjectUsefulInterface: 785s # * 785s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceIface: 785s # * @parent_iface: The parent interface. 785s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 785s # * 785s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 785s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 785s # 785s # static void 785s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 785s # { 785s # /* GObject signals for incoming D-Bus method calls: */ 785s # /** 785s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: A #GDBusMethodInvocation. 785s # * @arg_arg_as: Argument passed by remote caller. 785s # * 785s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 785s # * 785s # * 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. 785s # * 785s # * 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. 785s # */ 785s # g_signal_new ("handle-single-arg-method-as", 785s # G_TYPE_FROM_INTERFACE (iface), 785s # G_SIGNAL_RUN_LAST, 785s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 785s # g_signal_accumulator_true_handled, 785s # NULL, 785s # org_project_useful_interface_method_marshal_single_arg_method_as, 785s # G_TYPE_BOOLEAN, 785s # 2, 785s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 785s # 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_as: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_as: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 785s # */ 785s # void 785s # org_project_useful_interface_call_single_arg_method_as ( 785s # OrgProjectUsefulInterface *proxy, 785s # const gchar *const *arg_arg_as, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodAs", 785s # g_variant_new ("(^as)", 785s # arg_arg_as), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # callback, 785s # user_data); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_as_finish: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_as_finish ( 785s # OrgProjectUsefulInterface *proxy, 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_as_sync: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_as: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_as_sync ( 785s # OrgProjectUsefulInterface *proxy, 785s # const gchar *const *arg_arg_as, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodAs", 785s # g_variant_new ("(^as)", 785s # arg_arg_as), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_complete_single_arg_method_as: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: (transfer full): A #GDBusMethodInvocation. 785s # * 785s # * 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. 785s # * 785s # * This method will free @invocation, you cannot use it afterwards. 785s # */ 785s # void 785s # org_project_useful_interface_complete_single_arg_method_as ( 785s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 785s # GDBusMethodInvocation *invocation) 785s # { 785s # g_dbus_method_invocation_return_value (invocation, 785s # g_variant_new ("()")); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxy: 785s # * 785s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxyClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceProxy. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceProxyPrivate 785s # { 785s # GData *qdata; 785s # }; 785s # 785s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_proxy_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 785s # g_datalist_clear (&proxy->priv->qdata); 785s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # const GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 785s # const gchar *sender_name G_GNUC_UNUSED, 785s # const gchar *signal_name, 785s # GVariant *parameters) 785s # { 785s # _ExtendedGDBusSignalInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # gsize n; 785s # guint signal_id; 785s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 785s # if (info == NULL) 785s # return; 785s # num_params = g_variant_n_children (parameters); 785s # paramv = g_new0 (GValue, num_params + 1); 785s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[0], proxy); 785s # g_variant_iter_init (&iter, parameters); 785s # n = 1; 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_signal_emitv (paramv, signal_id, 0, NULL); 785s # for (n = 0; n < num_params + 1; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 785s # GVariant *changed_properties, 785s # const gchar *const *invalidated_properties) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 785s # guint n; 785s # const gchar *key; 785s # GVariantIter *iter; 785s # _ExtendedGDBusPropertyInfo *info; 785s # g_variant_get (changed_properties, "a{sv}", &iter); 785s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 785s # g_datalist_remove_data (&proxy->priv->qdata, key); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # g_variant_iter_free (iter); 785s # for (n = 0; invalidated_properties[n] != NULL; n++) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 785s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 785s # #else 785s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 785s # #endif 785s # 785s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusProxyClass *proxy_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 785s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 785s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 785s # 785s # proxy_class = G_DBUS_PROXY_CLASS (klass); 785s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 785s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_sync: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_sync ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new_for_bus ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_sync: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_sync ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeleton: 785s # * 785s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeletonClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 785s # { 785s # GValue *properties; 785s # GList *changed_properties; 785s # GSource *changed_properties_idle_source; 785s # GMainContext *context; 785s # GMutex lock; 785s # }; 785s # 785s # static void 785s # _org_project_useful_interface_skeleton_handle_method_call ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name, 785s # const gchar *method_name, 785s # GVariant *parameters, 785s # GDBusMethodInvocation *invocation, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # _ExtendedGDBusMethodInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # guint num_extra; 785s # gsize n; 785s # guint signal_id; 785s # GValue return_value = G_VALUE_INIT; 785s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 785s # g_assert (info != NULL); 785s # num_params = g_variant_n_children (parameters); 785s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 785s # n = 0; 785s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[n++], skeleton); 785s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 785s # g_value_set_object (¶mv[n++], invocation); 785s # if (info->pass_fdlist) 785s # { 785s # #ifdef G_OS_UNIX 785s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 785s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 785s # #else 785s # g_assert_not_reached (); 785s # #endif 785s # } 785s # g_variant_iter_init (&iter, parameters); 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_init (&return_value, G_TYPE_BOOLEAN); 785s # g_signal_emitv (paramv, signal_id, 0, &return_value); 785s # if (!g_value_get_boolean (&return_value)) 785s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 785s # g_value_unset (&return_value); 785s # for (n = 0; n < num_params + num_extra; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static GVariant * 785s # _org_project_useful_interface_skeleton_handle_get_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # GVariant *ret; 785s # ret = NULL; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # g_value_init (&value, pspec->value_type); 785s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 785s # g_value_unset (&value); 785s # } 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _org_project_useful_interface_skeleton_handle_set_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GVariant *variant, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # gboolean ret; 785s # ret = FALSE; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # if (info->use_gvariant) 785s # g_value_set_variant (&value, variant); 785s # else 785s # g_dbus_gvariant_to_gvalue (variant, &value); 785s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # g_value_unset (&value); 785s # ret = TRUE; 785s # } 785s # return ret; 785s # } 785s # 785s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 785s # { 785s # _org_project_useful_interface_skeleton_handle_method_call, 785s # _org_project_useful_interface_skeleton_handle_get_property, 785s # _org_project_useful_interface_skeleton_handle_set_property, 785s # {NULL} 785s # }; 785s # 785s # static GDBusInterfaceInfo * 785s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return org_project_useful_interface_interface_info (); 785s # } 785s # 785s # static GDBusInterfaceVTable * 785s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 785s # } 785s # 785s # static GVariant * 785s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 785s # 785s # GVariantBuilder builder; 785s # guint n; 785s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 785s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 785s # goto out; 785s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 785s # { 785s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 785s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 785s # { 785s # GVariant *value; 785s # 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); 785s # if (value != NULL) 785s # { 785s # g_variant_take_ref (value); 785s # g_variant_builder_add (&builder, "{sv}", info->name, value); 785s # g_variant_unref (value); 785s # } 785s # } 785s # } 785s # out: 785s # return g_variant_builder_end (&builder); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_skeleton_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 785s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 785s # if (skeleton->priv->changed_properties_idle_source != NULL) 785s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 785s # g_main_context_unref (skeleton->priv->context); 785s # g_mutex_clear (&skeleton->priv->lock); 785s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 785s # #else 785s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 785s # #endif 785s # 785s # g_mutex_init (&skeleton->priv->lock); 785s # skeleton->priv->context = g_main_context_ref_thread_default (); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusInterfaceSkeletonClass *skeleton_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 785s # 785s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 785s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 785s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 785s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 785s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_skeleton_new: 785s # * 785s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_skeleton_new (void) 785s # { 785s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 785s # } 785s # /tmp/tmpkasma2_h/tmp1bf76vn4.xml: 785s # 785s # 785s # 785s # 785s # 785s # 785s # 785s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkasma2_h/tmp1bf76vn4.xml', '--output', '-', '--body'] 785s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 785s # Output: /* 785s # * This file is generated by gdbus-codegen, do not modify it. 785s # * 785s # * The license of this code is the same as for the D-Bus interface description 785s # * it was derived from. Note that it links to GLib, so must comply with the 785s # * LGPL linking clauses. 785s # */ 785s # 785s # #ifdef HAVE_CONFIG_H 785s # # include "config.h" 785s # #endif 785s # 785s # #include 785s # #ifdef G_OS_UNIX 785s # # include 785s # #endif 785s # 785s # #ifdef G_ENABLE_DEBUG 785s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 785s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 785s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 785s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 785s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 785s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 785s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 785s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 785s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 785s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 785s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 785s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 785s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 785s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 785s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 785s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 785s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 785s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 785s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 785s # #else /* !G_ENABLE_DEBUG */ 785s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 785s # * Do not access GValues directly in your code. Instead, use the 785s # * g_value_get_*() functions 785s # */ 785s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 785s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 785s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 785s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 785s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 785s # #endif /* !G_ENABLE_DEBUG */ 785s # 785s # typedef struct 785s # { 785s # GDBusArgInfo parent_struct; 785s # gboolean use_gvariant; 785s # } _ExtendedGDBusArgInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusMethodInfo parent_struct; 785s # const gchar *signal_name; 785s # gboolean pass_fdlist; 785s # } _ExtendedGDBusMethodInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusSignalInfo parent_struct; 785s # const gchar *signal_name; 785s # } _ExtendedGDBusSignalInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusPropertyInfo parent_struct; 785s # const gchar *hyphen_name; 785s # guint use_gvariant : 1; 785s # guint emits_changed_signal : 1; 785s # } _ExtendedGDBusPropertyInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusInterfaceInfo parent_struct; 785s # const gchar *hyphen_name; 785s # } _ExtendedGDBusInterfaceInfo; 785s # 785s # typedef struct 785s # { 785s # const _ExtendedGDBusPropertyInfo *info; 785s # guint prop_id; 785s # GValue orig_value; /* the value before the change */ 785s # } ChangedProperty; 785s # 785s # static void 785s # _changed_property_free (ChangedProperty *data) 785s # { 785s # g_value_unset (&data->orig_value); 785s # g_free (data); 785s # } 785s # 785s # static gboolean 785s # _g_strv_equal0 (gchar **a, gchar **b) 785s # { 785s # gboolean ret = FALSE; 785s # guint n; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # if (g_strv_length (a) != g_strv_length (b)) 785s # goto out; 785s # for (n = 0; a[n] != NULL; n++) 785s # if (g_strcmp0 (a[n], b[n]) != 0) 785s # goto out; 785s # ret = TRUE; 785s # out: 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _g_variant_equal0 (GVariant *a, GVariant *b) 785s # { 785s # gboolean ret = FALSE; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # ret = g_variant_equal (a, b); 785s # out: 785s # return ret; 785s # } 785s # 785s # G_GNUC_UNUSED static gboolean 785s # _g_value_equal (const GValue *a, const GValue *b) 785s # { 785s # gboolean ret = FALSE; 785s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 785s # switch (G_VALUE_TYPE (a)) 785s # { 785s # case G_TYPE_BOOLEAN: 785s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 785s # break; 785s # case G_TYPE_UCHAR: 785s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 785s # break; 785s # case G_TYPE_INT: 785s # ret = (g_value_get_int (a) == g_value_get_int (b)); 785s # break; 785s # case G_TYPE_UINT: 785s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 785s # break; 785s # case G_TYPE_INT64: 785s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 785s # break; 785s # case G_TYPE_UINT64: 785s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 785s # break; 785s # case G_TYPE_DOUBLE: 785s # { 785s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 785s # gdouble da = g_value_get_double (a); 785s # gdouble db = g_value_get_double (b); 785s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 785s # } 785s # break; 785s # case G_TYPE_STRING: 785s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 785s # break; 785s # case G_TYPE_VARIANT: 785s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 785s # break; 785s # default: 785s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 785s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 785s # else 785s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 785s # break; 785s # } 785s # return ret; 785s # } 785s # 785s # static void 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint G_GNUC_UNUSED, 785s # void *marshal_data) 785s # { 785s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 785s # (void *data1, 785s # GDBusMethodInvocation *arg_method_invocation, 785s # const gchar *const *arg_arg_ao, 785s # void *data2); 785s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 785s # GCClosure *cc = (GCClosure*) closure; 785s # void *data1, *data2; 785s # gboolean v_return; 785s # 785s # g_return_if_fail (return_value != NULL); 785s # g_return_if_fail (n_param_values == 3); 785s # 785s # if (G_CCLOSURE_SWAP_DATA (closure)) 785s # { 785s # data1 = closure->data; 785s # data2 = g_value_peek_pointer (param_values + 0); 785s # } 785s # else 785s # { 785s # data1 = g_value_peek_pointer (param_values + 0); 785s # data2 = closure->data; 785s # } 785s # 785s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 785s # (marshal_data ? marshal_data : cc->callback); 785s # 785s # v_return = 785s # callback (data1, 785s # g_marshal_value_peek_object (param_values + 1), 785s # g_marshal_value_peek_boxed (param_values + 2), 785s # data2); 785s # 785s # g_value_set_boolean (return_value, v_return); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ 785s # * Code for interface org.project.UsefulInterface 785s # * ------------------------------------------------------------------------ 785s # */ 785s # 785s # /** 785s # * SECTION:OrgProjectUsefulInterface 785s # * @title: OrgProjectUsefulInterface 785s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 785s # * 785s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 785s # */ 785s # 785s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 785s # 785s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 785s # { 785s # { 785s # -1, 785s # (gchar *) "arg_ao", 785s # (gchar *) "ao", 785s # NULL 785s # }, 785s # FALSE 785s # }; 785s # 785s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 785s # { 785s # { 785s # -1, 785s # (gchar *) "SingleArgMethodAo", 785s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 785s # NULL, 785s # NULL 785s # }, 785s # "handle-single-arg-method-ao", 785s # FALSE 785s # }; 785s # 785s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 785s # { 785s # { 785s # -1, 785s # (gchar *) "org.project.UsefulInterface", 785s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 785s # NULL, 785s # NULL, 785s # NULL 785s # }, 785s # "org-project-useful-interface", 785s # }; 785s # 785s # 785s # /** 785s # * org_project_useful_interface_interface_info: 785s # * 785s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 785s # * 785s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 785s # */ 785s # GDBusInterfaceInfo * 785s # org_project_useful_interface_interface_info (void) 785s # { 785s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_override_properties: 785s # * @klass: The class structure for a #GObject derived class. 785s # * @property_id_begin: The property id to assign to the first overridden property. 785s # * 785s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 785s # * The properties are overridden in the order they are defined. 785s # * 785s # * Returns: The last property id. 785s # */ 785s # guint 785s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 785s # { 785s # return property_id_begin - 1; 785s # } 785s # 785s # 785s # inline static void 785s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint, 785s # void *marshal_data) 785s # { 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 785s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 785s # } 785s # 785s # 785s # /** 785s # * OrgProjectUsefulInterface: 785s # * 785s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceIface: 785s # * @parent_iface: The parent interface. 785s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 785s # * 785s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 785s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 785s # 785s # static void 785s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 785s # { 785s # /* GObject signals for incoming D-Bus method calls: */ 785s # /** 785s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: A #GDBusMethodInvocation. 785s # * @arg_arg_ao: Argument passed by remote caller. 785s # * 785s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 785s # * 785s # * 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. 785s # * 785s # * 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. 785s # */ 785s # g_signal_new ("handle-single-arg-method-ao", 785s # G_TYPE_FROM_INTERFACE (iface), 785s # G_SIGNAL_RUN_LAST, 785s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 785s # g_signal_accumulator_true_handled, 785s # NULL, 785s # org_project_useful_interface_method_marshal_single_arg_method_ao, 785s # G_TYPE_BOOLEAN, 785s # 2, 785s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 785s # 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_ao: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_ao: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 785s # */ 785s # void 785s # org_project_useful_interface_call_single_arg_method_ao ( 785s # OrgProjectUsefulInterface *proxy, 785s # const gchar *const *arg_arg_ao, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodAo", 785s # g_variant_new ("(^ao)", 785s # arg_arg_ao), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # callback, 785s # user_data); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_ao_finish: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_ao_finish ( 785s # OrgProjectUsefulInterface *proxy, 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_ao_sync: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_ao: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_ao_sync ( 785s # OrgProjectUsefulInterface *proxy, 785s # const gchar *const *arg_arg_ao, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodAo", 785s # g_variant_new ("(^ao)", 785s # arg_arg_ao), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_complete_single_arg_method_ao: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: (transfer full): A #GDBusMethodInvocation. 785s # * 785s # * 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. 785s # * 785s # * This method will free @invocation, you cannot use it afterwards. 785s # */ 785s # void 785s # org_project_useful_interface_complete_single_arg_method_ao ( 785s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 785s # GDBusMethodInvocation *invocation) 785s # { 785s # g_dbus_method_invocation_return_value (invocation, 785s # g_variant_new ("()")); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxy: 785s # * 785s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxyClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceProxy. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceProxyPrivate 785s # { 785s # GData *qdata; 785s # }; 785s # 785s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_proxy_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 785s # g_datalist_clear (&proxy->priv->qdata); 785s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # const GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 785s # const gchar *sender_name G_GNUC_UNUSED, 785s # const gchar *signal_name, 785s # GVariant *parameters) 785s # { 785s # _ExtendedGDBusSignalInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # gsize n; 785s # guint signal_id; 785s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 785s # if (info == NULL) 785s # return; 785s # num_params = g_variant_n_children (parameters); 785s # paramv = g_new0 (GValue, num_params + 1); 785s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[0], proxy); 785s # g_variant_iter_init (&iter, parameters); 785s # n = 1; 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_signal_emitv (paramv, signal_id, 0, NULL); 785s # for (n = 0; n < num_params + 1; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 785s # GVariant *changed_properties, 785s # const gchar *const *invalidated_properties) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 785s # guint n; 785s # const gchar *key; 785s # GVariantIter *iter; 785s # _ExtendedGDBusPropertyInfo *info; 785s # g_variant_get (changed_properties, "a{sv}", &iter); 785s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 785s # g_datalist_remove_data (&proxy->priv->qdata, key); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # g_variant_iter_free (iter); 785s # for (n = 0; invalidated_properties[n] != NULL; n++) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 785s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 785s # #else 785s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 785s # #endif 785s # 785s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusProxyClass *proxy_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 785s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 785s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 785s # 785s # proxy_class = G_DBUS_PROXY_CLASS (klass); 785s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 785s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_sync: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_sync ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new_for_bus ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_sync: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_sync ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeleton: 785s # * 785s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeletonClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 785s # { 785s # GValue *properties; 785s # GList *changed_properties; 785s # GSource *changed_properties_idle_source; 785s # GMainContext *context; 785s # GMutex lock; 785s # }; 785s # 785s # static void 785s # _org_project_useful_interface_skeleton_handle_method_call ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name, 785s # const gchar *method_name, 785s # GVariant *parameters, 785s # GDBusMethodInvocation *invocation, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # _ExtendedGDBusMethodInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # guint num_extra; 785s # gsize n; 785s # guint signal_id; 785s # GValue return_value = G_VALUE_INIT; 785s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 785s # g_assert (info != NULL); 785s # num_params = g_variant_n_children (parameters); 785s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 785s # n = 0; 785s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[n++], skeleton); 785s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 785s # g_value_set_object (¶mv[n++], invocation); 785s # if (info->pass_fdlist) 785s # { 785s # #ifdef G_OS_UNIX 785s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 785s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 785s # #else 785s # g_assert_not_reached (); 785s # #endif 785s # } 785s # g_variant_iter_init (&iter, parameters); 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_init (&return_value, G_TYPE_BOOLEAN); 785s # g_signal_emitv (paramv, signal_id, 0, &return_value); 785s # if (!g_value_get_boolean (&return_value)) 785s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 785s # g_value_unset (&return_value); 785s # for (n = 0; n < num_params + num_extra; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static GVariant * 785s # _org_project_useful_interface_skeleton_handle_get_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # GVariant *ret; 785s # ret = NULL; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # g_value_init (&value, pspec->value_type); 785s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 785s # g_value_unset (&value); 785s # } 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _org_project_useful_interface_skeleton_handle_set_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GVariant *variant, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # gboolean ret; 785s # ret = FALSE; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # if (info->use_gvariant) 785s # g_value_set_variant (&value, variant); 785s # else 785s # g_dbus_gvariant_to_gvalue (variant, &value); 785s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # g_value_unset (&value); 785s # ret = TRUE; 785s # } 785s # return ret; 785s # } 785s # 785s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 785s # { 785s # _org_project_useful_interface_skeleton_handle_method_call, 785s # _org_project_useful_interface_skeleton_handle_get_property, 785s # _org_project_useful_interface_skeleton_handle_set_property, 785s # {NULL} 785s # }; 785s # 785s # static GDBusInterfaceInfo * 785s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return org_project_useful_interface_interface_info (); 785s # } 785s # 785s # static GDBusInterfaceVTable * 785s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 785s # } 785s # 785s # static GVariant * 785s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 785s # 785s # GVariantBuilder builder; 785s # guint n; 785s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 785s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 785s # goto out; 785s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 785s # { 785s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 785s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 785s # { 785s # GVariant *value; 785s # 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); 785s # if (value != NULL) 785s # { 785s # g_variant_take_ref (value); 785s # g_variant_builder_add (&builder, "{sv}", info->name, value); 785s # g_variant_unref (value); 785s # } 785s # } 785s # } 785s # out: 785s # return g_variant_builder_end (&builder); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_skeleton_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 785s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 785s # if (skeleton->priv->changed_properties_idle_source != NULL) 785s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 785s # g_main_context_unref (skeleton->priv->context); 785s # g_mutex_clear (&skeleton->priv->lock); 785s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 785s # #else 785s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 785s # #endif 785s # 785s # g_mutex_init (&skeleton->priv->lock); 785s # skeleton->priv->context = g_main_context_ref_thread_default (); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusInterfaceSkeletonClass *skeleton_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 785s # 785s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 785s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 785s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 785s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 785s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_skeleton_new: 785s # * 785s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_skeleton_new (void) 785s # { 785s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 785s # } 785s # /tmp/tmpkasma2_h/tmp7mhfw4e7.xml: 785s # 785s # 785s # 785s # 785s # 785s # 785s # 785s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkasma2_h/tmp7mhfw4e7.xml', '--output', '-', '--body'] 785s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 785s # Output: /* 785s # * This file is generated by gdbus-codegen, do not modify it. 785s # * 785s # * The license of this code is the same as for the D-Bus interface description 785s # * it was derived from. Note that it links to GLib, so must comply with the 785s # * LGPL linking clauses. 785s # */ 785s # 785s # #ifdef HAVE_CONFIG_H 785s # # include "config.h" 785s # #endif 785s # 785s # #include 785s # #ifdef G_OS_UNIX 785s # # include 785s # #endif 785s # 785s # #ifdef G_ENABLE_DEBUG 785s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 785s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 785s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 785s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 785s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 785s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 785s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 785s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 785s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 785s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 785s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 785s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 785s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 785s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 785s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 785s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 785s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 785s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 785s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 785s # #else /* !G_ENABLE_DEBUG */ 785s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 785s # * Do not access GValues directly in your code. Instead, use the 785s # * g_value_get_*() functions 785s # */ 785s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 785s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 785s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 785s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 785s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 785s # #endif /* !G_ENABLE_DEBUG */ 785s # 785s # typedef struct 785s # { 785s # GDBusArgInfo parent_struct; 785s # gboolean use_gvariant; 785s # } _ExtendedGDBusArgInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusMethodInfo parent_struct; 785s # const gchar *signal_name; 785s # gboolean pass_fdlist; 785s # } _ExtendedGDBusMethodInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusSignalInfo parent_struct; 785s # const gchar *signal_name; 785s # } _ExtendedGDBusSignalInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusPropertyInfo parent_struct; 785s # const gchar *hyphen_name; 785s # guint use_gvariant : 1; 785s # guint emits_changed_signal : 1; 785s # } _ExtendedGDBusPropertyInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusInterfaceInfo parent_struct; 785s # const gchar *hyphen_name; 785s # } _ExtendedGDBusInterfaceInfo; 785s # 785s # typedef struct 785s # { 785s # const _ExtendedGDBusPropertyInfo *info; 785s # guint prop_id; 785s # GValue orig_value; /* the value before the change */ 785s # } ChangedProperty; 785s # 785s # static void 785s # _changed_property_free (ChangedProperty *data) 785s # { 785s # g_value_unset (&data->orig_value); 785s # g_free (data); 785s # } 785s # 785s # static gboolean 785s # _g_strv_equal0 (gchar **a, gchar **b) 785s # { 785s # gboolean ret = FALSE; 785s # guint n; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # if (g_strv_length (a) != g_strv_length (b)) 785s # goto out; 785s # for (n = 0; a[n] != NULL; n++) 785s # if (g_strcmp0 (a[n], b[n]) != 0) 785s # goto out; 785s # ret = TRUE; 785s # out: 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _g_variant_equal0 (GVariant *a, GVariant *b) 785s # { 785s # gboolean ret = FALSE; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # ret = g_variant_equal (a, b); 785s # out: 785s # return ret; 785s # } 785s # 785s # G_GNUC_UNUSED static gboolean 785s # _g_value_equal (const GValue *a, const GValue *b) 785s # { 785s # gboolean ret = FALSE; 785s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 785s # switch (G_VALUE_TYPE (a)) 785s # { 785s # case G_TYPE_BOOLEAN: 785s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 785s # break; 785s # case G_TYPE_UCHAR: 785s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 785s # break; 785s # case G_TYPE_INT: 785s # ret = (g_value_get_int (a) == g_value_get_int (b)); 785s # break; 785s # case G_TYPE_UINT: 785s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 785s # break; 785s # case G_TYPE_INT64: 785s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 785s # break; 785s # case G_TYPE_UINT64: 785s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 785s # break; 785s # case G_TYPE_DOUBLE: 785s # { 785s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 785s # gdouble da = g_value_get_double (a); 785s # gdouble db = g_value_get_double (b); 785s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 785s # } 785s # break; 785s # case G_TYPE_STRING: 785s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 785s # break; 785s # case G_TYPE_VARIANT: 785s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 785s # break; 785s # default: 785s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 785s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 785s # else 785s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 785s # break; 785s # } 785s # return ret; 785s # } 785s # 785s # static void 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint G_GNUC_UNUSED, 785s # void *marshal_data) 785s # { 785s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 785s # (void *data1, 785s # GDBusMethodInvocation *arg_method_invocation, 785s # const gchar *const *arg_arg_aay, 785s # void *data2); 785s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 785s # GCClosure *cc = (GCClosure*) closure; 785s # void *data1, *data2; 785s # gboolean v_return; 785s # 785s # g_return_if_fail (return_value != NULL); 785s # g_return_if_fail (n_param_values == 3); 785s # 785s # if (G_CCLOSURE_SWAP_DATA (closure)) 785s # { 785s # data1 = closure->data; 785s # data2 = g_value_peek_pointer (param_values + 0); 785s # } 785s # else 785s # { 785s # data1 = g_value_peek_pointer (param_values + 0); 785s # data2 = closure->data; 785s # } 785s # 785s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 785s # (marshal_data ? marshal_data : cc->callback); 785s # 785s # v_return = 785s # callback (data1, 785s # g_marshal_value_peek_object (param_values + 1), 785s # g_marshal_value_peek_boxed (param_values + 2), 785s # data2); 785s # 785s # g_value_set_boolean (return_value, v_return); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ 785s # * Code for interface org.project.UsefulInterface 785s # * ------------------------------------------------------------------------ 785s # */ 785s # 785s # /** 785s # * SECTION:OrgProjectUsefulInterface 785s # * @title: OrgProjectUsefulInterface 785s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 785s # * 785s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 785s # */ 785s # 785s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 785s # 785s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 785s # { 785s # { 785s # -1, 785s # (gchar *) "arg_aay", 785s # (gchar *) "aay", 785s # NULL 785s # }, 785s # FALSE 785s # }; 785s # 785s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 785s # { 785s # { 785s # -1, 785s # (gchar *) "SingleArgMethodAay", 785s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 785s # NULL, 785s # NULL 785s # }, 785s # "handle-single-arg-method-aay", 785s # FALSE 785s # }; 785s # 785s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 785s # { 785s # { 785s # -1, 785s # (gchar *) "org.project.UsefulInterface", 785s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 785s # NULL, 785s # NULL, 785s # NULL 785s # }, 785s # "org-project-useful-interface", 785s # }; 785s # 785s # 785s # /** 785s # * org_project_useful_interface_interface_info: 785s # * 785s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 785s # * 785s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 785s # */ 785s # GDBusInterfaceInfo * 785s # org_project_useful_interface_interface_info (void) 785s # { 785s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_override_properties: 785s # * @klass: The class structure for a #GObject derived class. 785s # * @property_id_begin: The property id to assign to the first overridden property. 785s # * 785s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 785s # * The properties are overridden in the order they are defined. 785s # * 785s # * Returns: The last property id. 785s # */ 785s # guint 785s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 785s # { 785s # return property_id_begin - 1; 785s # } 785s # 785s # 785s # inline static void 785s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint, 785s # void *marshal_data) 785s # { 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 785s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 785s # } 785s # 785s # 785s # /** 785s # * OrgProjectUsefulInterface: 785s # * 785s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceIface: 785s # * @parent_iface: The parent interface. 785s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 785s # * 785s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 785s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 785s # 785s # static void 785s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 785s # { 785s # /* GObject signals for incoming D-Bus method calls: */ 785s # /** 785s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: A #GDBusMethodInvocation. 785s # * @arg_arg_aay: Argument passed by remote caller. 785s # * 785s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 785s # * 785s # * 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. 785s # * 785s # * 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. 785s # */ 785s # g_signal_new ("handle-single-arg-method-aay", 785s # G_TYPE_FROM_INTERFACE (iface), 785s # G_SIGNAL_RUN_LAST, 785s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 785s # g_signal_accumulator_true_handled, 785s # NULL, 785s # org_project_useful_interface_method_marshal_single_arg_method_aay, 785s # G_TYPE_BOOLEAN, 785s # 2, 785s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 785s # 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_aay: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_aay: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 785s # */ 785s # void 785s # org_project_useful_interface_call_single_arg_method_aay ( 785s # OrgProjectUsefulInterface *proxy, 785s # const gchar *const *arg_arg_aay, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodAay", 785s # g_variant_new ("(^aay)", 785s # arg_arg_aay), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # callback, 785s # user_data); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_aay_finish: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_aay_finish ( 785s # OrgProjectUsefulInterface *proxy, 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_aay_sync: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_aay: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_aay_sync ( 785s # OrgProjectUsefulInterface *proxy, 785s # const gchar *const *arg_arg_aay, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodAay", 785s # g_variant_new ("(^aay)", 785s # arg_arg_aay), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_complete_single_arg_method_aay: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: (transfer full): A #GDBusMethodInvocation. 785s # * 785s # * 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. 785s # * 785s # * This method will free @invocation, you cannot use it afterwards. 785s # */ 785s # void 785s # org_project_useful_interface_complete_single_arg_method_aay ( 785s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 785s # GDBusMethodInvocation *invocation) 785s # { 785s # g_dbus_method_invocation_return_value (invocation, 785s # g_variant_new ("()")); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxy: 785s # * 785s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxyClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceProxy. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceProxyPrivate 785s # { 785s # GData *qdata; 785s # }; 785s # 785s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_proxy_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 785s # g_datalist_clear (&proxy->priv->qdata); 785s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # const GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 785s # const gchar *sender_name G_GNUC_UNUSED, 785s # const gchar *signal_name, 785s # GVariant *parameters) 785s # { 785s # _ExtendedGDBusSignalInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # gsize n; 785s # guint signal_id; 785s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 785s # if (info == NULL) 785s # return; 785s # num_params = g_variant_n_children (parameters); 785s # paramv = g_new0 (GValue, num_params + 1); 785s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[0], proxy); 785s # g_variant_iter_init (&iter, parameters); 785s # n = 1; 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_signal_emitv (paramv, signal_id, 0, NULL); 785s # for (n = 0; n < num_params + 1; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 785s # GVariant *changed_properties, 785s # const gchar *const *invalidated_properties) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 785s # guint n; 785s # const gchar *key; 785s # GVariantIter *iter; 785s # _ExtendedGDBusPropertyInfo *info; 785s # g_variant_get (changed_properties, "a{sv}", &iter); 785s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 785s # g_datalist_remove_data (&proxy->priv->qdata, key); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # g_variant_iter_free (iter); 785s # for (n = 0; invalidated_properties[n] != NULL; n++) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 785s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 785s # #else 785s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 785s # #endif 785s # 785s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusProxyClass *proxy_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 785s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 785s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 785s # 785s # proxy_class = G_DBUS_PROXY_CLASS (klass); 785s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 785s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_sync: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_sync ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new_for_bus ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_sync: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_sync ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeleton: 785s # * 785s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeletonClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 785s # { 785s # GValue *properties; 785s # GList *changed_properties; 785s # GSource *changed_properties_idle_source; 785s # GMainContext *context; 785s # GMutex lock; 785s # }; 785s # 785s # static void 785s # _org_project_useful_interface_skeleton_handle_method_call ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name, 785s # const gchar *method_name, 785s # GVariant *parameters, 785s # GDBusMethodInvocation *invocation, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # _ExtendedGDBusMethodInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # guint num_extra; 785s # gsize n; 785s # guint signal_id; 785s # GValue return_value = G_VALUE_INIT; 785s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 785s # g_assert (info != NULL); 785s # num_params = g_variant_n_children (parameters); 785s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 785s # n = 0; 785s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[n++], skeleton); 785s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 785s # g_value_set_object (¶mv[n++], invocation); 785s # if (info->pass_fdlist) 785s # { 785s # #ifdef G_OS_UNIX 785s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 785s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 785s # #else 785s # g_assert_not_reached (); 785s # #endif 785s # } 785s # g_variant_iter_init (&iter, parameters); 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_init (&return_value, G_TYPE_BOOLEAN); 785s # g_signal_emitv (paramv, signal_id, 0, &return_value); 785s # if (!g_value_get_boolean (&return_value)) 785s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 785s # g_value_unset (&return_value); 785s # for (n = 0; n < num_params + num_extra; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static GVariant * 785s # _org_project_useful_interface_skeleton_handle_get_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # GVariant *ret; 785s # ret = NULL; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # g_value_init (&value, pspec->value_type); 785s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 785s # g_value_unset (&value); 785s # } 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _org_project_useful_interface_skeleton_handle_set_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GVariant *variant, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # gboolean ret; 785s # ret = FALSE; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # if (info->use_gvariant) 785s # g_value_set_variant (&value, variant); 785s # else 785s # g_dbus_gvariant_to_gvalue (variant, &value); 785s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # g_value_unset (&value); 785s # ret = TRUE; 785s # } 785s # return ret; 785s # } 785s # 785s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 785s # { 785s # _org_project_useful_interface_skeleton_handle_method_call, 785s # _org_project_useful_interface_skeleton_handle_get_property, 785s # _org_project_useful_interface_skeleton_handle_set_property, 785s # {NULL} 785s # }; 785s # 785s # static GDBusInterfaceInfo * 785s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return org_project_useful_interface_interface_info (); 785s # } 785s # 785s # static GDBusInterfaceVTable * 785s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 785s # } 785s # 785s # static GVariant * 785s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 785s # 785s # GVariantBuilder builder; 785s # guint n; 785s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 785s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 785s # goto out; 785s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 785s # { 785s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 785s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 785s # { 785s # GVariant *value; 785s # 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); 785s # if (value != NULL) 785s # { 785s # g_variant_take_ref (value); 785s # g_variant_builder_add (&builder, "{sv}", info->name, value); 785s # g_variant_unref (value); 785s # } 785s # } 785s # } 785s # out: 785s # return g_variant_builder_end (&builder); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_skeleton_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 785s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 785s # if (skeleton->priv->changed_properties_idle_source != NULL) 785s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 785s # g_main_context_unref (skeleton->priv->context); 785s # g_mutex_clear (&skeleton->priv->lock); 785s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 785s # #else 785s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 785s # #endif 785s # 785s # g_mutex_init (&skeleton->priv->lock); 785s # skeleton->priv->context = g_main_context_ref_thread_default (); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusInterfaceSkeletonClass *skeleton_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 785s # 785s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 785s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 785s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 785s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 785s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_skeleton_new: 785s # * 785s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_skeleton_new (void) 785s # { 785s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 785s # } 785s # /tmp/tmpkasma2_h/tmpk3drtt26.xml: 785s # 785s # 785s # 785s # 785s # 785s # 785s # 785s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkasma2_h/tmpk3drtt26.xml', '--output', '-', '--body'] 785s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 785s # Output: /* 785s # * This file is generated by gdbus-codegen, do not modify it. 785s # * 785s # * The license of this code is the same as for the D-Bus interface description 785s # * it was derived from. Note that it links to GLib, so must comply with the 785s # * LGPL linking clauses. 785s # */ 785s # 785s # #ifdef HAVE_CONFIG_H 785s # # include "config.h" 785s # #endif 785s # 785s # #include 785s # #ifdef G_OS_UNIX 785s # # include 785s # #endif 785s # 785s # #ifdef G_ENABLE_DEBUG 785s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 785s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 785s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 785s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 785s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 785s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 785s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 785s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 785s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 785s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 785s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 785s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 785s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 785s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 785s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 785s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 785s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 785s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 785s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 785s # #else /* !G_ENABLE_DEBUG */ 785s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 785s # * Do not access GValues directly in your code. Instead, use the 785s # * g_value_get_*() functions 785s # */ 785s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 785s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 785s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 785s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 785s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 785s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 785s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 785s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 785s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 785s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 785s # #endif /* !G_ENABLE_DEBUG */ 785s # 785s # typedef struct 785s # { 785s # GDBusArgInfo parent_struct; 785s # gboolean use_gvariant; 785s # } _ExtendedGDBusArgInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusMethodInfo parent_struct; 785s # const gchar *signal_name; 785s # gboolean pass_fdlist; 785s # } _ExtendedGDBusMethodInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusSignalInfo parent_struct; 785s # const gchar *signal_name; 785s # } _ExtendedGDBusSignalInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusPropertyInfo parent_struct; 785s # const gchar *hyphen_name; 785s # guint use_gvariant : 1; 785s # guint emits_changed_signal : 1; 785s # } _ExtendedGDBusPropertyInfo; 785s # 785s # typedef struct 785s # { 785s # GDBusInterfaceInfo parent_struct; 785s # const gchar *hyphen_name; 785s # } _ExtendedGDBusInterfaceInfo; 785s # 785s # typedef struct 785s # { 785s # const _ExtendedGDBusPropertyInfo *info; 785s # guint prop_id; 785s # GValue orig_value; /* the value before the change */ 785s # } ChangedProperty; 785s # 785s # static void 785s # _changed_property_free (ChangedProperty *data) 785s # { 785s # g_value_unset (&data->orig_value); 785s # g_free (data); 785s # } 785s # 785s # static gboolean 785s # _g_strv_equal0 (gchar **a, gchar **b) 785s # { 785s # gboolean ret = FALSE; 785s # guint n; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # if (g_strv_length (a) != g_strv_length (b)) 785s # goto out; 785s # for (n = 0; a[n] != NULL; n++) 785s # if (g_strcmp0 (a[n], b[n]) != 0) 785s # goto out; 785s # ret = TRUE; 785s # out: 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _g_variant_equal0 (GVariant *a, GVariant *b) 785s # { 785s # gboolean ret = FALSE; 785s # if (a == NULL && b == NULL) 785s # { 785s # ret = TRUE; 785s # goto out; 785s # } 785s # if (a == NULL || b == NULL) 785s # goto out; 785s # ret = g_variant_equal (a, b); 785s # out: 785s # return ret; 785s # } 785s # 785s # G_GNUC_UNUSED static gboolean 785s # _g_value_equal (const GValue *a, const GValue *b) 785s # { 785s # gboolean ret = FALSE; 785s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 785s # switch (G_VALUE_TYPE (a)) 785s # { 785s # case G_TYPE_BOOLEAN: 785s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 785s # break; 785s # case G_TYPE_UCHAR: 785s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 785s # break; 785s # case G_TYPE_INT: 785s # ret = (g_value_get_int (a) == g_value_get_int (b)); 785s # break; 785s # case G_TYPE_UINT: 785s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 785s # break; 785s # case G_TYPE_INT64: 785s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 785s # break; 785s # case G_TYPE_UINT64: 785s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 785s # break; 785s # case G_TYPE_DOUBLE: 785s # { 785s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 785s # gdouble da = g_value_get_double (a); 785s # gdouble db = g_value_get_double (b); 785s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 785s # } 785s # break; 785s # case G_TYPE_STRING: 785s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 785s # break; 785s # case G_TYPE_VARIANT: 785s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 785s # break; 785s # default: 785s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 785s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 785s # else 785s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 785s # break; 785s # } 785s # return ret; 785s # } 785s # 785s # static void 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint G_GNUC_UNUSED, 785s # void *marshal_data) 785s # { 785s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 785s # (void *data1, 785s # GDBusMethodInvocation *arg_method_invocation, 785s # GVariant *arg_arg_asv, 785s # void *data2); 785s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 785s # GCClosure *cc = (GCClosure*) closure; 785s # void *data1, *data2; 785s # gboolean v_return; 785s # 785s # g_return_if_fail (return_value != NULL); 785s # g_return_if_fail (n_param_values == 3); 785s # 785s # if (G_CCLOSURE_SWAP_DATA (closure)) 785s # { 785s # data1 = closure->data; 785s # data2 = g_value_peek_pointer (param_values + 0); 785s # } 785s # else 785s # { 785s # data1 = g_value_peek_pointer (param_values + 0); 785s # data2 = closure->data; 785s # } 785s # 785s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 785s # (marshal_data ? marshal_data : cc->callback); 785s # 785s # v_return = 785s # callback (data1, 785s # g_marshal_value_peek_object (param_values + 1), 785s # g_marshal_value_peek_variant (param_values + 2), 785s # data2); 785s # 785s # g_value_set_boolean (return_value, v_return); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ 785s # * Code for interface org.project.UsefulInterface 785s # * ------------------------------------------------------------------------ 785s # */ 785s # 785s # /** 785s # * SECTION:OrgProjectUsefulInterface 785s # * @title: OrgProjectUsefulInterface 785s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 785s # * 785s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 785s # */ 785s # 785s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 785s # 785s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 785s # { 785s # { 785s # -1, 785s # (gchar *) "arg_asv", 785s # (gchar *) "a{sv}", 785s # NULL 785s # }, 785s # FALSE 785s # }; 785s # 785s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 785s # { 785s # { 785s # -1, 785s # (gchar *) "SingleArgMethodAsv", 785s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 785s # NULL, 785s # NULL 785s # }, 785s # "handle-single-arg-method-asv", 785s # FALSE 785s # }; 785s # 785s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 785s # { 785s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 785s # NULL 785s # }; 785s # 785s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 785s # { 785s # { 785s # -1, 785s # (gchar *) "org.project.UsefulInterface", 785s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 785s # NULL, 785s # NULL, 785s # NULL 785s # }, 785s # "org-project-useful-interface", 785s # }; 785s # 785s # 785s # /** 785s # * org_project_useful_interface_interface_info: 785s # * 785s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 785s # * 785s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 785s # */ 785s # GDBusInterfaceInfo * 785s # org_project_useful_interface_interface_info (void) 785s # { 785s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_override_properties: 785s # * @klass: The class structure for a #GObject derived class. 785s # * @property_id_begin: The property id to assign to the first overridden property. 785s # * 785s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 785s # * The properties are overridden in the order they are defined. 785s # * 785s # * Returns: The last property id. 785s # */ 785s # guint 785s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 785s # { 785s # return property_id_begin - 1; 785s # } 785s # 785s # 785s # inline static void 785s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 785s # GClosure *closure, 785s # GValue *return_value, 785s # unsigned int n_param_values, 785s # const GValue *param_values, 785s # void *invocation_hint, 785s # void *marshal_data) 785s # { 785s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 785s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 785s # } 785s # 785s # 785s # /** 785s # * OrgProjectUsefulInterface: 785s # * 785s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceIface: 785s # * @parent_iface: The parent interface. 785s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 785s # * 785s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 785s # */ 785s # 785s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 785s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 785s # 785s # static void 785s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 785s # { 785s # /* GObject signals for incoming D-Bus method calls: */ 785s # /** 785s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: A #GDBusMethodInvocation. 785s # * @arg_arg_asv: Argument passed by remote caller. 785s # * 785s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 785s # * 785s # * 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. 785s # * 785s # * 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. 785s # */ 785s # g_signal_new ("handle-single-arg-method-asv", 785s # G_TYPE_FROM_INTERFACE (iface), 785s # G_SIGNAL_RUN_LAST, 785s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 785s # g_signal_accumulator_true_handled, 785s # NULL, 785s # org_project_useful_interface_method_marshal_single_arg_method_asv, 785s # G_TYPE_BOOLEAN, 785s # 2, 785s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 785s # 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_asv: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_asv: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 785s # */ 785s # void 785s # org_project_useful_interface_call_single_arg_method_asv ( 785s # OrgProjectUsefulInterface *proxy, 785s # GVariant *arg_arg_asv, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodAsv", 785s # g_variant_new ("(@a{sv})", 785s # arg_arg_asv), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # callback, 785s # user_data); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_asv_finish: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_asv_finish ( 785s # OrgProjectUsefulInterface *proxy, 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_call_single_arg_method_asv_sync: 785s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 785s # * @arg_arg_asv: Argument to pass with the method invocation. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL. 785s # * 785s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 785s # * 785s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 785s # */ 785s # gboolean 785s # org_project_useful_interface_call_single_arg_method_asv_sync ( 785s # OrgProjectUsefulInterface *proxy, 785s # GVariant *arg_arg_asv, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GVariant *_ret; 785s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 785s # "SingleArgMethodAsv", 785s # g_variant_new ("(@a{sv})", 785s # arg_arg_asv), 785s # G_DBUS_CALL_FLAGS_NONE, 785s # -1, 785s # cancellable, 785s # error); 785s # if (_ret == NULL) 785s # goto _out; 785s # g_variant_get (_ret, 785s # "()"); 785s # g_variant_unref (_ret); 785s # _out: 785s # return _ret != NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_complete_single_arg_method_asv: 785s # * @object: A #OrgProjectUsefulInterface. 785s # * @invocation: (transfer full): A #GDBusMethodInvocation. 785s # * 785s # * 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. 785s # * 785s # * This method will free @invocation, you cannot use it afterwards. 785s # */ 785s # void 785s # org_project_useful_interface_complete_single_arg_method_asv ( 785s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 785s # GDBusMethodInvocation *invocation) 785s # { 785s # g_dbus_method_invocation_return_value (invocation, 785s # g_variant_new ("()")); 785s # } 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxy: 785s # * 785s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceProxyClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceProxy. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceProxyPrivate 785s # { 785s # GData *qdata; 785s # }; 785s # 785s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_proxy_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 785s # g_datalist_clear (&proxy->priv->qdata); 785s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 785s # guint prop_id G_GNUC_UNUSED, 785s # const GValue *value G_GNUC_UNUSED, 785s # GParamSpec *pspec G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 785s # const gchar *sender_name G_GNUC_UNUSED, 785s # const gchar *signal_name, 785s # GVariant *parameters) 785s # { 785s # _ExtendedGDBusSignalInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # gsize n; 785s # guint signal_id; 785s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 785s # if (info == NULL) 785s # return; 785s # num_params = g_variant_n_children (parameters); 785s # paramv = g_new0 (GValue, num_params + 1); 785s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[0], proxy); 785s # g_variant_iter_init (&iter, parameters); 785s # n = 1; 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_signal_emitv (paramv, signal_id, 0, NULL); 785s # for (n = 0; n < num_params + 1; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 785s # GVariant *changed_properties, 785s # const gchar *const *invalidated_properties) 785s # { 785s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 785s # guint n; 785s # const gchar *key; 785s # GVariantIter *iter; 785s # _ExtendedGDBusPropertyInfo *info; 785s # g_variant_get (changed_properties, "a{sv}", &iter); 785s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 785s # g_datalist_remove_data (&proxy->priv->qdata, key); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # g_variant_iter_free (iter); 785s # for (n = 0; invalidated_properties[n] != NULL; n++) 785s # { 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 785s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 785s # if (info != NULL) 785s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 785s # } 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 785s # #else 785s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 785s # #endif 785s # 785s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusProxyClass *proxy_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 785s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 785s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 785s # 785s # proxy_class = G_DBUS_PROXY_CLASS (klass); 785s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 785s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_sync: 785s # * @connection: A #GDBusConnection. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_sync ( 785s # GDBusConnection *connection, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 785s # * @user_data: User data to pass to @callback. 785s # * 785s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 785s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 785s # */ 785s # void 785s # org_project_useful_interface_proxy_new_for_bus ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GAsyncReadyCallback callback, 785s # gpointer user_data) 785s # { 785s # g_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); 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_finish: 785s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 785s # * @error: Return location for error or %NULL 785s # * 785s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_finish ( 785s # GAsyncResult *res, 785s # GError **error) 785s # { 785s # GObject *ret; 785s # GObject *source_object; 785s # source_object = g_async_result_get_source_object (res); 785s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 785s # g_object_unref (source_object); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_proxy_new_for_bus_sync: 785s # * @bus_type: A #GBusType. 785s # * @flags: Flags from the #GDBusProxyFlags enumeration. 785s # * @name: A bus name (well-known or unique). 785s # * @object_path: An object path. 785s # * @cancellable: (nullable): A #GCancellable or %NULL. 785s # * @error: Return location for error or %NULL 785s # * 785s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 785s # * 785s # * The calling thread is blocked until a reply is received. 785s # * 785s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_proxy_new_for_bus_sync ( 785s # GBusType bus_type, 785s # GDBusProxyFlags flags, 785s # const gchar *name, 785s # const gchar *object_path, 785s # GCancellable *cancellable, 785s # GError **error) 785s # { 785s # GInitable *ret; 785s # 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); 785s # if (ret != NULL) 785s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 785s # else 785s # return NULL; 785s # } 785s # 785s # 785s # /* ------------------------------------------------------------------------ */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeleton: 785s # * 785s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 785s # */ 785s # 785s # /** 785s # * OrgProjectUsefulInterfaceSkeletonClass: 785s # * @parent_class: The parent class. 785s # * 785s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 785s # */ 785s # 785s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 785s # { 785s # GValue *properties; 785s # GList *changed_properties; 785s # GSource *changed_properties_idle_source; 785s # GMainContext *context; 785s # GMutex lock; 785s # }; 785s # 785s # static void 785s # _org_project_useful_interface_skeleton_handle_method_call ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name, 785s # const gchar *method_name, 785s # GVariant *parameters, 785s # GDBusMethodInvocation *invocation, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # _ExtendedGDBusMethodInfo *info; 785s # GVariantIter iter; 785s # GVariant *child; 785s # GValue *paramv; 785s # gsize num_params; 785s # guint num_extra; 785s # gsize n; 785s # guint signal_id; 785s # GValue return_value = G_VALUE_INIT; 785s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 785s # g_assert (info != NULL); 785s # num_params = g_variant_n_children (parameters); 785s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 785s # n = 0; 785s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_set_object (¶mv[n++], skeleton); 785s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 785s # g_value_set_object (¶mv[n++], invocation); 785s # if (info->pass_fdlist) 785s # { 785s # #ifdef G_OS_UNIX 785s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 785s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 785s # #else 785s # g_assert_not_reached (); 785s # #endif 785s # } 785s # g_variant_iter_init (&iter, parameters); 785s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 785s # { 785s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 785s # if (arg_info->use_gvariant) 785s # { 785s # g_value_init (¶mv[n], G_TYPE_VARIANT); 785s # g_value_set_variant (¶mv[n], child); 785s # n++; 785s # } 785s # else 785s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 785s # g_variant_unref (child); 785s # } 785s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 785s # g_value_init (&return_value, G_TYPE_BOOLEAN); 785s # g_signal_emitv (paramv, signal_id, 0, &return_value); 785s # if (!g_value_get_boolean (&return_value)) 785s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 785s # g_value_unset (&return_value); 785s # for (n = 0; n < num_params + num_extra; n++) 785s # g_value_unset (¶mv[n]); 785s # g_free (paramv); 785s # } 785s # 785s # static GVariant * 785s # _org_project_useful_interface_skeleton_handle_get_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # GVariant *ret; 785s # ret = NULL; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # g_value_init (&value, pspec->value_type); 785s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 785s # g_value_unset (&value); 785s # } 785s # return ret; 785s # } 785s # 785s # static gboolean 785s # _org_project_useful_interface_skeleton_handle_set_property ( 785s # GDBusConnection *connection G_GNUC_UNUSED, 785s # const gchar *sender G_GNUC_UNUSED, 785s # const gchar *object_path G_GNUC_UNUSED, 785s # const gchar *interface_name G_GNUC_UNUSED, 785s # const gchar *property_name, 785s # GVariant *variant, 785s # GError **error, 785s # gpointer user_data) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 785s # GValue value = G_VALUE_INIT; 785s # GParamSpec *pspec; 785s # _ExtendedGDBusPropertyInfo *info; 785s # gboolean ret; 785s # ret = FALSE; 785s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 785s # g_assert (info != NULL); 785s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 785s # if (pspec == NULL) 785s # { 785s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 785s # } 785s # else 785s # { 785s # if (info->use_gvariant) 785s # g_value_set_variant (&value, variant); 785s # else 785s # g_dbus_gvariant_to_gvalue (variant, &value); 785s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 785s # g_value_unset (&value); 785s # ret = TRUE; 785s # } 785s # return ret; 785s # } 785s # 785s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 785s # { 785s # _org_project_useful_interface_skeleton_handle_method_call, 785s # _org_project_useful_interface_skeleton_handle_get_property, 785s # _org_project_useful_interface_skeleton_handle_set_property, 785s # {NULL} 785s # }; 785s # 785s # static GDBusInterfaceInfo * 785s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return org_project_useful_interface_interface_info (); 785s # } 785s # 785s # static GDBusInterfaceVTable * 785s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 785s # { 785s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 785s # } 785s # 785s # static GVariant * 785s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 785s # 785s # GVariantBuilder builder; 785s # guint n; 785s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 785s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 785s # goto out; 785s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 785s # { 785s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 785s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 785s # { 785s # GVariant *value; 785s # 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); 785s # if (value != NULL) 785s # { 785s # g_variant_take_ref (value); 785s # g_variant_builder_add (&builder, "{sv}", info->name, value); 785s # g_variant_unref (value); 785s # } 785s # } 785s # } 785s # out: 785s # return g_variant_builder_end (&builder); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #else 785s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 785s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 785s # 785s # #endif 785s # static void 785s # org_project_useful_interface_skeleton_finalize (GObject *object) 785s # { 785s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 785s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 785s # if (skeleton->priv->changed_properties_idle_source != NULL) 785s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 785s # g_main_context_unref (skeleton->priv->context); 785s # g_mutex_clear (&skeleton->priv->lock); 785s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 785s # { 785s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 785s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 785s # #else 785s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 785s # #endif 785s # 785s # g_mutex_init (&skeleton->priv->lock); 785s # skeleton->priv->context = g_main_context_ref_thread_default (); 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 785s # { 785s # GObjectClass *gobject_class; 785s # GDBusInterfaceSkeletonClass *skeleton_class; 785s # 785s # gobject_class = G_OBJECT_CLASS (klass); 785s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 785s # 785s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 785s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 785s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 785s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 785s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 785s # 785s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 785s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 785s # #endif 785s # } 785s # 785s # static void 785s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 785s # { 785s # } 785s # 785s # /** 785s # * org_project_useful_interface_skeleton_new: 785s # * 785s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 785s # * 785s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 785s # */ 785s # OrgProjectUsefulInterface * 785s # org_project_useful_interface_skeleton_new (void) 785s # { 785s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 785s # } 786s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 786s # tmpdir: /tmp/tmp8ukxq6_y 786s # codegen: /usr/bin/gdbus-codegen 786s # /tmp/tmp8ukxq6_y/tmpo_0xfwl2.xml: 786s # 786s # 786s # 786s # 786s # 786s # 786s # 786s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ukxq6_y/tmpo_0xfwl2.xml', '--output', '-', '--body'] 786s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 786s # Output: /* 786s # * This file is generated by gdbus-codegen, do not modify it. 786s # * 786s # * The license of this code is the same as for the D-Bus interface description 786s # * it was derived from. Note that it links to GLib, so must comply with the 786s # * LGPL linking clauses. 786s # */ 786s # 786s # #ifdef HAVE_CONFIG_H 786s # # include "config.h" 786s # #endif 786s # 786s # #include 786s # #ifdef G_OS_UNIX 786s # # include 786s # #endif 786s # 786s # #ifdef G_ENABLE_DEBUG 786s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 786s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 786s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 786s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 786s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 786s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 786s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 786s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 786s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 786s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 786s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 786s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 786s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 786s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 786s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 786s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 786s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 786s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 786s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 786s # #else /* !G_ENABLE_DEBUG */ 786s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 786s # * Do not access GValues directly in your code. Instead, use the 786s # * g_value_get_*() functions 786s # */ 786s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 786s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 786s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 786s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 786s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 786s # #endif /* !G_ENABLE_DEBUG */ 786s # 786s # typedef struct 786s # { 786s # GDBusArgInfo parent_struct; 786s # gboolean use_gvariant; 786s # } _ExtendedGDBusArgInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusMethodInfo parent_struct; 786s # const gchar *signal_name; 786s # gboolean pass_fdlist; 786s # } _ExtendedGDBusMethodInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusSignalInfo parent_struct; 786s # const gchar *signal_name; 786s # } _ExtendedGDBusSignalInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusPropertyInfo parent_struct; 786s # const gchar *hyphen_name; 786s # guint use_gvariant : 1; 786s # guint emits_changed_signal : 1; 786s # } _ExtendedGDBusPropertyInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusInterfaceInfo parent_struct; 786s # const gchar *hyphen_name; 786s # } _ExtendedGDBusInterfaceInfo; 786s # 786s # typedef struct 786s # { 786s # const _ExtendedGDBusPropertyInfo *info; 786s # guint prop_id; 786s # GValue orig_value; /* the value before the change */ 786s # } ChangedProperty; 786s # 786s # static void 786s # _changed_property_free (ChangedProperty *data) 786s # { 786s # g_value_unset (&data->orig_value); 786s # g_free (data); 786s # } 786s # 786s # static gboolean 786s # _g_strv_equal0 (gchar **a, gchar **b) 786s # { 786s # gboolean ret = FALSE; 786s # guint n; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # if (g_strv_length (a) != g_strv_length (b)) 786s # goto out; 786s # for (n = 0; a[n] != NULL; n++) 786s # if (g_strcmp0 (a[n], b[n]) != 0) 786s # goto out; 786s # ret = TRUE; 786s # out: 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _g_variant_equal0 (GVariant *a, GVariant *b) 786s # { 786s # gboolean ret = FALSE; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # ret = g_variant_equal (a, b); 786s # out: 786s # return ret; 786s # } 786s # 786s # G_GNUC_UNUSED static gboolean 786s # _g_value_equal (const GValue *a, const GValue *b) 786s # { 786s # gboolean ret = FALSE; 786s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 786s # switch (G_VALUE_TYPE (a)) 786s # { 786s # case G_TYPE_BOOLEAN: 786s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 786s # break; 786s # case G_TYPE_UCHAR: 786s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 786s # break; 786s # case G_TYPE_INT: 786s # ret = (g_value_get_int (a) == g_value_get_int (b)); 786s # break; 786s # case G_TYPE_UINT: 786s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 786s # break; 786s # case G_TYPE_INT64: 786s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 786s # break; 786s # case G_TYPE_UINT64: 786s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 786s # break; 786s # case G_TYPE_DOUBLE: 786s # { 786s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 786s # gdouble da = g_value_get_double (a); 786s # gdouble db = g_value_get_double (b); 786s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 786s # } 786s # break; 786s # case G_TYPE_STRING: 786s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 786s # break; 786s # case G_TYPE_VARIANT: 786s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 786s # break; 786s # default: 786s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 786s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 786s # else 786s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 786s # break; 786s # } 786s # return ret; 786s # } 786s # 786s # static void 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint G_GNUC_UNUSED, 786s # void *marshal_data) 786s # { 786s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (void *data1, 786s # GDBusMethodInvocation *arg_method_invocation, 786s # void *data2); 786s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 786s # GCClosure *cc = (GCClosure*) closure; 786s # void *data1, *data2; 786s # gboolean v_return; 786s # 786s # g_return_if_fail (return_value != NULL); 786s # g_return_if_fail (n_param_values == 2); 786s # 786s # if (G_CCLOSURE_SWAP_DATA (closure)) 786s # { 786s # data1 = closure->data; 786s # data2 = g_value_peek_pointer (param_values + 0); 786s # } 786s # else 786s # { 786s # data1 = g_value_peek_pointer (param_values + 0); 786s # data2 = closure->data; 786s # } 786s # 786s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (marshal_data ? marshal_data : cc->callback); 786s # 786s # v_return = 786s # callback (data1, 786s # g_marshal_value_peek_object (param_values + 1), 786s # data2); 786s # 786s # g_value_set_boolean (return_value, v_return); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ 786s # * Code for interface org.project.UsefulInterface 786s # * ------------------------------------------------------------------------ 786s # */ 786s # 786s # /** 786s # * SECTION:OrgProjectUsefulInterface 786s # * @title: OrgProjectUsefulInterface 786s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 786s # * 786s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 786s # */ 786s # 786s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 786s # 786s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 786s # { 786s # { 786s # -1, 786s # (gchar *) "arg_b", 786s # (gchar *) "b", 786s # NULL 786s # }, 786s # FALSE 786s # }; 786s # 786s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 786s # { 786s # { 786s # -1, 786s # (gchar *) "SingleArgMethodB", 786s # NULL, 786s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 786s # NULL 786s # }, 786s # "handle-single-arg-method-b", 786s # FALSE 786s # }; 786s # 786s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 786s # { 786s # { 786s # -1, 786s # (gchar *) "org.project.UsefulInterface", 786s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 786s # NULL, 786s # NULL, 786s # NULL 786s # }, 786s # "org-project-useful-interface", 786s # }; 786s # 786s # 786s # /** 786s # * org_project_useful_interface_interface_info: 786s # * 786s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 786s # * 786s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 786s # */ 786s # GDBusInterfaceInfo * 786s # org_project_useful_interface_interface_info (void) 786s # { 786s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_override_properties: 786s # * @klass: The class structure for a #GObject derived class. 786s # * @property_id_begin: The property id to assign to the first overridden property. 786s # * 786s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 786s # * The properties are overridden in the order they are defined. 786s # * 786s # * Returns: The last property id. 786s # */ 786s # guint 786s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 786s # { 786s # return property_id_begin - 1; 786s # } 786s # 786s # 786s # inline static void 786s # org_project_useful_interface_method_marshal_single_arg_method_b ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint, 786s # void *marshal_data) 786s # { 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 786s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 786s # } 786s # 786s # 786s # /** 786s # * OrgProjectUsefulInterface: 786s # * 786s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceIface: 786s # * @parent_iface: The parent interface. 786s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 786s # * 786s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 786s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 786s # 786s # static void 786s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 786s # { 786s # /* GObject signals for incoming D-Bus method calls: */ 786s # /** 786s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: A #GDBusMethodInvocation. 786s # * 786s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 786s # * 786s # * 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. 786s # * 786s # * 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. 786s # */ 786s # g_signal_new ("handle-single-arg-method-b", 786s # G_TYPE_FROM_INTERFACE (iface), 786s # G_SIGNAL_RUN_LAST, 786s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 786s # g_signal_accumulator_true_handled, 786s # NULL, 786s # org_project_useful_interface_method_marshal_single_arg_method_b, 786s # G_TYPE_BOOLEAN, 786s # 1, 786s # G_TYPE_DBUS_METHOD_INVOCATION); 786s # 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_b: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 786s # */ 786s # void 786s # org_project_useful_interface_call_single_arg_method_b ( 786s # OrgProjectUsefulInterface *proxy, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodB", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # callback, 786s # user_data); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_b_finish: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_b_finish ( 786s # OrgProjectUsefulInterface *proxy, 786s # gboolean *out_arg_b, 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(b)", 786s # out_arg_b); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_b_sync: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_b_sync ( 786s # OrgProjectUsefulInterface *proxy, 786s # gboolean *out_arg_b, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodB", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(b)", 786s # out_arg_b); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_complete_single_arg_method_b: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: (transfer full): A #GDBusMethodInvocation. 786s # * @arg_b: Parameter to return. 786s # * 786s # * 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. 786s # * 786s # * This method will free @invocation, you cannot use it afterwards. 786s # */ 786s # void 786s # org_project_useful_interface_complete_single_arg_method_b ( 786s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 786s # GDBusMethodInvocation *invocation, 786s # gboolean arg_b) 786s # { 786s # g_dbus_method_invocation_return_value (invocation, 786s # g_variant_new ("(b)", 786s # arg_b)); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxy: 786s # * 786s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxyClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceProxy. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceProxyPrivate 786s # { 786s # GData *qdata; 786s # }; 786s # 786s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_proxy_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 786s # g_datalist_clear (&proxy->priv->qdata); 786s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # const GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 786s # const gchar *sender_name G_GNUC_UNUSED, 786s # const gchar *signal_name, 786s # GVariant *parameters) 786s # { 786s # _ExtendedGDBusSignalInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # gsize n; 786s # guint signal_id; 786s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 786s # if (info == NULL) 786s # return; 786s # num_params = g_variant_n_children (parameters); 786s # paramv = g_new0 (GValue, num_params + 1); 786s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[0], proxy); 786s # g_variant_iter_init (&iter, parameters); 786s # n = 1; 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_signal_emitv (paramv, signal_id, 0, NULL); 786s # for (n = 0; n < num_params + 1; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 786s # GVariant *changed_properties, 786s # const gchar *const *invalidated_properties) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 786s # guint n; 786s # const gchar *key; 786s # GVariantIter *iter; 786s # _ExtendedGDBusPropertyInfo *info; 786s # g_variant_get (changed_properties, "a{sv}", &iter); 786s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 786s # g_datalist_remove_data (&proxy->priv->qdata, key); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # g_variant_iter_free (iter); 786s # for (n = 0; invalidated_properties[n] != NULL; n++) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 786s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 786s # #else 786s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 786s # #endif 786s # 786s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusProxyClass *proxy_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 786s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 786s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 786s # 786s # proxy_class = G_DBUS_PROXY_CLASS (klass); 786s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 786s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_sync: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_sync ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new_for_bus ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_sync: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_sync ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeleton: 786s # * 786s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeletonClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 786s # { 786s # GValue *properties; 786s # GList *changed_properties; 786s # GSource *changed_properties_idle_source; 786s # GMainContext *context; 786s # GMutex lock; 786s # }; 786s # 786s # static void 786s # _org_project_useful_interface_skeleton_handle_method_call ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name, 786s # const gchar *method_name, 786s # GVariant *parameters, 786s # GDBusMethodInvocation *invocation, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # _ExtendedGDBusMethodInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # guint num_extra; 786s # gsize n; 786s # guint signal_id; 786s # GValue return_value = G_VALUE_INIT; 786s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 786s # g_assert (info != NULL); 786s # num_params = g_variant_n_children (parameters); 786s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 786s # n = 0; 786s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[n++], skeleton); 786s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 786s # g_value_set_object (¶mv[n++], invocation); 786s # if (info->pass_fdlist) 786s # { 786s # #ifdef G_OS_UNIX 786s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 786s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 786s # #else 786s # g_assert_not_reached (); 786s # #endif 786s # } 786s # g_variant_iter_init (&iter, parameters); 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_init (&return_value, G_TYPE_BOOLEAN); 786s # g_signal_emitv (paramv, signal_id, 0, &return_value); 786s # if (!g_value_get_boolean (&return_value)) 786s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 786s # g_value_unset (&return_value); 786s # for (n = 0; n < num_params + num_extra; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static GVariant * 786s # _org_project_useful_interface_skeleton_handle_get_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # GVariant *ret; 786s # ret = NULL; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # g_value_init (&value, pspec->value_type); 786s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 786s # g_value_unset (&value); 786s # } 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _org_project_useful_interface_skeleton_handle_set_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GVariant *variant, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # gboolean ret; 786s # ret = FALSE; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # if (info->use_gvariant) 786s # g_value_set_variant (&value, variant); 786s # else 786s # g_dbus_gvariant_to_gvalue (variant, &value); 786s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # g_value_unset (&value); 786s # ret = TRUE; 786s # } 786s # return ret; 786s # } 786s # 786s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 786s # { 786s # _org_project_useful_interface_skeleton_handle_method_call, 786s # _org_project_useful_interface_skeleton_handle_get_property, 786s # _org_project_useful_interface_skeleton_handle_set_property, 786s # {NULL} 786s # }; 786s # 786s # static GDBusInterfaceInfo * 786s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return org_project_useful_interface_interface_info (); 786s # } 786s # 786s # static GDBusInterfaceVTable * 786s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 786s # } 786s # 786s # static GVariant * 786s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 786s # 786s # GVariantBuilder builder; 786s # guint n; 786s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 786s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 786s # goto out; 786s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 786s # { 786s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 786s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 786s # { 786s # GVariant *value; 786s # 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); 786s # if (value != NULL) 786s # { 786s # g_variant_take_ref (value); 786s # g_variant_builder_add (&builder, "{sv}", info->name, value); 786s # g_variant_unref (value); 786s # } 786s # } 786s # } 786s # out: 786s # return g_variant_builder_end (&builder); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_skeleton_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 786s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 786s # if (skeleton->priv->changed_properties_idle_source != NULL) 786s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 786s # g_main_context_unref (skeleton->priv->context); 786s # g_mutex_clear (&skeleton->priv->lock); 786s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 786s # #else 786s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 786s # #endif 786s # 786s # g_mutex_init (&skeleton->priv->lock); 786s # skeleton->priv->context = g_main_context_ref_thread_default (); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusInterfaceSkeletonClass *skeleton_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 786s # 786s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 786s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 786s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 786s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 786s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_skeleton_new: 786s # * 786s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_skeleton_new (void) 786s # { 786s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 786s # } 786s # /tmp/tmp8ukxq6_y/tmp1fc5sdwp.xml: 786s # 786s # 786s # 786s # 786s # 786s # 786s # 786s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ukxq6_y/tmp1fc5sdwp.xml', '--output', '-', '--body'] 786s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 786s # Output: /* 786s # * This file is generated by gdbus-codegen, do not modify it. 786s # * 786s # * The license of this code is the same as for the D-Bus interface description 786s # * it was derived from. Note that it links to GLib, so must comply with the 786s # * LGPL linking clauses. 786s # */ 786s # 786s # #ifdef HAVE_CONFIG_H 786s # # include "config.h" 786s # #endif 786s # 786s # #include 786s # #ifdef G_OS_UNIX 786s # # include 786s # #endif 786s # 786s # #ifdef G_ENABLE_DEBUG 786s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 786s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 786s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 786s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 786s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 786s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 786s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 786s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 786s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 786s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 786s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 786s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 786s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 786s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 786s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 786s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 786s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 786s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 786s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 786s # #else /* !G_ENABLE_DEBUG */ 786s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 786s # * Do not access GValues directly in your code. Instead, use the 786s # * g_value_get_*() functions 786s # */ 786s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 786s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 786s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 786s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 786s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 786s # #endif /* !G_ENABLE_DEBUG */ 786s # 786s # typedef struct 786s # { 786s # GDBusArgInfo parent_struct; 786s # gboolean use_gvariant; 786s # } _ExtendedGDBusArgInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusMethodInfo parent_struct; 786s # const gchar *signal_name; 786s # gboolean pass_fdlist; 786s # } _ExtendedGDBusMethodInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusSignalInfo parent_struct; 786s # const gchar *signal_name; 786s # } _ExtendedGDBusSignalInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusPropertyInfo parent_struct; 786s # const gchar *hyphen_name; 786s # guint use_gvariant : 1; 786s # guint emits_changed_signal : 1; 786s # } _ExtendedGDBusPropertyInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusInterfaceInfo parent_struct; 786s # const gchar *hyphen_name; 786s # } _ExtendedGDBusInterfaceInfo; 786s # 786s # typedef struct 786s # { 786s # const _ExtendedGDBusPropertyInfo *info; 786s # guint prop_id; 786s # GValue orig_value; /* the value before the change */ 786s # } ChangedProperty; 786s # 786s # static void 786s # _changed_property_free (ChangedProperty *data) 786s # { 786s # g_value_unset (&data->orig_value); 786s # g_free (data); 786s # } 786s # 786s # static gboolean 786s # _g_strv_equal0 (gchar **a, gchar **b) 786s # { 786s # gboolean ret = FALSE; 786s # guint n; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # if (g_strv_length (a) != g_strv_length (b)) 786s # goto out; 786s # for (n = 0; a[n] != NULL; n++) 786s # if (g_strcmp0 (a[n], b[n]) != 0) 786s # goto out; 786s # ret = TRUE; 786s # out: 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _g_variant_equal0 (GVariant *a, GVariant *b) 786s # { 786s # gboolean ret = FALSE; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # ret = g_variant_equal (a, b); 786s # out: 786s # return ret; 786s # } 786s # 786s # G_GNUC_UNUSED static gboolean 786s # _g_value_equal (const GValue *a, const GValue *b) 786s # { 786s # gboolean ret = FALSE; 786s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 786s # switch (G_VALUE_TYPE (a)) 786s # { 786s # case G_TYPE_BOOLEAN: 786s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 786s # break; 786s # case G_TYPE_UCHAR: 786s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 786s # break; 786s # case G_TYPE_INT: 786s # ret = (g_value_get_int (a) == g_value_get_int (b)); 786s # break; 786s # case G_TYPE_UINT: 786s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 786s # break; 786s # case G_TYPE_INT64: 786s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 786s # break; 786s # case G_TYPE_UINT64: 786s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 786s # break; 786s # case G_TYPE_DOUBLE: 786s # { 786s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 786s # gdouble da = g_value_get_double (a); 786s # gdouble db = g_value_get_double (b); 786s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 786s # } 786s # break; 786s # case G_TYPE_STRING: 786s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 786s # break; 786s # case G_TYPE_VARIANT: 786s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 786s # break; 786s # default: 786s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 786s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 786s # else 786s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 786s # break; 786s # } 786s # return ret; 786s # } 786s # 786s # static void 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint G_GNUC_UNUSED, 786s # void *marshal_data) 786s # { 786s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (void *data1, 786s # GDBusMethodInvocation *arg_method_invocation, 786s # void *data2); 786s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 786s # GCClosure *cc = (GCClosure*) closure; 786s # void *data1, *data2; 786s # gboolean v_return; 786s # 786s # g_return_if_fail (return_value != NULL); 786s # g_return_if_fail (n_param_values == 2); 786s # 786s # if (G_CCLOSURE_SWAP_DATA (closure)) 786s # { 786s # data1 = closure->data; 786s # data2 = g_value_peek_pointer (param_values + 0); 786s # } 786s # else 786s # { 786s # data1 = g_value_peek_pointer (param_values + 0); 786s # data2 = closure->data; 786s # } 786s # 786s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (marshal_data ? marshal_data : cc->callback); 786s # 786s # v_return = 786s # callback (data1, 786s # g_marshal_value_peek_object (param_values + 1), 786s # data2); 786s # 786s # g_value_set_boolean (return_value, v_return); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ 786s # * Code for interface org.project.UsefulInterface 786s # * ------------------------------------------------------------------------ 786s # */ 786s # 786s # /** 786s # * SECTION:OrgProjectUsefulInterface 786s # * @title: OrgProjectUsefulInterface 786s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 786s # * 786s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 786s # */ 786s # 786s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 786s # 786s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 786s # { 786s # { 786s # -1, 786s # (gchar *) "arg_y", 786s # (gchar *) "y", 786s # NULL 786s # }, 786s # FALSE 786s # }; 786s # 786s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 786s # { 786s # { 786s # -1, 786s # (gchar *) "SingleArgMethodY", 786s # NULL, 786s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 786s # NULL 786s # }, 786s # "handle-single-arg-method-y", 786s # FALSE 786s # }; 786s # 786s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 786s # { 786s # { 786s # -1, 786s # (gchar *) "org.project.UsefulInterface", 786s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 786s # NULL, 786s # NULL, 786s # NULL 786s # }, 786s # "org-project-useful-interface", 786s # }; 786s # 786s # 786s # /** 786s # * org_project_useful_interface_interface_info: 786s # * 786s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 786s # * 786s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 786s # */ 786s # GDBusInterfaceInfo * 786s # org_project_useful_interface_interface_info (void) 786s # { 786s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_override_properties: 786s # * @klass: The class structure for a #GObject derived class. 786s # * @property_id_begin: The property id to assign to the first overridden property. 786s # * 786s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 786s # * The properties are overridden in the order they are defined. 786s # * 786s # * Returns: The last property id. 786s # */ 786s # guint 786s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 786s # { 786s # return property_id_begin - 1; 786s # } 786s # 786s # 786s # inline static void 786s # org_project_useful_interface_method_marshal_single_arg_method_y ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint, 786s # void *marshal_data) 786s # { 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 786s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 786s # } 786s # 786s # 786s # /** 786s # * OrgProjectUsefulInterface: 786s # * 786s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceIface: 786s # * @parent_iface: The parent interface. 786s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 786s # * 786s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 786s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 786s # 786s # static void 786s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 786s # { 786s # /* GObject signals for incoming D-Bus method calls: */ 786s # /** 786s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: A #GDBusMethodInvocation. 786s # * 786s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 786s # * 786s # * 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. 786s # * 786s # * 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. 786s # */ 786s # g_signal_new ("handle-single-arg-method-y", 786s # G_TYPE_FROM_INTERFACE (iface), 786s # G_SIGNAL_RUN_LAST, 786s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 786s # g_signal_accumulator_true_handled, 786s # NULL, 786s # org_project_useful_interface_method_marshal_single_arg_method_y, 786s # G_TYPE_BOOLEAN, 786s # 1, 786s # G_TYPE_DBUS_METHOD_INVOCATION); 786s # 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_y: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 786s # */ 786s # void 786s # org_project_useful_interface_call_single_arg_method_y ( 786s # OrgProjectUsefulInterface *proxy, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodY", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # callback, 786s # user_data); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_y_finish: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_y_finish ( 786s # OrgProjectUsefulInterface *proxy, 786s # guchar *out_arg_y, 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(y)", 786s # out_arg_y); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_y_sync: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_y_sync ( 786s # OrgProjectUsefulInterface *proxy, 786s # guchar *out_arg_y, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodY", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(y)", 786s # out_arg_y); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_complete_single_arg_method_y: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: (transfer full): A #GDBusMethodInvocation. 786s # * @arg_y: Parameter to return. 786s # * 786s # * 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. 786s # * 786s # * This method will free @invocation, you cannot use it afterwards. 786s # */ 786s # void 786s # org_project_useful_interface_complete_single_arg_method_y ( 786s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 786s # GDBusMethodInvocation *invocation, 786s # guchar arg_y) 786s # { 786s # g_dbus_method_invocation_return_value (invocation, 786s # g_variant_new ("(y)", 786s # arg_y)); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxy: 786s # * 786s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxyClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceProxy. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceProxyPrivate 786s # { 786s # GData *qdata; 786s # }; 786s # 786s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_proxy_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 786s # g_datalist_clear (&proxy->priv->qdata); 786s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # const GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 786s # const gchar *sender_name G_GNUC_UNUSED, 786s # const gchar *signal_name, 786s # GVariant *parameters) 786s # { 786s # _ExtendedGDBusSignalInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # gsize n; 786s # guint signal_id; 786s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 786s # if (info == NULL) 786s # return; 786s # num_params = g_variant_n_children (parameters); 786s # paramv = g_new0 (GValue, num_params + 1); 786s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[0], proxy); 786s # g_variant_iter_init (&iter, parameters); 786s # n = 1; 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_signal_emitv (paramv, signal_id, 0, NULL); 786s # for (n = 0; n < num_params + 1; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 786s # GVariant *changed_properties, 786s # const gchar *const *invalidated_properties) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 786s # guint n; 786s # const gchar *key; 786s # GVariantIter *iter; 786s # _ExtendedGDBusPropertyInfo *info; 786s # g_variant_get (changed_properties, "a{sv}", &iter); 786s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 786s # g_datalist_remove_data (&proxy->priv->qdata, key); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # g_variant_iter_free (iter); 786s # for (n = 0; invalidated_properties[n] != NULL; n++) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 786s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 786s # #else 786s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 786s # #endif 786s # 786s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusProxyClass *proxy_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 786s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 786s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 786s # 786s # proxy_class = G_DBUS_PROXY_CLASS (klass); 786s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 786s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_sync: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_sync ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new_for_bus ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_sync: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_sync ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeleton: 786s # * 786s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeletonClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 786s # { 786s # GValue *properties; 786s # GList *changed_properties; 786s # GSource *changed_properties_idle_source; 786s # GMainContext *context; 786s # GMutex lock; 786s # }; 786s # 786s # static void 786s # _org_project_useful_interface_skeleton_handle_method_call ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name, 786s # const gchar *method_name, 786s # GVariant *parameters, 786s # GDBusMethodInvocation *invocation, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # _ExtendedGDBusMethodInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # guint num_extra; 786s # gsize n; 786s # guint signal_id; 786s # GValue return_value = G_VALUE_INIT; 786s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 786s # g_assert (info != NULL); 786s # num_params = g_variant_n_children (parameters); 786s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 786s # n = 0; 786s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[n++], skeleton); 786s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 786s # g_value_set_object (¶mv[n++], invocation); 786s # if (info->pass_fdlist) 786s # { 786s # #ifdef G_OS_UNIX 786s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 786s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 786s # #else 786s # g_assert_not_reached (); 786s # #endif 786s # } 786s # g_variant_iter_init (&iter, parameters); 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_init (&return_value, G_TYPE_BOOLEAN); 786s # g_signal_emitv (paramv, signal_id, 0, &return_value); 786s # if (!g_value_get_boolean (&return_value)) 786s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 786s # g_value_unset (&return_value); 786s # for (n = 0; n < num_params + num_extra; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static GVariant * 786s # _org_project_useful_interface_skeleton_handle_get_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # GVariant *ret; 786s # ret = NULL; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # g_value_init (&value, pspec->value_type); 786s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 786s # g_value_unset (&value); 786s # } 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _org_project_useful_interface_skeleton_handle_set_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GVariant *variant, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # gboolean ret; 786s # ret = FALSE; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # if (info->use_gvariant) 786s # g_value_set_variant (&value, variant); 786s # else 786s # g_dbus_gvariant_to_gvalue (variant, &value); 786s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # g_value_unset (&value); 786s # ret = TRUE; 786s # } 786s # return ret; 786s # } 786s # 786s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 786s # { 786s # _org_project_useful_interface_skeleton_handle_method_call, 786s # _org_project_useful_interface_skeleton_handle_get_property, 786s # _org_project_useful_interface_skeleton_handle_set_property, 786s # {NULL} 786s # }; 786s # 786s # static GDBusInterfaceInfo * 786s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return org_project_useful_interface_interface_info (); 786s # } 786s # 786s # static GDBusInterfaceVTable * 786s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 786s # } 786s # 786s # static GVariant * 786s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 786s # 786s # GVariantBuilder builder; 786s # guint n; 786s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 786s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 786s # goto out; 786s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 786s # { 786s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 786s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 786s # { 786s # GVariant *value; 786s # 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); 786s # if (value != NULL) 786s # { 786s # g_variant_take_ref (value); 786s # g_variant_builder_add (&builder, "{sv}", info->name, value); 786s # g_variant_unref (value); 786s # } 786s # } 786s # } 786s # out: 786s # return g_variant_builder_end (&builder); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_skeleton_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 786s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 786s # if (skeleton->priv->changed_properties_idle_source != NULL) 786s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 786s # g_main_context_unref (skeleton->priv->context); 786s # g_mutex_clear (&skeleton->priv->lock); 786s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 786s # #else 786s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 786s # #endif 786s # 786s # g_mutex_init (&skeleton->priv->lock); 786s # skeleton->priv->context = g_main_context_ref_thread_default (); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusInterfaceSkeletonClass *skeleton_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 786s # 786s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 786s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 786s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 786s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 786s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_skeleton_new: 786s # * 786s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_skeleton_new (void) 786s # { 786s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 786s # } 786s # /tmp/tmp8ukxq6_y/tmpw2t0yr36.xml: 786s # 786s # 786s # 786s # 786s # 786s # 786s # 786s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ukxq6_y/tmpw2t0yr36.xml', '--output', '-', '--body'] 786s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 786s # Output: /* 786s # * This file is generated by gdbus-codegen, do not modify it. 786s # * 786s # * The license of this code is the same as for the D-Bus interface description 786s # * it was derived from. Note that it links to GLib, so must comply with the 786s # * LGPL linking clauses. 786s # */ 786s # 786s # #ifdef HAVE_CONFIG_H 786s # # include "config.h" 786s # #endif 786s # 786s # #include 786s # #ifdef G_OS_UNIX 786s # # include 786s # #endif 786s # 786s # #ifdef G_ENABLE_DEBUG 786s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 786s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 786s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 786s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 786s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 786s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 786s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 786s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 786s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 786s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 786s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 786s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 786s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 786s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 786s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 786s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 786s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 786s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 786s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 786s # #else /* !G_ENABLE_DEBUG */ 786s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 786s # * Do not access GValues directly in your code. Instead, use the 786s # * g_value_get_*() functions 786s # */ 786s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 786s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 786s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 786s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 786s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 786s # #endif /* !G_ENABLE_DEBUG */ 786s # 786s # typedef struct 786s # { 786s # GDBusArgInfo parent_struct; 786s # gboolean use_gvariant; 786s # } _ExtendedGDBusArgInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusMethodInfo parent_struct; 786s # const gchar *signal_name; 786s # gboolean pass_fdlist; 786s # } _ExtendedGDBusMethodInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusSignalInfo parent_struct; 786s # const gchar *signal_name; 786s # } _ExtendedGDBusSignalInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusPropertyInfo parent_struct; 786s # const gchar *hyphen_name; 786s # guint use_gvariant : 1; 786s # guint emits_changed_signal : 1; 786s # } _ExtendedGDBusPropertyInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusInterfaceInfo parent_struct; 786s # const gchar *hyphen_name; 786s # } _ExtendedGDBusInterfaceInfo; 786s # 786s # typedef struct 786s # { 786s # const _ExtendedGDBusPropertyInfo *info; 786s # guint prop_id; 786s # GValue orig_value; /* the value before the change */ 786s # } ChangedProperty; 786s # 786s # static void 786s # _changed_property_free (ChangedProperty *data) 786s # { 786s # g_value_unset (&data->orig_value); 786s # g_free (data); 786s # } 786s # 786s # static gboolean 786s # _g_strv_equal0 (gchar **a, gchar **b) 786s # { 786s # gboolean ret = FALSE; 786s # guint n; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # if (g_strv_length (a) != g_strv_length (b)) 786s # goto out; 786s # for (n = 0; a[n] != NULL; n++) 786s # if (g_strcmp0 (a[n], b[n]) != 0) 786s # goto out; 786s # ret = TRUE; 786s # out: 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _g_variant_equal0 (GVariant *a, GVariant *b) 786s # { 786s # gboolean ret = FALSE; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # ret = g_variant_equal (a, b); 786s # out: 786s # return ret; 786s # } 786s # 786s # G_GNUC_UNUSED static gboolean 786s # _g_value_equal (const GValue *a, const GValue *b) 786s # { 786s # gboolean ret = FALSE; 786s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 786s # switch (G_VALUE_TYPE (a)) 786s # { 786s # case G_TYPE_BOOLEAN: 786s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 786s # break; 786s # case G_TYPE_UCHAR: 786s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 786s # break; 786s # case G_TYPE_INT: 786s # ret = (g_value_get_int (a) == g_value_get_int (b)); 786s # break; 786s # case G_TYPE_UINT: 786s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 786s # break; 786s # case G_TYPE_INT64: 786s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 786s # break; 786s # case G_TYPE_UINT64: 786s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 786s # break; 786s # case G_TYPE_DOUBLE: 786s # { 786s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 786s # gdouble da = g_value_get_double (a); 786s # gdouble db = g_value_get_double (b); 786s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 786s # } 786s # break; 786s # case G_TYPE_STRING: 786s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 786s # break; 786s # case G_TYPE_VARIANT: 786s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 786s # break; 786s # default: 786s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 786s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 786s # else 786s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 786s # break; 786s # } 786s # return ret; 786s # } 786s # 786s # static void 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint G_GNUC_UNUSED, 786s # void *marshal_data) 786s # { 786s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (void *data1, 786s # GDBusMethodInvocation *arg_method_invocation, 786s # void *data2); 786s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 786s # GCClosure *cc = (GCClosure*) closure; 786s # void *data1, *data2; 786s # gboolean v_return; 786s # 786s # g_return_if_fail (return_value != NULL); 786s # g_return_if_fail (n_param_values == 2); 786s # 786s # if (G_CCLOSURE_SWAP_DATA (closure)) 786s # { 786s # data1 = closure->data; 786s # data2 = g_value_peek_pointer (param_values + 0); 786s # } 786s # else 786s # { 786s # data1 = g_value_peek_pointer (param_values + 0); 786s # data2 = closure->data; 786s # } 786s # 786s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (marshal_data ? marshal_data : cc->callback); 786s # 786s # v_return = 786s # callback (data1, 786s # g_marshal_value_peek_object (param_values + 1), 786s # data2); 786s # 786s # g_value_set_boolean (return_value, v_return); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ 786s # * Code for interface org.project.UsefulInterface 786s # * ------------------------------------------------------------------------ 786s # */ 786s # 786s # /** 786s # * SECTION:OrgProjectUsefulInterface 786s # * @title: OrgProjectUsefulInterface 786s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 786s # * 786s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 786s # */ 786s # 786s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 786s # 786s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 786s # { 786s # { 786s # -1, 786s # (gchar *) "arg_n", 786s # (gchar *) "n", 786s # NULL 786s # }, 786s # FALSE 786s # }; 786s # 786s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 786s # { 786s # { 786s # -1, 786s # (gchar *) "SingleArgMethodN", 786s # NULL, 786s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 786s # NULL 786s # }, 786s # "handle-single-arg-method-n", 786s # FALSE 786s # }; 786s # 786s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 786s # { 786s # { 786s # -1, 786s # (gchar *) "org.project.UsefulInterface", 786s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 786s # NULL, 786s # NULL, 786s # NULL 786s # }, 786s # "org-project-useful-interface", 786s # }; 786s # 786s # 786s # /** 786s # * org_project_useful_interface_interface_info: 786s # * 786s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 786s # * 786s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 786s # */ 786s # GDBusInterfaceInfo * 786s # org_project_useful_interface_interface_info (void) 786s # { 786s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_override_properties: 786s # * @klass: The class structure for a #GObject derived class. 786s # * @property_id_begin: The property id to assign to the first overridden property. 786s # * 786s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 786s # * The properties are overridden in the order they are defined. 786s # * 786s # * Returns: The last property id. 786s # */ 786s # guint 786s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 786s # { 786s # return property_id_begin - 1; 786s # } 786s # 786s # 786s # inline static void 786s # org_project_useful_interface_method_marshal_single_arg_method_n ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint, 786s # void *marshal_data) 786s # { 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 786s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 786s # } 786s # 786s # 786s # /** 786s # * OrgProjectUsefulInterface: 786s # * 786s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceIface: 786s # * @parent_iface: The parent interface. 786s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 786s # * 786s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 786s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 786s # 786s # static void 786s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 786s # { 786s # /* GObject signals for incoming D-Bus method calls: */ 786s # /** 786s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: A #GDBusMethodInvocation. 786s # * 786s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 786s # * 786s # * 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. 786s # * 786s # * 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. 786s # */ 786s # g_signal_new ("handle-single-arg-method-n", 786s # G_TYPE_FROM_INTERFACE (iface), 786s # G_SIGNAL_RUN_LAST, 786s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 786s # g_signal_accumulator_true_handled, 786s # NULL, 786s # org_project_useful_interface_method_marshal_single_arg_method_n, 786s # G_TYPE_BOOLEAN, 786s # 1, 786s # G_TYPE_DBUS_METHOD_INVOCATION); 786s # 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_n: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 786s # */ 786s # void 786s # org_project_useful_interface_call_single_arg_method_n ( 786s # OrgProjectUsefulInterface *proxy, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodN", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # callback, 786s # user_data); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_n_finish: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_n_finish ( 786s # OrgProjectUsefulInterface *proxy, 786s # gint16 *out_arg_n, 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(n)", 786s # out_arg_n); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_n_sync: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_n_sync ( 786s # OrgProjectUsefulInterface *proxy, 786s # gint16 *out_arg_n, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodN", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(n)", 786s # out_arg_n); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_complete_single_arg_method_n: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: (transfer full): A #GDBusMethodInvocation. 786s # * @arg_n: Parameter to return. 786s # * 786s # * 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. 786s # * 786s # * This method will free @invocation, you cannot use it afterwards. 786s # */ 786s # void 786s # org_project_useful_interface_complete_single_arg_method_n ( 786s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 786s # GDBusMethodInvocation *invocation, 786s # gint16 arg_n) 786s # { 786s # g_dbus_method_invocation_return_value (invocation, 786s # g_variant_new ("(n)", 786s # arg_n)); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxy: 786s # * 786s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxyClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceProxy. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceProxyPrivate 786s # { 786s # GData *qdata; 786s # }; 786s # 786s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_proxy_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 786s # g_datalist_clear (&proxy->priv->qdata); 786s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # const GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 786s # const gchar *sender_name G_GNUC_UNUSED, 786s # const gchar *signal_name, 786s # GVariant *parameters) 786s # { 786s # _ExtendedGDBusSignalInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # gsize n; 786s # guint signal_id; 786s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 786s # if (info == NULL) 786s # return; 786s # num_params = g_variant_n_children (parameters); 786s # paramv = g_new0 (GValue, num_params + 1); 786s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[0], proxy); 786s # g_variant_iter_init (&iter, parameters); 786s # n = 1; 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_signal_emitv (paramv, signal_id, 0, NULL); 786s # for (n = 0; n < num_params + 1; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 786s # GVariant *changed_properties, 786s # const gchar *const *invalidated_properties) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 786s # guint n; 786s # const gchar *key; 786s # GVariantIter *iter; 786s # _ExtendedGDBusPropertyInfo *info; 786s # g_variant_get (changed_properties, "a{sv}", &iter); 786s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 786s # g_datalist_remove_data (&proxy->priv->qdata, key); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # g_variant_iter_free (iter); 786s # for (n = 0; invalidated_properties[n] != NULL; n++) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 786s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 786s # #else 786s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 786s # #endif 786s # 786s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusProxyClass *proxy_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 786s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 786s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 786s # 786s # proxy_class = G_DBUS_PROXY_CLASS (klass); 786s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 786s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_sync: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_sync ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new_for_bus ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_sync: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_sync ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeleton: 786s # * 786s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeletonClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 786s # { 786s # GValue *properties; 786s # GList *changed_properties; 786s # GSource *changed_properties_idle_source; 786s # GMainContext *context; 786s # GMutex lock; 786s # }; 786s # 786s # static void 786s # _org_project_useful_interface_skeleton_handle_method_call ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name, 786s # const gchar *method_name, 786s # GVariant *parameters, 786s # GDBusMethodInvocation *invocation, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # _ExtendedGDBusMethodInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # guint num_extra; 786s # gsize n; 786s # guint signal_id; 786s # GValue return_value = G_VALUE_INIT; 786s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 786s # g_assert (info != NULL); 786s # num_params = g_variant_n_children (parameters); 786s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 786s # n = 0; 786s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[n++], skeleton); 786s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 786s # g_value_set_object (¶mv[n++], invocation); 786s # if (info->pass_fdlist) 786s # { 786s # #ifdef G_OS_UNIX 786s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 786s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 786s # #else 786s # g_assert_not_reached (); 786s # #endif 786s # } 786s # g_variant_iter_init (&iter, parameters); 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_init (&return_value, G_TYPE_BOOLEAN); 786s # g_signal_emitv (paramv, signal_id, 0, &return_value); 786s # if (!g_value_get_boolean (&return_value)) 786s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 786s # g_value_unset (&return_value); 786s # for (n = 0; n < num_params + num_extra; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static GVariant * 786s # _org_project_useful_interface_skeleton_handle_get_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # GVariant *ret; 786s # ret = NULL; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # g_value_init (&value, pspec->value_type); 786s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 786s # g_value_unset (&value); 786s # } 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _org_project_useful_interface_skeleton_handle_set_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GVariant *variant, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # gboolean ret; 786s # ret = FALSE; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # if (info->use_gvariant) 786s # g_value_set_variant (&value, variant); 786s # else 786s # g_dbus_gvariant_to_gvalue (variant, &value); 786s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # g_value_unset (&value); 786s # ret = TRUE; 786s # } 786s # return ret; 786s # } 786s # 786s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 786s # { 786s # _org_project_useful_interface_skeleton_handle_method_call, 786s # _org_project_useful_interface_skeleton_handle_get_property, 786s # _org_project_useful_interface_skeleton_handle_set_property, 786s # {NULL} 786s # }; 786s # 786s # static GDBusInterfaceInfo * 786s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return org_project_useful_interface_interface_info (); 786s # } 786s # 786s # static GDBusInterfaceVTable * 786s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 786s # } 786s # 786s # static GVariant * 786s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 786s # 786s # GVariantBuilder builder; 786s # guint n; 786s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 786s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 786s # goto out; 786s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 786s # { 786s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 786s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 786s # { 786s # GVariant *value; 786s # 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); 786s # if (value != NULL) 786s # { 786s # g_variant_take_ref (value); 786s # g_variant_builder_add (&builder, "{sv}", info->name, value); 786s # g_variant_unref (value); 786s # } 786s # } 786s # } 786s # out: 786s # return g_variant_builder_end (&builder); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_skeleton_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 786s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 786s # if (skeleton->priv->changed_properties_idle_source != NULL) 786s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 786s # g_main_context_unref (skeleton->priv->context); 786s # g_mutex_clear (&skeleton->priv->lock); 786s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 786s # #else 786s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 786s # #endif 786s # 786s # g_mutex_init (&skeleton->priv->lock); 786s # skeleton->priv->context = g_main_context_ref_thread_default (); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusInterfaceSkeletonClass *skeleton_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 786s # 786s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 786s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 786s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 786s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 786s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_skeleton_new: 786s # * 786s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_skeleton_new (void) 786s # { 786s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 786s # } 786s # /tmp/tmp8ukxq6_y/tmpray6hcc6.xml: 786s # 786s # 786s # 786s # 786s # 786s # 786s # 786s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ukxq6_y/tmpray6hcc6.xml', '--output', '-', '--body'] 786s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 786s # Output: /* 786s # * This file is generated by gdbus-codegen, do not modify it. 786s # * 786s # * The license of this code is the same as for the D-Bus interface description 786s # * it was derived from. Note that it links to GLib, so must comply with the 786s # * LGPL linking clauses. 786s # */ 786s # 786s # #ifdef HAVE_CONFIG_H 786s # # include "config.h" 786s # #endif 786s # 786s # #include 786s # #ifdef G_OS_UNIX 786s # # include 786s # #endif 786s # 786s # #ifdef G_ENABLE_DEBUG 786s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 786s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 786s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 786s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 786s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 786s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 786s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 786s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 786s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 786s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 786s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 786s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 786s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 786s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 786s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 786s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 786s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 786s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 786s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 786s # #else /* !G_ENABLE_DEBUG */ 786s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 786s # * Do not access GValues directly in your code. Instead, use the 786s # * g_value_get_*() functions 786s # */ 786s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 786s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 786s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 786s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 786s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 786s # #endif /* !G_ENABLE_DEBUG */ 786s # 786s # typedef struct 786s # { 786s # GDBusArgInfo parent_struct; 786s # gboolean use_gvariant; 786s # } _ExtendedGDBusArgInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusMethodInfo parent_struct; 786s # const gchar *signal_name; 786s # gboolean pass_fdlist; 786s # } _ExtendedGDBusMethodInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusSignalInfo parent_struct; 786s # const gchar *signal_name; 786s # } _ExtendedGDBusSignalInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusPropertyInfo parent_struct; 786s # const gchar *hyphen_name; 786s # guint use_gvariant : 1; 786s # guint emits_changed_signal : 1; 786s # } _ExtendedGDBusPropertyInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusInterfaceInfo parent_struct; 786s # const gchar *hyphen_name; 786s # } _ExtendedGDBusInterfaceInfo; 786s # 786s # typedef struct 786s # { 786s # const _ExtendedGDBusPropertyInfo *info; 786s # guint prop_id; 786s # GValue orig_value; /* the value before the change */ 786s # } ChangedProperty; 786s # 786s # static void 786s # _changed_property_free (ChangedProperty *data) 786s # { 786s # g_value_unset (&data->orig_value); 786s # g_free (data); 786s # } 786s # 786s # static gboolean 786s # _g_strv_equal0 (gchar **a, gchar **b) 786s # { 786s # gboolean ret = FALSE; 786s # guint n; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # if (g_strv_length (a) != g_strv_length (b)) 786s # goto out; 786s # for (n = 0; a[n] != NULL; n++) 786s # if (g_strcmp0 (a[n], b[n]) != 0) 786s # goto out; 786s # ret = TRUE; 786s # out: 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _g_variant_equal0 (GVariant *a, GVariant *b) 786s # { 786s # gboolean ret = FALSE; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # ret = g_variant_equal (a, b); 786s # out: 786s # return ret; 786s # } 786s # 786s # G_GNUC_UNUSED static gboolean 786s # _g_value_equal (const GValue *a, const GValue *b) 786s # { 786s # gboolean ret = FALSE; 786s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 786s # switch (G_VALUE_TYPE (a)) 786s # { 786s # case G_TYPE_BOOLEAN: 786s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 786s # break; 786s # case G_TYPE_UCHAR: 786s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 786s # break; 786s # case G_TYPE_INT: 786s # ret = (g_value_get_int (a) == g_value_get_int (b)); 786s # break; 786s # case G_TYPE_UINT: 786s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 786s # break; 786s # case G_TYPE_INT64: 786s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 786s # break; 786s # case G_TYPE_UINT64: 786s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 786s # break; 786s # case G_TYPE_DOUBLE: 786s # { 786s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 786s # gdouble da = g_value_get_double (a); 786s # gdouble db = g_value_get_double (b); 786s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 786s # } 786s # break; 786s # case G_TYPE_STRING: 786s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 786s # break; 786s # case G_TYPE_VARIANT: 786s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 786s # break; 786s # default: 786s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 786s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 786s # else 786s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 786s # break; 786s # } 786s # return ret; 786s # } 786s # 786s # static void 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint G_GNUC_UNUSED, 786s # void *marshal_data) 786s # { 786s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (void *data1, 786s # GDBusMethodInvocation *arg_method_invocation, 786s # void *data2); 786s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 786s # GCClosure *cc = (GCClosure*) closure; 786s # void *data1, *data2; 786s # gboolean v_return; 786s # 786s # g_return_if_fail (return_value != NULL); 786s # g_return_if_fail (n_param_values == 2); 786s # 786s # if (G_CCLOSURE_SWAP_DATA (closure)) 786s # { 786s # data1 = closure->data; 786s # data2 = g_value_peek_pointer (param_values + 0); 786s # } 786s # else 786s # { 786s # data1 = g_value_peek_pointer (param_values + 0); 786s # data2 = closure->data; 786s # } 786s # 786s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (marshal_data ? marshal_data : cc->callback); 786s # 786s # v_return = 786s # callback (data1, 786s # g_marshal_value_peek_object (param_values + 1), 786s # data2); 786s # 786s # g_value_set_boolean (return_value, v_return); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ 786s # * Code for interface org.project.UsefulInterface 786s # * ------------------------------------------------------------------------ 786s # */ 786s # 786s # /** 786s # * SECTION:OrgProjectUsefulInterface 786s # * @title: OrgProjectUsefulInterface 786s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 786s # * 786s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 786s # */ 786s # 786s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 786s # 786s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 786s # { 786s # { 786s # -1, 786s # (gchar *) "arg_q", 786s # (gchar *) "q", 786s # NULL 786s # }, 786s # FALSE 786s # }; 786s # 786s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 786s # { 786s # { 786s # -1, 786s # (gchar *) "SingleArgMethodQ", 786s # NULL, 786s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 786s # NULL 786s # }, 786s # "handle-single-arg-method-q", 786s # FALSE 786s # }; 786s # 786s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 786s # { 786s # { 786s # -1, 786s # (gchar *) "org.project.UsefulInterface", 786s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 786s # NULL, 786s # NULL, 786s # NULL 786s # }, 786s # "org-project-useful-interface", 786s # }; 786s # 786s # 786s # /** 786s # * org_project_useful_interface_interface_info: 786s # * 786s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 786s # * 786s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 786s # */ 786s # GDBusInterfaceInfo * 786s # org_project_useful_interface_interface_info (void) 786s # { 786s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_override_properties: 786s # * @klass: The class structure for a #GObject derived class. 786s # * @property_id_begin: The property id to assign to the first overridden property. 786s # * 786s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 786s # * The properties are overridden in the order they are defined. 786s # * 786s # * Returns: The last property id. 786s # */ 786s # guint 786s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 786s # { 786s # return property_id_begin - 1; 786s # } 786s # 786s # 786s # inline static void 786s # org_project_useful_interface_method_marshal_single_arg_method_q ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint, 786s # void *marshal_data) 786s # { 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 786s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 786s # } 786s # 786s # 786s # /** 786s # * OrgProjectUsefulInterface: 786s # * 786s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceIface: 786s # * @parent_iface: The parent interface. 786s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 786s # * 786s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 786s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 786s # 786s # static void 786s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 786s # { 786s # /* GObject signals for incoming D-Bus method calls: */ 786s # /** 786s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: A #GDBusMethodInvocation. 786s # * 786s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 786s # * 786s # * 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. 786s # * 786s # * 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. 786s # */ 786s # g_signal_new ("handle-single-arg-method-q", 786s # G_TYPE_FROM_INTERFACE (iface), 786s # G_SIGNAL_RUN_LAST, 786s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 786s # g_signal_accumulator_true_handled, 786s # NULL, 786s # org_project_useful_interface_method_marshal_single_arg_method_q, 786s # G_TYPE_BOOLEAN, 786s # 1, 786s # G_TYPE_DBUS_METHOD_INVOCATION); 786s # 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_q: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 786s # */ 786s # void 786s # org_project_useful_interface_call_single_arg_method_q ( 786s # OrgProjectUsefulInterface *proxy, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodQ", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # callback, 786s # user_data); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_q_finish: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_q_finish ( 786s # OrgProjectUsefulInterface *proxy, 786s # guint16 *out_arg_q, 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(q)", 786s # out_arg_q); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_q_sync: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_q_sync ( 786s # OrgProjectUsefulInterface *proxy, 786s # guint16 *out_arg_q, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodQ", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(q)", 786s # out_arg_q); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_complete_single_arg_method_q: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: (transfer full): A #GDBusMethodInvocation. 786s # * @arg_q: Parameter to return. 786s # * 786s # * 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. 786s # * 786s # * This method will free @invocation, you cannot use it afterwards. 786s # */ 786s # void 786s # org_project_useful_interface_complete_single_arg_method_q ( 786s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 786s # GDBusMethodInvocation *invocation, 786s # guint16 arg_q) 786s # { 786s # g_dbus_method_invocation_return_value (invocation, 786s # g_variant_new ("(q)", 786s # arg_q)); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxy: 786s # * 786s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxyClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceProxy. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceProxyPrivate 786s # { 786s # GData *qdata; 786s # }; 786s # 786s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_proxy_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 786s # g_datalist_clear (&proxy->priv->qdata); 786s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # const GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 786s # const gchar *sender_name G_GNUC_UNUSED, 786s # const gchar *signal_name, 786s # GVariant *parameters) 786s # { 786s # _ExtendedGDBusSignalInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # gsize n; 786s # guint signal_id; 786s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 786s # if (info == NULL) 786s # return; 786s # num_params = g_variant_n_children (parameters); 786s # paramv = g_new0 (GValue, num_params + 1); 786s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[0], proxy); 786s # g_variant_iter_init (&iter, parameters); 786s # n = 1; 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_signal_emitv (paramv, signal_id, 0, NULL); 786s # for (n = 0; n < num_params + 1; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 786s # GVariant *changed_properties, 786s # const gchar *const *invalidated_properties) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 786s # guint n; 786s # const gchar *key; 786s # GVariantIter *iter; 786s # _ExtendedGDBusPropertyInfo *info; 786s # g_variant_get (changed_properties, "a{sv}", &iter); 786s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 786s # g_datalist_remove_data (&proxy->priv->qdata, key); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # g_variant_iter_free (iter); 786s # for (n = 0; invalidated_properties[n] != NULL; n++) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 786s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 786s # #else 786s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 786s # #endif 786s # 786s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusProxyClass *proxy_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 786s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 786s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 786s # 786s # proxy_class = G_DBUS_PROXY_CLASS (klass); 786s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 786s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_sync: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_sync ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new_for_bus ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_sync: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_sync ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeleton: 786s # * 786s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeletonClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 786s # { 786s # GValue *properties; 786s # GList *changed_properties; 786s # GSource *changed_properties_idle_source; 786s # GMainContext *context; 786s # GMutex lock; 786s # }; 786s # 786s # static void 786s # _org_project_useful_interface_skeleton_handle_method_call ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name, 786s # const gchar *method_name, 786s # GVariant *parameters, 786s # GDBusMethodInvocation *invocation, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # _ExtendedGDBusMethodInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # guint num_extra; 786s # gsize n; 786s # guint signal_id; 786s # GValue return_value = G_VALUE_INIT; 786s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 786s # g_assert (info != NULL); 786s # num_params = g_variant_n_children (parameters); 786s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 786s # n = 0; 786s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[n++], skeleton); 786s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 786s # g_value_set_object (¶mv[n++], invocation); 786s # if (info->pass_fdlist) 786s # { 786s # #ifdef G_OS_UNIX 786s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 786s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 786s # #else 786s # g_assert_not_reached (); 786s # #endif 786s # } 786s # g_variant_iter_init (&iter, parameters); 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_init (&return_value, G_TYPE_BOOLEAN); 786s # g_signal_emitv (paramv, signal_id, 0, &return_value); 786s # if (!g_value_get_boolean (&return_value)) 786s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 786s # g_value_unset (&return_value); 786s # for (n = 0; n < num_params + num_extra; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static GVariant * 786s # _org_project_useful_interface_skeleton_handle_get_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # GVariant *ret; 786s # ret = NULL; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # g_value_init (&value, pspec->value_type); 786s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 786s # g_value_unset (&value); 786s # } 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _org_project_useful_interface_skeleton_handle_set_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GVariant *variant, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # gboolean ret; 786s # ret = FALSE; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # if (info->use_gvariant) 786s # g_value_set_variant (&value, variant); 786s # else 786s # g_dbus_gvariant_to_gvalue (variant, &value); 786s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # g_value_unset (&value); 786s # ret = TRUE; 786s # } 786s # return ret; 786s # } 786s # 786s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 786s # { 786s # _org_project_useful_interface_skeleton_handle_method_call, 786s # _org_project_useful_interface_skeleton_handle_get_property, 786s # _org_project_useful_interface_skeleton_handle_set_property, 786s # {NULL} 786s # }; 786s # 786s # static GDBusInterfaceInfo * 786s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return org_project_useful_interface_interface_info (); 786s # } 786s # 786s # static GDBusInterfaceVTable * 786s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 786s # } 786s # 786s # static GVariant * 786s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 786s # 786s # GVariantBuilder builder; 786s # guint n; 786s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 786s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 786s # goto out; 786s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 786s # { 786s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 786s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 786s # { 786s # GVariant *value; 786s # 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); 786s # if (value != NULL) 786s # { 786s # g_variant_take_ref (value); 786s # g_variant_builder_add (&builder, "{sv}", info->name, value); 786s # g_variant_unref (value); 786s # } 786s # } 786s # } 786s # out: 786s # return g_variant_builder_end (&builder); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_skeleton_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 786s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 786s # if (skeleton->priv->changed_properties_idle_source != NULL) 786s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 786s # g_main_context_unref (skeleton->priv->context); 786s # g_mutex_clear (&skeleton->priv->lock); 786s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 786s # #else 786s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 786s # #endif 786s # 786s # g_mutex_init (&skeleton->priv->lock); 786s # skeleton->priv->context = g_main_context_ref_thread_default (); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusInterfaceSkeletonClass *skeleton_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 786s # 786s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 786s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 786s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 786s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 786s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_skeleton_new: 786s # * 786s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_skeleton_new (void) 786s # { 786s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 786s # } 786s # /tmp/tmp8ukxq6_y/tmpcraxzdiz.xml: 786s # 786s # 786s # 786s # 786s # 786s # 786s # 786s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ukxq6_y/tmpcraxzdiz.xml', '--output', '-', '--body'] 786s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 786s # Output: /* 786s # * This file is generated by gdbus-codegen, do not modify it. 786s # * 786s # * The license of this code is the same as for the D-Bus interface description 786s # * it was derived from. Note that it links to GLib, so must comply with the 786s # * LGPL linking clauses. 786s # */ 786s # 786s # #ifdef HAVE_CONFIG_H 786s # # include "config.h" 786s # #endif 786s # 786s # #include 786s # #ifdef G_OS_UNIX 786s # # include 786s # #endif 786s # 786s # #ifdef G_ENABLE_DEBUG 786s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 786s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 786s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 786s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 786s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 786s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 786s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 786s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 786s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 786s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 786s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 786s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 786s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 786s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 786s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 786s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 786s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 786s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 786s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 786s # #else /* !G_ENABLE_DEBUG */ 786s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 786s # * Do not access GValues directly in your code. Instead, use the 786s # * g_value_get_*() functions 786s # */ 786s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 786s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 786s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 786s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 786s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 786s # #endif /* !G_ENABLE_DEBUG */ 786s # 786s # typedef struct 786s # { 786s # GDBusArgInfo parent_struct; 786s # gboolean use_gvariant; 786s # } _ExtendedGDBusArgInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusMethodInfo parent_struct; 786s # const gchar *signal_name; 786s # gboolean pass_fdlist; 786s # } _ExtendedGDBusMethodInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusSignalInfo parent_struct; 786s # const gchar *signal_name; 786s # } _ExtendedGDBusSignalInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusPropertyInfo parent_struct; 786s # const gchar *hyphen_name; 786s # guint use_gvariant : 1; 786s # guint emits_changed_signal : 1; 786s # } _ExtendedGDBusPropertyInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusInterfaceInfo parent_struct; 786s # const gchar *hyphen_name; 786s # } _ExtendedGDBusInterfaceInfo; 786s # 786s # typedef struct 786s # { 786s # const _ExtendedGDBusPropertyInfo *info; 786s # guint prop_id; 786s # GValue orig_value; /* the value before the change */ 786s # } ChangedProperty; 786s # 786s # static void 786s # _changed_property_free (ChangedProperty *data) 786s # { 786s # g_value_unset (&data->orig_value); 786s # g_free (data); 786s # } 786s # 786s # static gboolean 786s # _g_strv_equal0 (gchar **a, gchar **b) 786s # { 786s # gboolean ret = FALSE; 786s # guint n; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # if (g_strv_length (a) != g_strv_length (b)) 786s # goto out; 786s # for (n = 0; a[n] != NULL; n++) 786s # if (g_strcmp0 (a[n], b[n]) != 0) 786s # goto out; 786s # ret = TRUE; 786s # out: 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _g_variant_equal0 (GVariant *a, GVariant *b) 786s # { 786s # gboolean ret = FALSE; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # ret = g_variant_equal (a, b); 786s # out: 786s # return ret; 786s # } 786s # 786s # G_GNUC_UNUSED static gboolean 786s # _g_value_equal (const GValue *a, const GValue *b) 786s # { 786s # gboolean ret = FALSE; 786s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 786s # switch (G_VALUE_TYPE (a)) 786s # { 786s # case G_TYPE_BOOLEAN: 786s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 786s # break; 786s # case G_TYPE_UCHAR: 786s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 786s # break; 786s # case G_TYPE_INT: 786s # ret = (g_value_get_int (a) == g_value_get_int (b)); 786s # break; 786s # case G_TYPE_UINT: 786s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 786s # break; 786s # case G_TYPE_INT64: 786s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 786s # break; 786s # case G_TYPE_UINT64: 786s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 786s # break; 786s # case G_TYPE_DOUBLE: 786s # { 786s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 786s # gdouble da = g_value_get_double (a); 786s # gdouble db = g_value_get_double (b); 786s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 786s # } 786s # break; 786s # case G_TYPE_STRING: 786s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 786s # break; 786s # case G_TYPE_VARIANT: 786s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 786s # break; 786s # default: 786s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 786s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 786s # else 786s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 786s # break; 786s # } 786s # return ret; 786s # } 786s # 786s # static void 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint G_GNUC_UNUSED, 786s # void *marshal_data) 786s # { 786s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (void *data1, 786s # GDBusMethodInvocation *arg_method_invocation, 786s # void *data2); 786s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 786s # GCClosure *cc = (GCClosure*) closure; 786s # void *data1, *data2; 786s # gboolean v_return; 786s # 786s # g_return_if_fail (return_value != NULL); 786s # g_return_if_fail (n_param_values == 2); 786s # 786s # if (G_CCLOSURE_SWAP_DATA (closure)) 786s # { 786s # data1 = closure->data; 786s # data2 = g_value_peek_pointer (param_values + 0); 786s # } 786s # else 786s # { 786s # data1 = g_value_peek_pointer (param_values + 0); 786s # data2 = closure->data; 786s # } 786s # 786s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (marshal_data ? marshal_data : cc->callback); 786s # 786s # v_return = 786s # callback (data1, 786s # g_marshal_value_peek_object (param_values + 1), 786s # data2); 786s # 786s # g_value_set_boolean (return_value, v_return); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ 786s # * Code for interface org.project.UsefulInterface 786s # * ------------------------------------------------------------------------ 786s # */ 786s # 786s # /** 786s # * SECTION:OrgProjectUsefulInterface 786s # * @title: OrgProjectUsefulInterface 786s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 786s # * 786s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 786s # */ 786s # 786s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 786s # 786s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 786s # { 786s # { 786s # -1, 786s # (gchar *) "arg_i", 786s # (gchar *) "i", 786s # NULL 786s # }, 786s # FALSE 786s # }; 786s # 786s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 786s # { 786s # { 786s # -1, 786s # (gchar *) "SingleArgMethodI", 786s # NULL, 786s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 786s # NULL 786s # }, 786s # "handle-single-arg-method-i", 786s # FALSE 786s # }; 786s # 786s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 786s # { 786s # { 786s # -1, 786s # (gchar *) "org.project.UsefulInterface", 786s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 786s # NULL, 786s # NULL, 786s # NULL 786s # }, 786s # "org-project-useful-interface", 786s # }; 786s # 786s # 786s # /** 786s # * org_project_useful_interface_interface_info: 786s # * 786s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 786s # * 786s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 786s # */ 786s # GDBusInterfaceInfo * 786s # org_project_useful_interface_interface_info (void) 786s # { 786s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_override_properties: 786s # * @klass: The class structure for a #GObject derived class. 786s # * @property_id_begin: The property id to assign to the first overridden property. 786s # * 786s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 786s # * The properties are overridden in the order they are defined. 786s # * 786s # * Returns: The last property id. 786s # */ 786s # guint 786s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 786s # { 786s # return property_id_begin - 1; 786s # } 786s # 786s # 786s # inline static void 786s # org_project_useful_interface_method_marshal_single_arg_method_i ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint, 786s # void *marshal_data) 786s # { 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 786s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 786s # } 786s # 786s # 786s # /** 786s # * OrgProjectUsefulInterface: 786s # * 786s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceIface: 786s # * @parent_iface: The parent interface. 786s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 786s # * 786s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 786s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 786s # 786s # static void 786s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 786s # { 786s # /* GObject signals for incoming D-Bus method calls: */ 786s # /** 786s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: A #GDBusMethodInvocation. 786s # * 786s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 786s # * 786s # * 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. 786s # * 786s # * 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. 786s # */ 786s # g_signal_new ("handle-single-arg-method-i", 786s # G_TYPE_FROM_INTERFACE (iface), 786s # G_SIGNAL_RUN_LAST, 786s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 786s # g_signal_accumulator_true_handled, 786s # NULL, 786s # org_project_useful_interface_method_marshal_single_arg_method_i, 786s # G_TYPE_BOOLEAN, 786s # 1, 786s # G_TYPE_DBUS_METHOD_INVOCATION); 786s # 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_i: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 786s # */ 786s # void 786s # org_project_useful_interface_call_single_arg_method_i ( 786s # OrgProjectUsefulInterface *proxy, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodI", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # callback, 786s # user_data); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_i_finish: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_i_finish ( 786s # OrgProjectUsefulInterface *proxy, 786s # gint *out_arg_i, 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(i)", 786s # out_arg_i); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_i_sync: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_i_sync ( 786s # OrgProjectUsefulInterface *proxy, 786s # gint *out_arg_i, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodI", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(i)", 786s # out_arg_i); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_complete_single_arg_method_i: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: (transfer full): A #GDBusMethodInvocation. 786s # * @arg_i: Parameter to return. 786s # * 786s # * 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. 786s # * 786s # * This method will free @invocation, you cannot use it afterwards. 786s # */ 786s # void 786s # org_project_useful_interface_complete_single_arg_method_i ( 786s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 786s # GDBusMethodInvocation *invocation, 786s # gint arg_i) 786s # { 786s # g_dbus_method_invocation_return_value (invocation, 786s # g_variant_new ("(i)", 786s # arg_i)); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxy: 786s # * 786s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxyClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceProxy. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceProxyPrivate 786s # { 786s # GData *qdata; 786s # }; 786s # 786s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_proxy_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 786s # g_datalist_clear (&proxy->priv->qdata); 786s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # const GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 786s # const gchar *sender_name G_GNUC_UNUSED, 786s # const gchar *signal_name, 786s # GVariant *parameters) 786s # { 786s # _ExtendedGDBusSignalInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # gsize n; 786s # guint signal_id; 786s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 786s # if (info == NULL) 786s # return; 786s # num_params = g_variant_n_children (parameters); 786s # paramv = g_new0 (GValue, num_params + 1); 786s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[0], proxy); 786s # g_variant_iter_init (&iter, parameters); 786s # n = 1; 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_signal_emitv (paramv, signal_id, 0, NULL); 786s # for (n = 0; n < num_params + 1; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 786s # GVariant *changed_properties, 786s # const gchar *const *invalidated_properties) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 786s # guint n; 786s # const gchar *key; 786s # GVariantIter *iter; 786s # _ExtendedGDBusPropertyInfo *info; 786s # g_variant_get (changed_properties, "a{sv}", &iter); 786s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 786s # g_datalist_remove_data (&proxy->priv->qdata, key); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # g_variant_iter_free (iter); 786s # for (n = 0; invalidated_properties[n] != NULL; n++) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 786s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 786s # #else 786s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 786s # #endif 786s # 786s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusProxyClass *proxy_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 786s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 786s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 786s # 786s # proxy_class = G_DBUS_PROXY_CLASS (klass); 786s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 786s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_sync: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_sync ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new_for_bus ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_sync: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_sync ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeleton: 786s # * 786s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeletonClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 786s # { 786s # GValue *properties; 786s # GList *changed_properties; 786s # GSource *changed_properties_idle_source; 786s # GMainContext *context; 786s # GMutex lock; 786s # }; 786s # 786s # static void 786s # _org_project_useful_interface_skeleton_handle_method_call ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name, 786s # const gchar *method_name, 786s # GVariant *parameters, 786s # GDBusMethodInvocation *invocation, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # _ExtendedGDBusMethodInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # guint num_extra; 786s # gsize n; 786s # guint signal_id; 786s # GValue return_value = G_VALUE_INIT; 786s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 786s # g_assert (info != NULL); 786s # num_params = g_variant_n_children (parameters); 786s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 786s # n = 0; 786s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[n++], skeleton); 786s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 786s # g_value_set_object (¶mv[n++], invocation); 786s # if (info->pass_fdlist) 786s # { 786s # #ifdef G_OS_UNIX 786s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 786s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 786s # #else 786s # g_assert_not_reached (); 786s # #endif 786s # } 786s # g_variant_iter_init (&iter, parameters); 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_init (&return_value, G_TYPE_BOOLEAN); 786s # g_signal_emitv (paramv, signal_id, 0, &return_value); 786s # if (!g_value_get_boolean (&return_value)) 786s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 786s # g_value_unset (&return_value); 786s # for (n = 0; n < num_params + num_extra; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static GVariant * 786s # _org_project_useful_interface_skeleton_handle_get_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # GVariant *ret; 786s # ret = NULL; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # g_value_init (&value, pspec->value_type); 786s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 786s # g_value_unset (&value); 786s # } 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _org_project_useful_interface_skeleton_handle_set_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GVariant *variant, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # gboolean ret; 786s # ret = FALSE; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # if (info->use_gvariant) 786s # g_value_set_variant (&value, variant); 786s # else 786s # g_dbus_gvariant_to_gvalue (variant, &value); 786s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # g_value_unset (&value); 786s # ret = TRUE; 786s # } 786s # return ret; 786s # } 786s # 786s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 786s # { 786s # _org_project_useful_interface_skeleton_handle_method_call, 786s # _org_project_useful_interface_skeleton_handle_get_property, 786s # _org_project_useful_interface_skeleton_handle_set_property, 786s # {NULL} 786s # }; 786s # 786s # static GDBusInterfaceInfo * 786s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return org_project_useful_interface_interface_info (); 786s # } 786s # 786s # static GDBusInterfaceVTable * 786s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 786s # } 786s # 786s # static GVariant * 786s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 786s # 786s # GVariantBuilder builder; 786s # guint n; 786s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 786s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 786s # goto out; 786s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 786s # { 786s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 786s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 786s # { 786s # GVariant *value; 786s # 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); 786s # if (value != NULL) 786s # { 786s # g_variant_take_ref (value); 786s # g_variant_builder_add (&builder, "{sv}", info->name, value); 786s # g_variant_unref (value); 786s # } 786s # } 786s # } 786s # out: 786s # return g_variant_builder_end (&builder); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_skeleton_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 786s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 786s # if (skeleton->priv->changed_properties_idle_source != NULL) 786s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 786s # g_main_context_unref (skeleton->priv->context); 786s # g_mutex_clear (&skeleton->priv->lock); 786s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 786s # #else 786s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 786s # #endif 786s # 786s # g_mutex_init (&skeleton->priv->lock); 786s # skeleton->priv->context = g_main_context_ref_thread_default (); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusInterfaceSkeletonClass *skeleton_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 786s # 786s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 786s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 786s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 786s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 786s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_skeleton_new: 786s # * 786s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_skeleton_new (void) 786s # { 786s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 786s # } 786s # /tmp/tmp8ukxq6_y/tmp0vk02xs1.xml: 786s # 786s # 786s # 786s # 786s # 786s # 786s # 786s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ukxq6_y/tmp0vk02xs1.xml', '--output', '-', '--body'] 786s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 786s # Output: /* 786s # * This file is generated by gdbus-codegen, do not modify it. 786s # * 786s # * The license of this code is the same as for the D-Bus interface description 786s # * it was derived from. Note that it links to GLib, so must comply with the 786s # * LGPL linking clauses. 786s # */ 786s # 786s # #ifdef HAVE_CONFIG_H 786s # # include "config.h" 786s # #endif 786s # 786s # #include 786s # #ifdef G_OS_UNIX 786s # # include 786s # #endif 786s # 786s # #ifdef G_ENABLE_DEBUG 786s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 786s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 786s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 786s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 786s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 786s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 786s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 786s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 786s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 786s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 786s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 786s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 786s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 786s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 786s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 786s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 786s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 786s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 786s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 786s # #else /* !G_ENABLE_DEBUG */ 786s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 786s # * Do not access GValues directly in your code. Instead, use the 786s # * g_value_get_*() functions 786s # */ 786s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 786s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 786s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 786s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 786s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 786s # #endif /* !G_ENABLE_DEBUG */ 786s # 786s # typedef struct 786s # { 786s # GDBusArgInfo parent_struct; 786s # gboolean use_gvariant; 786s # } _ExtendedGDBusArgInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusMethodInfo parent_struct; 786s # const gchar *signal_name; 786s # gboolean pass_fdlist; 786s # } _ExtendedGDBusMethodInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusSignalInfo parent_struct; 786s # const gchar *signal_name; 786s # } _ExtendedGDBusSignalInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusPropertyInfo parent_struct; 786s # const gchar *hyphen_name; 786s # guint use_gvariant : 1; 786s # guint emits_changed_signal : 1; 786s # } _ExtendedGDBusPropertyInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusInterfaceInfo parent_struct; 786s # const gchar *hyphen_name; 786s # } _ExtendedGDBusInterfaceInfo; 786s # 786s # typedef struct 786s # { 786s # const _ExtendedGDBusPropertyInfo *info; 786s # guint prop_id; 786s # GValue orig_value; /* the value before the change */ 786s # } ChangedProperty; 786s # 786s # static void 786s # _changed_property_free (ChangedProperty *data) 786s # { 786s # g_value_unset (&data->orig_value); 786s # g_free (data); 786s # } 786s # 786s # static gboolean 786s # _g_strv_equal0 (gchar **a, gchar **b) 786s # { 786s # gboolean ret = FALSE; 786s # guint n; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # if (g_strv_length (a) != g_strv_length (b)) 786s # goto out; 786s # for (n = 0; a[n] != NULL; n++) 786s # if (g_strcmp0 (a[n], b[n]) != 0) 786s # goto out; 786s # ret = TRUE; 786s # out: 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _g_variant_equal0 (GVariant *a, GVariant *b) 786s # { 786s # gboolean ret = FALSE; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # ret = g_variant_equal (a, b); 786s # out: 786s # return ret; 786s # } 786s # 786s # G_GNUC_UNUSED static gboolean 786s # _g_value_equal (const GValue *a, const GValue *b) 786s # { 786s # gboolean ret = FALSE; 786s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 786s # switch (G_VALUE_TYPE (a)) 786s # { 786s # case G_TYPE_BOOLEAN: 786s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 786s # break; 786s # case G_TYPE_UCHAR: 786s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 786s # break; 786s # case G_TYPE_INT: 786s # ret = (g_value_get_int (a) == g_value_get_int (b)); 786s # break; 786s # case G_TYPE_UINT: 786s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 786s # break; 786s # case G_TYPE_INT64: 786s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 786s # break; 786s # case G_TYPE_UINT64: 786s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 786s # break; 786s # case G_TYPE_DOUBLE: 786s # { 786s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 786s # gdouble da = g_value_get_double (a); 786s # gdouble db = g_value_get_double (b); 786s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 786s # } 786s # break; 786s # case G_TYPE_STRING: 786s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 786s # break; 786s # case G_TYPE_VARIANT: 786s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 786s # break; 786s # default: 786s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 786s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 786s # else 786s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 786s # break; 786s # } 786s # return ret; 786s # } 786s # 786s # static void 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint G_GNUC_UNUSED, 786s # void *marshal_data) 786s # { 786s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (void *data1, 786s # GDBusMethodInvocation *arg_method_invocation, 786s # void *data2); 786s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 786s # GCClosure *cc = (GCClosure*) closure; 786s # void *data1, *data2; 786s # gboolean v_return; 786s # 786s # g_return_if_fail (return_value != NULL); 786s # g_return_if_fail (n_param_values == 2); 786s # 786s # if (G_CCLOSURE_SWAP_DATA (closure)) 786s # { 786s # data1 = closure->data; 786s # data2 = g_value_peek_pointer (param_values + 0); 786s # } 786s # else 786s # { 786s # data1 = g_value_peek_pointer (param_values + 0); 786s # data2 = closure->data; 786s # } 786s # 786s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (marshal_data ? marshal_data : cc->callback); 786s # 786s # v_return = 786s # callback (data1, 786s # g_marshal_value_peek_object (param_values + 1), 786s # data2); 786s # 786s # g_value_set_boolean (return_value, v_return); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ 786s # * Code for interface org.project.UsefulInterface 786s # * ------------------------------------------------------------------------ 786s # */ 786s # 786s # /** 786s # * SECTION:OrgProjectUsefulInterface 786s # * @title: OrgProjectUsefulInterface 786s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 786s # * 786s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 786s # */ 786s # 786s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 786s # 786s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 786s # { 786s # { 786s # -1, 786s # (gchar *) "arg_u", 786s # (gchar *) "u", 786s # NULL 786s # }, 786s # FALSE 786s # }; 786s # 786s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 786s # { 786s # { 786s # -1, 786s # (gchar *) "SingleArgMethodU", 786s # NULL, 786s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 786s # NULL 786s # }, 786s # "handle-single-arg-method-u", 786s # FALSE 786s # }; 786s # 786s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 786s # { 786s # { 786s # -1, 786s # (gchar *) "org.project.UsefulInterface", 786s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 786s # NULL, 786s # NULL, 786s # NULL 786s # }, 786s # "org-project-useful-interface", 786s # }; 786s # 786s # 786s # /** 786s # * org_project_useful_interface_interface_info: 786s # * 786s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 786s # * 786s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 786s # */ 786s # GDBusInterfaceInfo * 786s # org_project_useful_interface_interface_info (void) 786s # { 786s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_override_properties: 786s # * @klass: The class structure for a #GObject derived class. 786s # * @property_id_begin: The property id to assign to the first overridden property. 786s # * 786s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 786s # * The properties are overridden in the order they are defined. 786s # * 786s # * Returns: The last property id. 786s # */ 786s # guint 786s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 786s # { 786s # return property_id_begin - 1; 786s # } 786s # 786s # 786s # inline static void 786s # org_project_useful_interface_method_marshal_single_arg_method_u ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint, 786s # void *marshal_data) 786s # { 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 786s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 786s # } 786s # 786s # 786s # /** 786s # * OrgProjectUsefulInterface: 786s # * 786s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceIface: 786s # * @parent_iface: The parent interface. 786s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 786s # * 786s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 786s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 786s # 786s # static void 786s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 786s # { 786s # /* GObject signals for incoming D-Bus method calls: */ 786s # /** 786s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: A #GDBusMethodInvocation. 786s # * 786s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 786s # * 786s # * 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. 786s # * 786s # * 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. 786s # */ 786s # g_signal_new ("handle-single-arg-method-u", 786s # G_TYPE_FROM_INTERFACE (iface), 786s # G_SIGNAL_RUN_LAST, 786s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 786s # g_signal_accumulator_true_handled, 786s # NULL, 786s # org_project_useful_interface_method_marshal_single_arg_method_u, 786s # G_TYPE_BOOLEAN, 786s # 1, 786s # G_TYPE_DBUS_METHOD_INVOCATION); 786s # 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_u: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 786s # */ 786s # void 786s # org_project_useful_interface_call_single_arg_method_u ( 786s # OrgProjectUsefulInterface *proxy, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodU", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # callback, 786s # user_data); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_u_finish: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_u_finish ( 786s # OrgProjectUsefulInterface *proxy, 786s # guint *out_arg_u, 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(u)", 786s # out_arg_u); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_u_sync: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_u_sync ( 786s # OrgProjectUsefulInterface *proxy, 786s # guint *out_arg_u, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodU", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(u)", 786s # out_arg_u); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_complete_single_arg_method_u: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: (transfer full): A #GDBusMethodInvocation. 786s # * @arg_u: Parameter to return. 786s # * 786s # * 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. 786s # * 786s # * This method will free @invocation, you cannot use it afterwards. 786s # */ 786s # void 786s # org_project_useful_interface_complete_single_arg_method_u ( 786s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 786s # GDBusMethodInvocation *invocation, 786s # guint arg_u) 786s # { 786s # g_dbus_method_invocation_return_value (invocation, 786s # g_variant_new ("(u)", 786s # arg_u)); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxy: 786s # * 786s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxyClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceProxy. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceProxyPrivate 786s # { 786s # GData *qdata; 786s # }; 786s # 786s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_proxy_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 786s # g_datalist_clear (&proxy->priv->qdata); 786s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # const GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 786s # const gchar *sender_name G_GNUC_UNUSED, 786s # const gchar *signal_name, 786s # GVariant *parameters) 786s # { 786s # _ExtendedGDBusSignalInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # gsize n; 786s # guint signal_id; 786s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 786s # if (info == NULL) 786s # return; 786s # num_params = g_variant_n_children (parameters); 786s # paramv = g_new0 (GValue, num_params + 1); 786s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[0], proxy); 786s # g_variant_iter_init (&iter, parameters); 786s # n = 1; 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_signal_emitv (paramv, signal_id, 0, NULL); 786s # for (n = 0; n < num_params + 1; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 786s # GVariant *changed_properties, 786s # const gchar *const *invalidated_properties) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 786s # guint n; 786s # const gchar *key; 786s # GVariantIter *iter; 786s # _ExtendedGDBusPropertyInfo *info; 786s # g_variant_get (changed_properties, "a{sv}", &iter); 786s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 786s # g_datalist_remove_data (&proxy->priv->qdata, key); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # g_variant_iter_free (iter); 786s # for (n = 0; invalidated_properties[n] != NULL; n++) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 786s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 786s # #else 786s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 786s # #endif 786s # 786s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusProxyClass *proxy_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 786s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 786s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 786s # 786s # proxy_class = G_DBUS_PROXY_CLASS (klass); 786s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 786s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_sync: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_sync ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new_for_bus ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_sync: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_sync ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeleton: 786s # * 786s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeletonClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 786s # { 786s # GValue *properties; 786s # GList *changed_properties; 786s # GSource *changed_properties_idle_source; 786s # GMainContext *context; 786s # GMutex lock; 786s # }; 786s # 786s # static void 786s # _org_project_useful_interface_skeleton_handle_method_call ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name, 786s # const gchar *method_name, 786s # GVariant *parameters, 786s # GDBusMethodInvocation *invocation, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # _ExtendedGDBusMethodInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # guint num_extra; 786s # gsize n; 786s # guint signal_id; 786s # GValue return_value = G_VALUE_INIT; 786s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 786s # g_assert (info != NULL); 786s # num_params = g_variant_n_children (parameters); 786s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 786s # n = 0; 786s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[n++], skeleton); 786s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 786s # g_value_set_object (¶mv[n++], invocation); 786s # if (info->pass_fdlist) 786s # { 786s # #ifdef G_OS_UNIX 786s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 786s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 786s # #else 786s # g_assert_not_reached (); 786s # #endif 786s # } 786s # g_variant_iter_init (&iter, parameters); 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_init (&return_value, G_TYPE_BOOLEAN); 786s # g_signal_emitv (paramv, signal_id, 0, &return_value); 786s # if (!g_value_get_boolean (&return_value)) 786s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 786s # g_value_unset (&return_value); 786s # for (n = 0; n < num_params + num_extra; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static GVariant * 786s # _org_project_useful_interface_skeleton_handle_get_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # GVariant *ret; 786s # ret = NULL; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # g_value_init (&value, pspec->value_type); 786s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 786s # g_value_unset (&value); 786s # } 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _org_project_useful_interface_skeleton_handle_set_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GVariant *variant, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # gboolean ret; 786s # ret = FALSE; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # if (info->use_gvariant) 786s # g_value_set_variant (&value, variant); 786s # else 786s # g_dbus_gvariant_to_gvalue (variant, &value); 786s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # g_value_unset (&value); 786s # ret = TRUE; 786s # } 786s # return ret; 786s # } 786s # 786s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 786s # { 786s # _org_project_useful_interface_skeleton_handle_method_call, 786s # _org_project_useful_interface_skeleton_handle_get_property, 786s # _org_project_useful_interface_skeleton_handle_set_property, 786s # {NULL} 786s # }; 786s # 786s # static GDBusInterfaceInfo * 786s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return org_project_useful_interface_interface_info (); 786s # } 786s # 786s # static GDBusInterfaceVTable * 786s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 786s # } 786s # 786s # static GVariant * 786s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 786s # 786s # GVariantBuilder builder; 786s # guint n; 786s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 786s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 786s # goto out; 786s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 786s # { 786s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 786s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 786s # { 786s # GVariant *value; 786s # 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); 786s # if (value != NULL) 786s # { 786s # g_variant_take_ref (value); 786s # g_variant_builder_add (&builder, "{sv}", info->name, value); 786s # g_variant_unref (value); 786s # } 786s # } 786s # } 786s # out: 786s # return g_variant_builder_end (&builder); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_skeleton_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 786s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 786s # if (skeleton->priv->changed_properties_idle_source != NULL) 786s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 786s # g_main_context_unref (skeleton->priv->context); 786s # g_mutex_clear (&skeleton->priv->lock); 786s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 786s # #else 786s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 786s # #endif 786s # 786s # g_mutex_init (&skeleton->priv->lock); 786s # skeleton->priv->context = g_main_context_ref_thread_default (); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusInterfaceSkeletonClass *skeleton_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 786s # 786s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 786s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 786s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 786s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 786s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_skeleton_new: 786s # * 786s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_skeleton_new (void) 786s # { 786s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 786s # } 786s # /tmp/tmp8ukxq6_y/tmpg02k63s2.xml: 786s # 786s # 786s # 786s # 786s # 786s # 786s # 786s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ukxq6_y/tmpg02k63s2.xml', '--output', '-', '--body'] 786s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 786s # Output: /* 786s # * This file is generated by gdbus-codegen, do not modify it. 786s # * 786s # * The license of this code is the same as for the D-Bus interface description 786s # * it was derived from. Note that it links to GLib, so must comply with the 786s # * LGPL linking clauses. 786s # */ 786s # 786s # #ifdef HAVE_CONFIG_H 786s # # include "config.h" 786s # #endif 786s # 786s # #include 786s # #ifdef G_OS_UNIX 786s # # include 786s # #endif 786s # 786s # #ifdef G_ENABLE_DEBUG 786s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 786s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 786s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 786s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 786s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 786s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 786s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 786s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 786s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 786s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 786s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 786s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 786s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 786s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 786s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 786s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 786s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 786s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 786s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 786s # #else /* !G_ENABLE_DEBUG */ 786s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 786s # * Do not access GValues directly in your code. Instead, use the 786s # * g_value_get_*() functions 786s # */ 786s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 786s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 786s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 786s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 786s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 786s # #endif /* !G_ENABLE_DEBUG */ 786s # 786s # typedef struct 786s # { 786s # GDBusArgInfo parent_struct; 786s # gboolean use_gvariant; 786s # } _ExtendedGDBusArgInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusMethodInfo parent_struct; 786s # const gchar *signal_name; 786s # gboolean pass_fdlist; 786s # } _ExtendedGDBusMethodInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusSignalInfo parent_struct; 786s # const gchar *signal_name; 786s # } _ExtendedGDBusSignalInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusPropertyInfo parent_struct; 786s # const gchar *hyphen_name; 786s # guint use_gvariant : 1; 786s # guint emits_changed_signal : 1; 786s # } _ExtendedGDBusPropertyInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusInterfaceInfo parent_struct; 786s # const gchar *hyphen_name; 786s # } _ExtendedGDBusInterfaceInfo; 786s # 786s # typedef struct 786s # { 786s # const _ExtendedGDBusPropertyInfo *info; 786s # guint prop_id; 786s # GValue orig_value; /* the value before the change */ 786s # } ChangedProperty; 786s # 786s # static void 786s # _changed_property_free (ChangedProperty *data) 786s # { 786s # g_value_unset (&data->orig_value); 786s # g_free (data); 786s # } 786s # 786s # static gboolean 786s # _g_strv_equal0 (gchar **a, gchar **b) 786s # { 786s # gboolean ret = FALSE; 786s # guint n; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # if (g_strv_length (a) != g_strv_length (b)) 786s # goto out; 786s # for (n = 0; a[n] != NULL; n++) 786s # if (g_strcmp0 (a[n], b[n]) != 0) 786s # goto out; 786s # ret = TRUE; 786s # out: 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _g_variant_equal0 (GVariant *a, GVariant *b) 786s # { 786s # gboolean ret = FALSE; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # ret = g_variant_equal (a, b); 786s # out: 786s # return ret; 786s # } 786s # 786s # G_GNUC_UNUSED static gboolean 786s # _g_value_equal (const GValue *a, const GValue *b) 786s # { 786s # gboolean ret = FALSE; 786s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 786s # switch (G_VALUE_TYPE (a)) 786s # { 786s # case G_TYPE_BOOLEAN: 786s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 786s # break; 786s # case G_TYPE_UCHAR: 786s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 786s # break; 786s # case G_TYPE_INT: 786s # ret = (g_value_get_int (a) == g_value_get_int (b)); 786s # break; 786s # case G_TYPE_UINT: 786s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 786s # break; 786s # case G_TYPE_INT64: 786s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 786s # break; 786s # case G_TYPE_UINT64: 786s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 786s # break; 786s # case G_TYPE_DOUBLE: 786s # { 786s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 786s # gdouble da = g_value_get_double (a); 786s # gdouble db = g_value_get_double (b); 786s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 786s # } 786s # break; 786s # case G_TYPE_STRING: 786s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 786s # break; 786s # case G_TYPE_VARIANT: 786s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 786s # break; 786s # default: 786s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 786s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 786s # else 786s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 786s # break; 786s # } 786s # return ret; 786s # } 786s # 786s # static void 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint G_GNUC_UNUSED, 786s # void *marshal_data) 786s # { 786s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (void *data1, 786s # GDBusMethodInvocation *arg_method_invocation, 786s # void *data2); 786s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 786s # GCClosure *cc = (GCClosure*) closure; 786s # void *data1, *data2; 786s # gboolean v_return; 786s # 786s # g_return_if_fail (return_value != NULL); 786s # g_return_if_fail (n_param_values == 2); 786s # 786s # if (G_CCLOSURE_SWAP_DATA (closure)) 786s # { 786s # data1 = closure->data; 786s # data2 = g_value_peek_pointer (param_values + 0); 786s # } 786s # else 786s # { 786s # data1 = g_value_peek_pointer (param_values + 0); 786s # data2 = closure->data; 786s # } 786s # 786s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (marshal_data ? marshal_data : cc->callback); 786s # 786s # v_return = 786s # callback (data1, 786s # g_marshal_value_peek_object (param_values + 1), 786s # data2); 786s # 786s # g_value_set_boolean (return_value, v_return); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ 786s # * Code for interface org.project.UsefulInterface 786s # * ------------------------------------------------------------------------ 786s # */ 786s # 786s # /** 786s # * SECTION:OrgProjectUsefulInterface 786s # * @title: OrgProjectUsefulInterface 786s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 786s # * 786s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 786s # */ 786s # 786s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 786s # 786s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 786s # { 786s # { 786s # -1, 786s # (gchar *) "arg_x", 786s # (gchar *) "x", 786s # NULL 786s # }, 786s # FALSE 786s # }; 786s # 786s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 786s # { 786s # { 786s # -1, 786s # (gchar *) "SingleArgMethodX", 786s # NULL, 786s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 786s # NULL 786s # }, 786s # "handle-single-arg-method-x", 786s # FALSE 786s # }; 786s # 786s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 786s # { 786s # { 786s # -1, 786s # (gchar *) "org.project.UsefulInterface", 786s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 786s # NULL, 786s # NULL, 786s # NULL 786s # }, 786s # "org-project-useful-interface", 786s # }; 786s # 786s # 786s # /** 786s # * org_project_useful_interface_interface_info: 786s # * 786s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 786s # * 786s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 786s # */ 786s # GDBusInterfaceInfo * 786s # org_project_useful_interface_interface_info (void) 786s # { 786s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_override_properties: 786s # * @klass: The class structure for a #GObject derived class. 786s # * @property_id_begin: The property id to assign to the first overridden property. 786s # * 786s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 786s # * The properties are overridden in the order they are defined. 786s # * 786s # * Returns: The last property id. 786s # */ 786s # guint 786s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 786s # { 786s # return property_id_begin - 1; 786s # } 786s # 786s # 786s # inline static void 786s # org_project_useful_interface_method_marshal_single_arg_method_x ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint, 786s # void *marshal_data) 786s # { 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 786s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 786s # } 786s # 786s # 786s # /** 786s # * OrgProjectUsefulInterface: 786s # * 786s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceIface: 786s # * @parent_iface: The parent interface. 786s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 786s # * 786s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 786s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 786s # 786s # static void 786s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 786s # { 786s # /* GObject signals for incoming D-Bus method calls: */ 786s # /** 786s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: A #GDBusMethodInvocation. 786s # * 786s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 786s # * 786s # * 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. 786s # * 786s # * 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. 786s # */ 786s # g_signal_new ("handle-single-arg-method-x", 786s # G_TYPE_FROM_INTERFACE (iface), 786s # G_SIGNAL_RUN_LAST, 786s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 786s # g_signal_accumulator_true_handled, 786s # NULL, 786s # org_project_useful_interface_method_marshal_single_arg_method_x, 786s # G_TYPE_BOOLEAN, 786s # 1, 786s # G_TYPE_DBUS_METHOD_INVOCATION); 786s # 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_x: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 786s # */ 786s # void 786s # org_project_useful_interface_call_single_arg_method_x ( 786s # OrgProjectUsefulInterface *proxy, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodX", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # callback, 786s # user_data); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_x_finish: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_x_finish ( 786s # OrgProjectUsefulInterface *proxy, 786s # gint64 *out_arg_x, 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(x)", 786s # out_arg_x); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_x_sync: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_x_sync ( 786s # OrgProjectUsefulInterface *proxy, 786s # gint64 *out_arg_x, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodX", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(x)", 786s # out_arg_x); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_complete_single_arg_method_x: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: (transfer full): A #GDBusMethodInvocation. 786s # * @arg_x: Parameter to return. 786s # * 786s # * 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. 786s # * 786s # * This method will free @invocation, you cannot use it afterwards. 786s # */ 786s # void 786s # org_project_useful_interface_complete_single_arg_method_x ( 786s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 786s # GDBusMethodInvocation *invocation, 786s # gint64 arg_x) 786s # { 786s # g_dbus_method_invocation_return_value (invocation, 786s # g_variant_new ("(x)", 786s # arg_x)); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxy: 786s # * 786s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxyClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceProxy. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceProxyPrivate 786s # { 786s # GData *qdata; 786s # }; 786s # 786s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_proxy_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 786s # g_datalist_clear (&proxy->priv->qdata); 786s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # const GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 786s # const gchar *sender_name G_GNUC_UNUSED, 786s # const gchar *signal_name, 786s # GVariant *parameters) 786s # { 786s # _ExtendedGDBusSignalInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # gsize n; 786s # guint signal_id; 786s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 786s # if (info == NULL) 786s # return; 786s # num_params = g_variant_n_children (parameters); 786s # paramv = g_new0 (GValue, num_params + 1); 786s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[0], proxy); 786s # g_variant_iter_init (&iter, parameters); 786s # n = 1; 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_signal_emitv (paramv, signal_id, 0, NULL); 786s # for (n = 0; n < num_params + 1; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 786s # GVariant *changed_properties, 786s # const gchar *const *invalidated_properties) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 786s # guint n; 786s # const gchar *key; 786s # GVariantIter *iter; 786s # _ExtendedGDBusPropertyInfo *info; 786s # g_variant_get (changed_properties, "a{sv}", &iter); 786s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 786s # g_datalist_remove_data (&proxy->priv->qdata, key); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # g_variant_iter_free (iter); 786s # for (n = 0; invalidated_properties[n] != NULL; n++) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 786s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 786s # #else 786s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 786s # #endif 786s # 786s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusProxyClass *proxy_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 786s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 786s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 786s # 786s # proxy_class = G_DBUS_PROXY_CLASS (klass); 786s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 786s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_sync: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_sync ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new_for_bus ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_sync: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_sync ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeleton: 786s # * 786s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeletonClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 786s # { 786s # GValue *properties; 786s # GList *changed_properties; 786s # GSource *changed_properties_idle_source; 786s # GMainContext *context; 786s # GMutex lock; 786s # }; 786s # 786s # static void 786s # _org_project_useful_interface_skeleton_handle_method_call ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name, 786s # const gchar *method_name, 786s # GVariant *parameters, 786s # GDBusMethodInvocation *invocation, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # _ExtendedGDBusMethodInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # guint num_extra; 786s # gsize n; 786s # guint signal_id; 786s # GValue return_value = G_VALUE_INIT; 786s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 786s # g_assert (info != NULL); 786s # num_params = g_variant_n_children (parameters); 786s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 786s # n = 0; 786s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[n++], skeleton); 786s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 786s # g_value_set_object (¶mv[n++], invocation); 786s # if (info->pass_fdlist) 786s # { 786s # #ifdef G_OS_UNIX 786s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 786s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 786s # #else 786s # g_assert_not_reached (); 786s # #endif 786s # } 786s # g_variant_iter_init (&iter, parameters); 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_init (&return_value, G_TYPE_BOOLEAN); 786s # g_signal_emitv (paramv, signal_id, 0, &return_value); 786s # if (!g_value_get_boolean (&return_value)) 786s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 786s # g_value_unset (&return_value); 786s # for (n = 0; n < num_params + num_extra; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static GVariant * 786s # _org_project_useful_interface_skeleton_handle_get_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # GVariant *ret; 786s # ret = NULL; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # g_value_init (&value, pspec->value_type); 786s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 786s # g_value_unset (&value); 786s # } 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _org_project_useful_interface_skeleton_handle_set_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GVariant *variant, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # gboolean ret; 786s # ret = FALSE; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # if (info->use_gvariant) 786s # g_value_set_variant (&value, variant); 786s # else 786s # g_dbus_gvariant_to_gvalue (variant, &value); 786s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # g_value_unset (&value); 786s # ret = TRUE; 786s # } 786s # return ret; 786s # } 786s # 786s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 786s # { 786s # _org_project_useful_interface_skeleton_handle_method_call, 786s # _org_project_useful_interface_skeleton_handle_get_property, 786s # _org_project_useful_interface_skeleton_handle_set_property, 786s # {NULL} 786s # }; 786s # 786s # static GDBusInterfaceInfo * 786s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return org_project_useful_interface_interface_info (); 786s # } 786s # 786s # static GDBusInterfaceVTable * 786s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 786s # } 786s # 786s # static GVariant * 786s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 786s # 786s # GVariantBuilder builder; 786s # guint n; 786s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 786s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 786s # goto out; 786s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 786s # { 786s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 786s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 786s # { 786s # GVariant *value; 786s # 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); 786s # if (value != NULL) 786s # { 786s # g_variant_take_ref (value); 786s # g_variant_builder_add (&builder, "{sv}", info->name, value); 786s # g_variant_unref (value); 786s # } 786s # } 786s # } 786s # out: 786s # return g_variant_builder_end (&builder); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_skeleton_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 786s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 786s # if (skeleton->priv->changed_properties_idle_source != NULL) 786s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 786s # g_main_context_unref (skeleton->priv->context); 786s # g_mutex_clear (&skeleton->priv->lock); 786s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 786s # #else 786s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 786s # #endif 786s # 786s # g_mutex_init (&skeleton->priv->lock); 786s # skeleton->priv->context = g_main_context_ref_thread_default (); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusInterfaceSkeletonClass *skeleton_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 786s # 786s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 786s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 786s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 786s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 786s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_skeleton_new: 786s # * 786s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_skeleton_new (void) 786s # { 786s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 786s # } 786s # /tmp/tmp8ukxq6_y/tmp67n950eo.xml: 786s # 786s # 786s # 786s # 786s # 786s # 786s # 786s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ukxq6_y/tmp67n950eo.xml', '--output', '-', '--body'] 786s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 786s # Output: /* 786s # * This file is generated by gdbus-codegen, do not modify it. 786s # * 786s # * The license of this code is the same as for the D-Bus interface description 786s # * it was derived from. Note that it links to GLib, so must comply with the 786s # * LGPL linking clauses. 786s # */ 786s # 786s # #ifdef HAVE_CONFIG_H 786s # # include "config.h" 786s # #endif 786s # 786s # #include 786s # #ifdef G_OS_UNIX 786s # # include 786s # #endif 786s # 786s # #ifdef G_ENABLE_DEBUG 786s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 786s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 786s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 786s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 786s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 786s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 786s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 786s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 786s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 786s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 786s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 786s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 786s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 786s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 786s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 786s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 786s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 786s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 786s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 786s # #else /* !G_ENABLE_DEBUG */ 786s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 786s # * Do not access GValues directly in your code. Instead, use the 786s # * g_value_get_*() functions 786s # */ 786s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 786s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 786s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 786s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 786s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 786s # #endif /* !G_ENABLE_DEBUG */ 786s # 786s # typedef struct 786s # { 786s # GDBusArgInfo parent_struct; 786s # gboolean use_gvariant; 786s # } _ExtendedGDBusArgInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusMethodInfo parent_struct; 786s # const gchar *signal_name; 786s # gboolean pass_fdlist; 786s # } _ExtendedGDBusMethodInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusSignalInfo parent_struct; 786s # const gchar *signal_name; 786s # } _ExtendedGDBusSignalInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusPropertyInfo parent_struct; 786s # const gchar *hyphen_name; 786s # guint use_gvariant : 1; 786s # guint emits_changed_signal : 1; 786s # } _ExtendedGDBusPropertyInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusInterfaceInfo parent_struct; 786s # const gchar *hyphen_name; 786s # } _ExtendedGDBusInterfaceInfo; 786s # 786s # typedef struct 786s # { 786s # const _ExtendedGDBusPropertyInfo *info; 786s # guint prop_id; 786s # GValue orig_value; /* the value before the change */ 786s # } ChangedProperty; 786s # 786s # static void 786s # _changed_property_free (ChangedProperty *data) 786s # { 786s # g_value_unset (&data->orig_value); 786s # g_free (data); 786s # } 786s # 786s # static gboolean 786s # _g_strv_equal0 (gchar **a, gchar **b) 786s # { 786s # gboolean ret = FALSE; 786s # guint n; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # if (g_strv_length (a) != g_strv_length (b)) 786s # goto out; 786s # for (n = 0; a[n] != NULL; n++) 786s # if (g_strcmp0 (a[n], b[n]) != 0) 786s # goto out; 786s # ret = TRUE; 786s # out: 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _g_variant_equal0 (GVariant *a, GVariant *b) 786s # { 786s # gboolean ret = FALSE; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # ret = g_variant_equal (a, b); 786s # out: 786s # return ret; 786s # } 786s # 786s # G_GNUC_UNUSED static gboolean 786s # _g_value_equal (const GValue *a, const GValue *b) 786s # { 786s # gboolean ret = FALSE; 786s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 786s # switch (G_VALUE_TYPE (a)) 786s # { 786s # case G_TYPE_BOOLEAN: 786s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 786s # break; 786s # case G_TYPE_UCHAR: 786s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 786s # break; 786s # case G_TYPE_INT: 786s # ret = (g_value_get_int (a) == g_value_get_int (b)); 786s # break; 786s # case G_TYPE_UINT: 786s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 786s # break; 786s # case G_TYPE_INT64: 786s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 786s # break; 786s # case G_TYPE_UINT64: 786s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 786s # break; 786s # case G_TYPE_DOUBLE: 786s # { 786s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 786s # gdouble da = g_value_get_double (a); 786s # gdouble db = g_value_get_double (b); 786s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 786s # } 786s # break; 786s # case G_TYPE_STRING: 786s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 786s # break; 786s # case G_TYPE_VARIANT: 786s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 786s # break; 786s # default: 786s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 786s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 786s # else 786s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 786s # break; 786s # } 786s # return ret; 786s # } 786s # 786s # static void 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint G_GNUC_UNUSED, 786s # void *marshal_data) 786s # { 786s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (void *data1, 786s # GDBusMethodInvocation *arg_method_invocation, 786s # void *data2); 786s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 786s # GCClosure *cc = (GCClosure*) closure; 786s # void *data1, *data2; 786s # gboolean v_return; 786s # 786s # g_return_if_fail (return_value != NULL); 786s # g_return_if_fail (n_param_values == 2); 786s # 786s # if (G_CCLOSURE_SWAP_DATA (closure)) 786s # { 786s # data1 = closure->data; 786s # data2 = g_value_peek_pointer (param_values + 0); 786s # } 786s # else 786s # { 786s # data1 = g_value_peek_pointer (param_values + 0); 786s # data2 = closure->data; 786s # } 786s # 786s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (marshal_data ? marshal_data : cc->callback); 786s # 786s # v_return = 786s # callback (data1, 786s # g_marshal_value_peek_object (param_values + 1), 786s # data2); 786s # 786s # g_value_set_boolean (return_value, v_return); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ 786s # * Code for interface org.project.UsefulInterface 786s # * ------------------------------------------------------------------------ 786s # */ 786s # 786s # /** 786s # * SECTION:OrgProjectUsefulInterface 786s # * @title: OrgProjectUsefulInterface 786s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 786s # * 786s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 786s # */ 786s # 786s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 786s # 786s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 786s # { 786s # { 786s # -1, 786s # (gchar *) "arg_t", 786s # (gchar *) "t", 786s # NULL 786s # }, 786s # FALSE 786s # }; 786s # 786s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 786s # { 786s # { 786s # -1, 786s # (gchar *) "SingleArgMethodT", 786s # NULL, 786s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 786s # NULL 786s # }, 786s # "handle-single-arg-method-t", 786s # FALSE 786s # }; 786s # 786s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 786s # { 786s # { 786s # -1, 786s # (gchar *) "org.project.UsefulInterface", 786s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 786s # NULL, 786s # NULL, 786s # NULL 786s # }, 786s # "org-project-useful-interface", 786s # }; 786s # 786s # 786s # /** 786s # * org_project_useful_interface_interface_info: 786s # * 786s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 786s # * 786s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 786s # */ 786s # GDBusInterfaceInfo * 786s # org_project_useful_interface_interface_info (void) 786s # { 786s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_override_properties: 786s # * @klass: The class structure for a #GObject derived class. 786s # * @property_id_begin: The property id to assign to the first overridden property. 786s # * 786s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 786s # * The properties are overridden in the order they are defined. 786s # * 786s # * Returns: The last property id. 786s # */ 786s # guint 786s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 786s # { 786s # return property_id_begin - 1; 786s # } 786s # 786s # 786s # inline static void 786s # org_project_useful_interface_method_marshal_single_arg_method_t ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint, 786s # void *marshal_data) 786s # { 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 786s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 786s # } 786s # 786s # 786s # /** 786s # * OrgProjectUsefulInterface: 786s # * 786s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceIface: 786s # * @parent_iface: The parent interface. 786s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 786s # * 786s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 786s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 786s # 786s # static void 786s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 786s # { 786s # /* GObject signals for incoming D-Bus method calls: */ 786s # /** 786s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: A #GDBusMethodInvocation. 786s # * 786s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 786s # * 786s # * 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. 786s # * 786s # * 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. 786s # */ 786s # g_signal_new ("handle-single-arg-method-t", 786s # G_TYPE_FROM_INTERFACE (iface), 786s # G_SIGNAL_RUN_LAST, 786s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 786s # g_signal_accumulator_true_handled, 786s # NULL, 786s # org_project_useful_interface_method_marshal_single_arg_method_t, 786s # G_TYPE_BOOLEAN, 786s # 1, 786s # G_TYPE_DBUS_METHOD_INVOCATION); 786s # 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_t: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 786s # */ 786s # void 786s # org_project_useful_interface_call_single_arg_method_t ( 786s # OrgProjectUsefulInterface *proxy, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodT", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # callback, 786s # user_data); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_t_finish: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_t_finish ( 786s # OrgProjectUsefulInterface *proxy, 786s # guint64 *out_arg_t, 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(t)", 786s # out_arg_t); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_t_sync: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_t_sync ( 786s # OrgProjectUsefulInterface *proxy, 786s # guint64 *out_arg_t, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodT", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(t)", 786s # out_arg_t); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_complete_single_arg_method_t: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: (transfer full): A #GDBusMethodInvocation. 786s # * @arg_t: Parameter to return. 786s # * 786s # * 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. 786s # * 786s # * This method will free @invocation, you cannot use it afterwards. 786s # */ 786s # void 786s # org_project_useful_interface_complete_single_arg_method_t ( 786s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 786s # GDBusMethodInvocation *invocation, 786s # guint64 arg_t) 786s # { 786s # g_dbus_method_invocation_return_value (invocation, 786s # g_variant_new ("(t)", 786s # arg_t)); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxy: 786s # * 786s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxyClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceProxy. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceProxyPrivate 786s # { 786s # GData *qdata; 786s # }; 786s # 786s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_proxy_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 786s # g_datalist_clear (&proxy->priv->qdata); 786s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # const GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 786s # const gchar *sender_name G_GNUC_UNUSED, 786s # const gchar *signal_name, 786s # GVariant *parameters) 786s # { 786s # _ExtendedGDBusSignalInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # gsize n; 786s # guint signal_id; 786s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 786s # if (info == NULL) 786s # return; 786s # num_params = g_variant_n_children (parameters); 786s # paramv = g_new0 (GValue, num_params + 1); 786s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[0], proxy); 786s # g_variant_iter_init (&iter, parameters); 786s # n = 1; 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_signal_emitv (paramv, signal_id, 0, NULL); 786s # for (n = 0; n < num_params + 1; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 786s # GVariant *changed_properties, 786s # const gchar *const *invalidated_properties) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 786s # guint n; 786s # const gchar *key; 786s # GVariantIter *iter; 786s # _ExtendedGDBusPropertyInfo *info; 786s # g_variant_get (changed_properties, "a{sv}", &iter); 786s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 786s # g_datalist_remove_data (&proxy->priv->qdata, key); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # g_variant_iter_free (iter); 786s # for (n = 0; invalidated_properties[n] != NULL; n++) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 786s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 786s # #else 786s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 786s # #endif 786s # 786s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusProxyClass *proxy_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 786s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 786s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 786s # 786s # proxy_class = G_DBUS_PROXY_CLASS (klass); 786s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 786s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_sync: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_sync ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new_for_bus ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_sync: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_sync ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeleton: 786s # * 786s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeletonClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 786s # { 786s # GValue *properties; 786s # GList *changed_properties; 786s # GSource *changed_properties_idle_source; 786s # GMainContext *context; 786s # GMutex lock; 786s # }; 786s # 786s # static void 786s # _org_project_useful_interface_skeleton_handle_method_call ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name, 786s # const gchar *method_name, 786s # GVariant *parameters, 786s # GDBusMethodInvocation *invocation, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # _ExtendedGDBusMethodInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # guint num_extra; 786s # gsize n; 786s # guint signal_id; 786s # GValue return_value = G_VALUE_INIT; 786s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 786s # g_assert (info != NULL); 786s # num_params = g_variant_n_children (parameters); 786s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 786s # n = 0; 786s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[n++], skeleton); 786s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 786s # g_value_set_object (¶mv[n++], invocation); 786s # if (info->pass_fdlist) 786s # { 786s # #ifdef G_OS_UNIX 786s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 786s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 786s # #else 786s # g_assert_not_reached (); 786s # #endif 786s # } 786s # g_variant_iter_init (&iter, parameters); 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_init (&return_value, G_TYPE_BOOLEAN); 786s # g_signal_emitv (paramv, signal_id, 0, &return_value); 786s # if (!g_value_get_boolean (&return_value)) 786s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 786s # g_value_unset (&return_value); 786s # for (n = 0; n < num_params + num_extra; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static GVariant * 786s # _org_project_useful_interface_skeleton_handle_get_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # GVariant *ret; 786s # ret = NULL; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # g_value_init (&value, pspec->value_type); 786s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 786s # g_value_unset (&value); 786s # } 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _org_project_useful_interface_skeleton_handle_set_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GVariant *variant, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # gboolean ret; 786s # ret = FALSE; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # if (info->use_gvariant) 786s # g_value_set_variant (&value, variant); 786s # else 786s # g_dbus_gvariant_to_gvalue (variant, &value); 786s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # g_value_unset (&value); 786s # ret = TRUE; 786s # } 786s # return ret; 786s # } 786s # 786s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 786s # { 786s # _org_project_useful_interface_skeleton_handle_method_call, 786s # _org_project_useful_interface_skeleton_handle_get_property, 786s # _org_project_useful_interface_skeleton_handle_set_property, 786s # {NULL} 786s # }; 786s # 786s # static GDBusInterfaceInfo * 786s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return org_project_useful_interface_interface_info (); 786s # } 786s # 786s # static GDBusInterfaceVTable * 786s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 786s # } 786s # 786s # static GVariant * 786s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 786s # 786s # GVariantBuilder builder; 786s # guint n; 786s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 786s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 786s # goto out; 786s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 786s # { 786s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 786s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 786s # { 786s # GVariant *value; 786s # 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); 786s # if (value != NULL) 786s # { 786s # g_variant_take_ref (value); 786s # g_variant_builder_add (&builder, "{sv}", info->name, value); 786s # g_variant_unref (value); 786s # } 786s # } 786s # } 786s # out: 786s # return g_variant_builder_end (&builder); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_skeleton_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 786s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 786s # if (skeleton->priv->changed_properties_idle_source != NULL) 786s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 786s # g_main_context_unref (skeleton->priv->context); 786s # g_mutex_clear (&skeleton->priv->lock); 786s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 786s # #else 786s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 786s # #endif 786s # 786s # g_mutex_init (&skeleton->priv->lock); 786s # skeleton->priv->context = g_main_context_ref_thread_default (); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusInterfaceSkeletonClass *skeleton_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 786s # 786s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 786s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 786s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 786s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 786s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_skeleton_new: 786s # * 786s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_skeleton_new (void) 786s # { 786s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 786s # } 786s # /tmp/tmp8ukxq6_y/tmpyfqdl7ji.xml: 786s # 786s # 786s # 786s # 786s # 786s # 786s # 786s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ukxq6_y/tmpyfqdl7ji.xml', '--output', '-', '--body'] 786s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 786s # Output: /* 786s # * This file is generated by gdbus-codegen, do not modify it. 786s # * 786s # * The license of this code is the same as for the D-Bus interface description 786s # * it was derived from. Note that it links to GLib, so must comply with the 786s # * LGPL linking clauses. 786s # */ 786s # 786s # #ifdef HAVE_CONFIG_H 786s # # include "config.h" 786s # #endif 786s # 786s # #include 786s # #ifdef G_OS_UNIX 786s # # include 786s # #endif 786s # 786s # #ifdef G_ENABLE_DEBUG 786s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 786s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 786s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 786s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 786s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 786s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 786s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 786s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 786s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 786s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 786s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 786s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 786s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 786s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 786s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 786s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 786s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 786s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 786s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 786s # #else /* !G_ENABLE_DEBUG */ 786s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 786s # * Do not access GValues directly in your code. Instead, use the 786s # * g_value_get_*() functions 786s # */ 786s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 786s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 786s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 786s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 786s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 786s # #endif /* !G_ENABLE_DEBUG */ 786s # 786s # typedef struct 786s # { 786s # GDBusArgInfo parent_struct; 786s # gboolean use_gvariant; 786s # } _ExtendedGDBusArgInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusMethodInfo parent_struct; 786s # const gchar *signal_name; 786s # gboolean pass_fdlist; 786s # } _ExtendedGDBusMethodInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusSignalInfo parent_struct; 786s # const gchar *signal_name; 786s # } _ExtendedGDBusSignalInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusPropertyInfo parent_struct; 786s # const gchar *hyphen_name; 786s # guint use_gvariant : 1; 786s # guint emits_changed_signal : 1; 786s # } _ExtendedGDBusPropertyInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusInterfaceInfo parent_struct; 786s # const gchar *hyphen_name; 786s # } _ExtendedGDBusInterfaceInfo; 786s # 786s # typedef struct 786s # { 786s # const _ExtendedGDBusPropertyInfo *info; 786s # guint prop_id; 786s # GValue orig_value; /* the value before the change */ 786s # } ChangedProperty; 786s # 786s # static void 786s # _changed_property_free (ChangedProperty *data) 786s # { 786s # g_value_unset (&data->orig_value); 786s # g_free (data); 786s # } 786s # 786s # static gboolean 786s # _g_strv_equal0 (gchar **a, gchar **b) 786s # { 786s # gboolean ret = FALSE; 786s # guint n; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # if (g_strv_length (a) != g_strv_length (b)) 786s # goto out; 786s # for (n = 0; a[n] != NULL; n++) 786s # if (g_strcmp0 (a[n], b[n]) != 0) 786s # goto out; 786s # ret = TRUE; 786s # out: 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _g_variant_equal0 (GVariant *a, GVariant *b) 786s # { 786s # gboolean ret = FALSE; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # ret = g_variant_equal (a, b); 786s # out: 786s # return ret; 786s # } 786s # 786s # G_GNUC_UNUSED static gboolean 786s # _g_value_equal (const GValue *a, const GValue *b) 786s # { 786s # gboolean ret = FALSE; 786s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 786s # switch (G_VALUE_TYPE (a)) 786s # { 786s # case G_TYPE_BOOLEAN: 786s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 786s # break; 786s # case G_TYPE_UCHAR: 786s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 786s # break; 786s # case G_TYPE_INT: 786s # ret = (g_value_get_int (a) == g_value_get_int (b)); 786s # break; 786s # case G_TYPE_UINT: 786s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 786s # break; 786s # case G_TYPE_INT64: 786s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 786s # break; 786s # case G_TYPE_UINT64: 786s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 786s # break; 786s # case G_TYPE_DOUBLE: 786s # { 786s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 786s # gdouble da = g_value_get_double (a); 786s # gdouble db = g_value_get_double (b); 786s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 786s # } 786s # break; 786s # case G_TYPE_STRING: 786s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 786s # break; 786s # case G_TYPE_VARIANT: 786s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 786s # break; 786s # default: 786s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 786s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 786s # else 786s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 786s # break; 786s # } 786s # return ret; 786s # } 786s # 786s # static void 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint G_GNUC_UNUSED, 786s # void *marshal_data) 786s # { 786s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (void *data1, 786s # GDBusMethodInvocation *arg_method_invocation, 786s # void *data2); 786s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 786s # GCClosure *cc = (GCClosure*) closure; 786s # void *data1, *data2; 786s # gboolean v_return; 786s # 786s # g_return_if_fail (return_value != NULL); 786s # g_return_if_fail (n_param_values == 2); 786s # 786s # if (G_CCLOSURE_SWAP_DATA (closure)) 786s # { 786s # data1 = closure->data; 786s # data2 = g_value_peek_pointer (param_values + 0); 786s # } 786s # else 786s # { 786s # data1 = g_value_peek_pointer (param_values + 0); 786s # data2 = closure->data; 786s # } 786s # 786s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (marshal_data ? marshal_data : cc->callback); 786s # 786s # v_return = 786s # callback (data1, 786s # g_marshal_value_peek_object (param_values + 1), 786s # data2); 786s # 786s # g_value_set_boolean (return_value, v_return); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ 786s # * Code for interface org.project.UsefulInterface 786s # * ------------------------------------------------------------------------ 786s # */ 786s # 786s # /** 786s # * SECTION:OrgProjectUsefulInterface 786s # * @title: OrgProjectUsefulInterface 786s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 786s # * 786s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 786s # */ 786s # 786s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 786s # 786s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 786s # { 786s # { 786s # -1, 786s # (gchar *) "arg_d", 786s # (gchar *) "d", 786s # NULL 786s # }, 786s # FALSE 786s # }; 786s # 786s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 786s # { 786s # { 786s # -1, 786s # (gchar *) "SingleArgMethodD", 786s # NULL, 786s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 786s # NULL 786s # }, 786s # "handle-single-arg-method-d", 786s # FALSE 786s # }; 786s # 786s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 786s # { 786s # { 786s # -1, 786s # (gchar *) "org.project.UsefulInterface", 786s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 786s # NULL, 786s # NULL, 786s # NULL 786s # }, 786s # "org-project-useful-interface", 786s # }; 786s # 786s # 786s # /** 786s # * org_project_useful_interface_interface_info: 786s # * 786s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 786s # * 786s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 786s # */ 786s # GDBusInterfaceInfo * 786s # org_project_useful_interface_interface_info (void) 786s # { 786s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_override_properties: 786s # * @klass: The class structure for a #GObject derived class. 786s # * @property_id_begin: The property id to assign to the first overridden property. 786s # * 786s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 786s # * The properties are overridden in the order they are defined. 786s # * 786s # * Returns: The last property id. 786s # */ 786s # guint 786s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 786s # { 786s # return property_id_begin - 1; 786s # } 786s # 786s # 786s # inline static void 786s # org_project_useful_interface_method_marshal_single_arg_method_d ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint, 786s # void *marshal_data) 786s # { 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 786s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 786s # } 786s # 786s # 786s # /** 786s # * OrgProjectUsefulInterface: 786s # * 786s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceIface: 786s # * @parent_iface: The parent interface. 786s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 786s # * 786s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 786s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 786s # 786s # static void 786s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 786s # { 786s # /* GObject signals for incoming D-Bus method calls: */ 786s # /** 786s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: A #GDBusMethodInvocation. 786s # * 786s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 786s # * 786s # * 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. 786s # * 786s # * 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. 786s # */ 786s # g_signal_new ("handle-single-arg-method-d", 786s # G_TYPE_FROM_INTERFACE (iface), 786s # G_SIGNAL_RUN_LAST, 786s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 786s # g_signal_accumulator_true_handled, 786s # NULL, 786s # org_project_useful_interface_method_marshal_single_arg_method_d, 786s # G_TYPE_BOOLEAN, 786s # 1, 786s # G_TYPE_DBUS_METHOD_INVOCATION); 786s # 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_d: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 786s # */ 786s # void 786s # org_project_useful_interface_call_single_arg_method_d ( 786s # OrgProjectUsefulInterface *proxy, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodD", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # callback, 786s # user_data); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_d_finish: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_d_finish ( 786s # OrgProjectUsefulInterface *proxy, 786s # gdouble *out_arg_d, 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(d)", 786s # out_arg_d); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_d_sync: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_d_sync ( 786s # OrgProjectUsefulInterface *proxy, 786s # gdouble *out_arg_d, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodD", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(d)", 786s # out_arg_d); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_complete_single_arg_method_d: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: (transfer full): A #GDBusMethodInvocation. 786s # * @arg_d: Parameter to return. 786s # * 786s # * 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. 786s # * 786s # * This method will free @invocation, you cannot use it afterwards. 786s # */ 786s # void 786s # org_project_useful_interface_complete_single_arg_method_d ( 786s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 786s # GDBusMethodInvocation *invocation, 786s # gdouble arg_d) 786s # { 786s # g_dbus_method_invocation_return_value (invocation, 786s # g_variant_new ("(d)", 786s # arg_d)); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxy: 786s # * 786s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxyClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceProxy. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceProxyPrivate 786s # { 786s # GData *qdata; 786s # }; 786s # 786s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_proxy_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 786s # g_datalist_clear (&proxy->priv->qdata); 786s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # const GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 786s # const gchar *sender_name G_GNUC_UNUSED, 786s # const gchar *signal_name, 786s # GVariant *parameters) 786s # { 786s # _ExtendedGDBusSignalInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # gsize n; 786s # guint signal_id; 786s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 786s # if (info == NULL) 786s # return; 786s # num_params = g_variant_n_children (parameters); 786s # paramv = g_new0 (GValue, num_params + 1); 786s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[0], proxy); 786s # g_variant_iter_init (&iter, parameters); 786s # n = 1; 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_signal_emitv (paramv, signal_id, 0, NULL); 786s # for (n = 0; n < num_params + 1; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 786s # GVariant *changed_properties, 786s # const gchar *const *invalidated_properties) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 786s # guint n; 786s # const gchar *key; 786s # GVariantIter *iter; 786s # _ExtendedGDBusPropertyInfo *info; 786s # g_variant_get (changed_properties, "a{sv}", &iter); 786s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 786s # g_datalist_remove_data (&proxy->priv->qdata, key); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # g_variant_iter_free (iter); 786s # for (n = 0; invalidated_properties[n] != NULL; n++) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 786s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 786s # #else 786s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 786s # #endif 786s # 786s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusProxyClass *proxy_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 786s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 786s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 786s # 786s # proxy_class = G_DBUS_PROXY_CLASS (klass); 786s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 786s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_sync: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_sync ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new_for_bus ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_sync: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_sync ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeleton: 786s # * 786s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeletonClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 786s # { 786s # GValue *properties; 786s # GList *changed_properties; 786s # GSource *changed_properties_idle_source; 786s # GMainContext *context; 786s # GMutex lock; 786s # }; 786s # 786s # static void 786s # _org_project_useful_interface_skeleton_handle_method_call ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name, 786s # const gchar *method_name, 786s # GVariant *parameters, 786s # GDBusMethodInvocation *invocation, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # _ExtendedGDBusMethodInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # guint num_extra; 786s # gsize n; 786s # guint signal_id; 786s # GValue return_value = G_VALUE_INIT; 786s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 786s # g_assert (info != NULL); 786s # num_params = g_variant_n_children (parameters); 786s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 786s # n = 0; 786s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[n++], skeleton); 786s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 786s # g_value_set_object (¶mv[n++], invocation); 786s # if (info->pass_fdlist) 786s # { 786s # #ifdef G_OS_UNIX 786s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 786s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 786s # #else 786s # g_assert_not_reached (); 786s # #endif 786s # } 786s # g_variant_iter_init (&iter, parameters); 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_init (&return_value, G_TYPE_BOOLEAN); 786s # g_signal_emitv (paramv, signal_id, 0, &return_value); 786s # if (!g_value_get_boolean (&return_value)) 786s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 786s # g_value_unset (&return_value); 786s # for (n = 0; n < num_params + num_extra; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static GVariant * 786s # _org_project_useful_interface_skeleton_handle_get_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # GVariant *ret; 786s # ret = NULL; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # g_value_init (&value, pspec->value_type); 786s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 786s # g_value_unset (&value); 786s # } 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _org_project_useful_interface_skeleton_handle_set_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GVariant *variant, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # gboolean ret; 786s # ret = FALSE; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # if (info->use_gvariant) 786s # g_value_set_variant (&value, variant); 786s # else 786s # g_dbus_gvariant_to_gvalue (variant, &value); 786s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # g_value_unset (&value); 786s # ret = TRUE; 786s # } 786s # return ret; 786s # } 786s # 786s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 786s # { 786s # _org_project_useful_interface_skeleton_handle_method_call, 786s # _org_project_useful_interface_skeleton_handle_get_property, 786s # _org_project_useful_interface_skeleton_handle_set_property, 786s # {NULL} 786s # }; 786s # 786s # static GDBusInterfaceInfo * 786s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return org_project_useful_interface_interface_info (); 786s # } 786s # 786s # static GDBusInterfaceVTable * 786s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 786s # } 786s # 786s # static GVariant * 786s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 786s # 786s # GVariantBuilder builder; 786s # guint n; 786s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 786s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 786s # goto out; 786s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 786s # { 786s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 786s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 786s # { 786s # GVariant *value; 786s # 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); 786s # if (value != NULL) 786s # { 786s # g_variant_take_ref (value); 786s # g_variant_builder_add (&builder, "{sv}", info->name, value); 786s # g_variant_unref (value); 786s # } 786s # } 786s # } 786s # out: 786s # return g_variant_builder_end (&builder); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_skeleton_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 786s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 786s # if (skeleton->priv->changed_properties_idle_source != NULL) 786s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 786s # g_main_context_unref (skeleton->priv->context); 786s # g_mutex_clear (&skeleton->priv->lock); 786s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 786s # #else 786s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 786s # #endif 786s # 786s # g_mutex_init (&skeleton->priv->lock); 786s # skeleton->priv->context = g_main_context_ref_thread_default (); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusInterfaceSkeletonClass *skeleton_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 786s # 786s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 786s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 786s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 786s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 786s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_skeleton_new: 786s # * 786s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_skeleton_new (void) 786s # { 786s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 786s # } 786s # /tmp/tmp8ukxq6_y/tmp7abdzxbf.xml: 786s # 786s # 786s # 786s # 786s # 786s # 786s # 786s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ukxq6_y/tmp7abdzxbf.xml', '--output', '-', '--body'] 786s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 786s # Output: /* 786s # * This file is generated by gdbus-codegen, do not modify it. 786s # * 786s # * The license of this code is the same as for the D-Bus interface description 786s # * it was derived from. Note that it links to GLib, so must comply with the 786s # * LGPL linking clauses. 786s # */ 786s # 786s # #ifdef HAVE_CONFIG_H 786s # # include "config.h" 786s # #endif 786s # 786s # #include 786s # #ifdef G_OS_UNIX 786s # # include 786s # #endif 786s # 786s # #ifdef G_ENABLE_DEBUG 786s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 786s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 786s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 786s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 786s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 786s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 786s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 786s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 786s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 786s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 786s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 786s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 786s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 786s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 786s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 786s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 786s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 786s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 786s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 786s # #else /* !G_ENABLE_DEBUG */ 786s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 786s # * Do not access GValues directly in your code. Instead, use the 786s # * g_value_get_*() functions 786s # */ 786s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 786s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 786s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 786s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 786s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 786s # #endif /* !G_ENABLE_DEBUG */ 786s # 786s # typedef struct 786s # { 786s # GDBusArgInfo parent_struct; 786s # gboolean use_gvariant; 786s # } _ExtendedGDBusArgInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusMethodInfo parent_struct; 786s # const gchar *signal_name; 786s # gboolean pass_fdlist; 786s # } _ExtendedGDBusMethodInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusSignalInfo parent_struct; 786s # const gchar *signal_name; 786s # } _ExtendedGDBusSignalInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusPropertyInfo parent_struct; 786s # const gchar *hyphen_name; 786s # guint use_gvariant : 1; 786s # guint emits_changed_signal : 1; 786s # } _ExtendedGDBusPropertyInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusInterfaceInfo parent_struct; 786s # const gchar *hyphen_name; 786s # } _ExtendedGDBusInterfaceInfo; 786s # 786s # typedef struct 786s # { 786s # const _ExtendedGDBusPropertyInfo *info; 786s # guint prop_id; 786s # GValue orig_value; /* the value before the change */ 786s # } ChangedProperty; 786s # 786s # static void 786s # _changed_property_free (ChangedProperty *data) 786s # { 786s # g_value_unset (&data->orig_value); 786s # g_free (data); 786s # } 786s # 786s # static gboolean 786s # _g_strv_equal0 (gchar **a, gchar **b) 786s # { 786s # gboolean ret = FALSE; 786s # guint n; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # if (g_strv_length (a) != g_strv_length (b)) 786s # goto out; 786s # for (n = 0; a[n] != NULL; n++) 786s # if (g_strcmp0 (a[n], b[n]) != 0) 786s # goto out; 786s # ret = TRUE; 786s # out: 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _g_variant_equal0 (GVariant *a, GVariant *b) 786s # { 786s # gboolean ret = FALSE; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # ret = g_variant_equal (a, b); 786s # out: 786s # return ret; 786s # } 786s # 786s # G_GNUC_UNUSED static gboolean 786s # _g_value_equal (const GValue *a, const GValue *b) 786s # { 786s # gboolean ret = FALSE; 786s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 786s # switch (G_VALUE_TYPE (a)) 786s # { 786s # case G_TYPE_BOOLEAN: 786s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 786s # break; 786s # case G_TYPE_UCHAR: 786s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 786s # break; 786s # case G_TYPE_INT: 786s # ret = (g_value_get_int (a) == g_value_get_int (b)); 786s # break; 786s # case G_TYPE_UINT: 786s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 786s # break; 786s # case G_TYPE_INT64: 786s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 786s # break; 786s # case G_TYPE_UINT64: 786s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 786s # break; 786s # case G_TYPE_DOUBLE: 786s # { 786s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 786s # gdouble da = g_value_get_double (a); 786s # gdouble db = g_value_get_double (b); 786s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 786s # } 786s # break; 786s # case G_TYPE_STRING: 786s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 786s # break; 786s # case G_TYPE_VARIANT: 786s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 786s # break; 786s # default: 786s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 786s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 786s # else 786s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 786s # break; 786s # } 786s # return ret; 786s # } 786s # 786s # static void 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint G_GNUC_UNUSED, 786s # void *marshal_data) 786s # { 786s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (void *data1, 786s # GDBusMethodInvocation *arg_method_invocation, 786s # void *data2); 786s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 786s # GCClosure *cc = (GCClosure*) closure; 786s # void *data1, *data2; 786s # gboolean v_return; 786s # 786s # g_return_if_fail (return_value != NULL); 786s # g_return_if_fail (n_param_values == 2); 786s # 786s # if (G_CCLOSURE_SWAP_DATA (closure)) 786s # { 786s # data1 = closure->data; 786s # data2 = g_value_peek_pointer (param_values + 0); 786s # } 786s # else 786s # { 786s # data1 = g_value_peek_pointer (param_values + 0); 786s # data2 = closure->data; 786s # } 786s # 786s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (marshal_data ? marshal_data : cc->callback); 786s # 786s # v_return = 786s # callback (data1, 786s # g_marshal_value_peek_object (param_values + 1), 786s # data2); 786s # 786s # g_value_set_boolean (return_value, v_return); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ 786s # * Code for interface org.project.UsefulInterface 786s # * ------------------------------------------------------------------------ 786s # */ 786s # 786s # /** 786s # * SECTION:OrgProjectUsefulInterface 786s # * @title: OrgProjectUsefulInterface 786s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 786s # * 786s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 786s # */ 786s # 786s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 786s # 786s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 786s # { 786s # { 786s # -1, 786s # (gchar *) "arg_s", 786s # (gchar *) "s", 786s # NULL 786s # }, 786s # FALSE 786s # }; 786s # 786s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 786s # { 786s # { 786s # -1, 786s # (gchar *) "SingleArgMethodS", 786s # NULL, 786s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 786s # NULL 786s # }, 786s # "handle-single-arg-method-s", 786s # FALSE 786s # }; 786s # 786s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 786s # { 786s # { 786s # -1, 786s # (gchar *) "org.project.UsefulInterface", 786s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 786s # NULL, 786s # NULL, 786s # NULL 786s # }, 786s # "org-project-useful-interface", 786s # }; 786s # 786s # 786s # /** 786s # * org_project_useful_interface_interface_info: 786s # * 786s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 786s # * 786s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 786s # */ 786s # GDBusInterfaceInfo * 786s # org_project_useful_interface_interface_info (void) 786s # { 786s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_override_properties: 786s # * @klass: The class structure for a #GObject derived class. 786s # * @property_id_begin: The property id to assign to the first overridden property. 786s # * 786s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 786s # * The properties are overridden in the order they are defined. 786s # * 786s # * Returns: The last property id. 786s # */ 786s # guint 786s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 786s # { 786s # return property_id_begin - 1; 786s # } 786s # 786s # 786s # inline static void 786s # org_project_useful_interface_method_marshal_single_arg_method_s ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint, 786s # void *marshal_data) 786s # { 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 786s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 786s # } 786s # 786s # 786s # /** 786s # * OrgProjectUsefulInterface: 786s # * 786s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceIface: 786s # * @parent_iface: The parent interface. 786s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 786s # * 786s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 786s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 786s # 786s # static void 786s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 786s # { 786s # /* GObject signals for incoming D-Bus method calls: */ 786s # /** 786s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: A #GDBusMethodInvocation. 786s # * 786s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 786s # * 786s # * 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. 786s # * 786s # * 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. 786s # */ 786s # g_signal_new ("handle-single-arg-method-s", 786s # G_TYPE_FROM_INTERFACE (iface), 786s # G_SIGNAL_RUN_LAST, 786s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 786s # g_signal_accumulator_true_handled, 786s # NULL, 786s # org_project_useful_interface_method_marshal_single_arg_method_s, 786s # G_TYPE_BOOLEAN, 786s # 1, 786s # G_TYPE_DBUS_METHOD_INVOCATION); 786s # 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_s: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 786s # */ 786s # void 786s # org_project_useful_interface_call_single_arg_method_s ( 786s # OrgProjectUsefulInterface *proxy, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodS", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # callback, 786s # user_data); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_s_finish: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_s_finish ( 786s # OrgProjectUsefulInterface *proxy, 786s # gchar **out_arg_s, 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(s)", 786s # out_arg_s); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_s_sync: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_s_sync ( 786s # OrgProjectUsefulInterface *proxy, 786s # gchar **out_arg_s, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodS", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(s)", 786s # out_arg_s); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_complete_single_arg_method_s: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: (transfer full): A #GDBusMethodInvocation. 786s # * @arg_s: Parameter to return. 786s # * 786s # * 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. 786s # * 786s # * This method will free @invocation, you cannot use it afterwards. 786s # */ 786s # void 786s # org_project_useful_interface_complete_single_arg_method_s ( 786s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 786s # GDBusMethodInvocation *invocation, 786s # const gchar *arg_s) 786s # { 786s # g_dbus_method_invocation_return_value (invocation, 786s # g_variant_new ("(s)", 786s # arg_s)); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxy: 786s # * 786s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxyClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceProxy. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceProxyPrivate 786s # { 786s # GData *qdata; 786s # }; 786s # 786s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_proxy_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 786s # g_datalist_clear (&proxy->priv->qdata); 786s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # const GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 786s # const gchar *sender_name G_GNUC_UNUSED, 786s # const gchar *signal_name, 786s # GVariant *parameters) 786s # { 786s # _ExtendedGDBusSignalInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # gsize n; 786s # guint signal_id; 786s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 786s # if (info == NULL) 786s # return; 786s # num_params = g_variant_n_children (parameters); 786s # paramv = g_new0 (GValue, num_params + 1); 786s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[0], proxy); 786s # g_variant_iter_init (&iter, parameters); 786s # n = 1; 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_signal_emitv (paramv, signal_id, 0, NULL); 786s # for (n = 0; n < num_params + 1; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 786s # GVariant *changed_properties, 786s # const gchar *const *invalidated_properties) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 786s # guint n; 786s # const gchar *key; 786s # GVariantIter *iter; 786s # _ExtendedGDBusPropertyInfo *info; 786s # g_variant_get (changed_properties, "a{sv}", &iter); 786s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 786s # g_datalist_remove_data (&proxy->priv->qdata, key); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # g_variant_iter_free (iter); 786s # for (n = 0; invalidated_properties[n] != NULL; n++) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 786s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 786s # #else 786s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 786s # #endif 786s # 786s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusProxyClass *proxy_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 786s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 786s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 786s # 786s # proxy_class = G_DBUS_PROXY_CLASS (klass); 786s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 786s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_sync: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_sync ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new_for_bus ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_sync: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_sync ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeleton: 786s # * 786s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeletonClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 786s # { 786s # GValue *properties; 786s # GList *changed_properties; 786s # GSource *changed_properties_idle_source; 786s # GMainContext *context; 786s # GMutex lock; 786s # }; 786s # 786s # static void 786s # _org_project_useful_interface_skeleton_handle_method_call ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name, 786s # const gchar *method_name, 786s # GVariant *parameters, 786s # GDBusMethodInvocation *invocation, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # _ExtendedGDBusMethodInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # guint num_extra; 786s # gsize n; 786s # guint signal_id; 786s # GValue return_value = G_VALUE_INIT; 786s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 786s # g_assert (info != NULL); 786s # num_params = g_variant_n_children (parameters); 786s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 786s # n = 0; 786s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[n++], skeleton); 786s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 786s # g_value_set_object (¶mv[n++], invocation); 786s # if (info->pass_fdlist) 786s # { 786s # #ifdef G_OS_UNIX 786s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 786s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 786s # #else 786s # g_assert_not_reached (); 786s # #endif 786s # } 786s # g_variant_iter_init (&iter, parameters); 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_init (&return_value, G_TYPE_BOOLEAN); 786s # g_signal_emitv (paramv, signal_id, 0, &return_value); 786s # if (!g_value_get_boolean (&return_value)) 786s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 786s # g_value_unset (&return_value); 786s # for (n = 0; n < num_params + num_extra; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static GVariant * 786s # _org_project_useful_interface_skeleton_handle_get_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # GVariant *ret; 786s # ret = NULL; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # g_value_init (&value, pspec->value_type); 786s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 786s # g_value_unset (&value); 786s # } 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _org_project_useful_interface_skeleton_handle_set_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GVariant *variant, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # gboolean ret; 786s # ret = FALSE; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # if (info->use_gvariant) 786s # g_value_set_variant (&value, variant); 786s # else 786s # g_dbus_gvariant_to_gvalue (variant, &value); 786s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # g_value_unset (&value); 786s # ret = TRUE; 786s # } 786s # return ret; 786s # } 786s # 786s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 786s # { 786s # _org_project_useful_interface_skeleton_handle_method_call, 786s # _org_project_useful_interface_skeleton_handle_get_property, 786s # _org_project_useful_interface_skeleton_handle_set_property, 786s # {NULL} 786s # }; 786s # 786s # static GDBusInterfaceInfo * 786s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return org_project_useful_interface_interface_info (); 786s # } 786s # 786s # static GDBusInterfaceVTable * 786s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 786s # } 786s # 786s # static GVariant * 786s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 786s # 786s # GVariantBuilder builder; 786s # guint n; 786s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 786s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 786s # goto out; 786s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 786s # { 786s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 786s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 786s # { 786s # GVariant *value; 786s # 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); 786s # if (value != NULL) 786s # { 786s # g_variant_take_ref (value); 786s # g_variant_builder_add (&builder, "{sv}", info->name, value); 786s # g_variant_unref (value); 786s # } 786s # } 786s # } 786s # out: 786s # return g_variant_builder_end (&builder); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_skeleton_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 786s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 786s # if (skeleton->priv->changed_properties_idle_source != NULL) 786s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 786s # g_main_context_unref (skeleton->priv->context); 786s # g_mutex_clear (&skeleton->priv->lock); 786s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 786s # #else 786s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 786s # #endif 786s # 786s # g_mutex_init (&skeleton->priv->lock); 786s # skeleton->priv->context = g_main_context_ref_thread_default (); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusInterfaceSkeletonClass *skeleton_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 786s # 786s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 786s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 786s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 786s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 786s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_skeleton_new: 786s # * 786s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_skeleton_new (void) 786s # { 786s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 786s # } 786s # /tmp/tmp8ukxq6_y/tmp1kwdjnmx.xml: 786s # 786s # 786s # 786s # 786s # 786s # 786s # 786s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ukxq6_y/tmp1kwdjnmx.xml', '--output', '-', '--body'] 786s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 786s # Output: /* 786s # * This file is generated by gdbus-codegen, do not modify it. 786s # * 786s # * The license of this code is the same as for the D-Bus interface description 786s # * it was derived from. Note that it links to GLib, so must comply with the 786s # * LGPL linking clauses. 786s # */ 786s # 786s # #ifdef HAVE_CONFIG_H 786s # # include "config.h" 786s # #endif 786s # 786s # #include 786s # #ifdef G_OS_UNIX 786s # # include 786s # #endif 786s # 786s # #ifdef G_ENABLE_DEBUG 786s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 786s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 786s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 786s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 786s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 786s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 786s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 786s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 786s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 786s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 786s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 786s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 786s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 786s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 786s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 786s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 786s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 786s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 786s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 786s # #else /* !G_ENABLE_DEBUG */ 786s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 786s # * Do not access GValues directly in your code. Instead, use the 786s # * g_value_get_*() functions 786s # */ 786s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 786s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 786s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 786s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 786s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 786s # #endif /* !G_ENABLE_DEBUG */ 786s # 786s # typedef struct 786s # { 786s # GDBusArgInfo parent_struct; 786s # gboolean use_gvariant; 786s # } _ExtendedGDBusArgInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusMethodInfo parent_struct; 786s # const gchar *signal_name; 786s # gboolean pass_fdlist; 786s # } _ExtendedGDBusMethodInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusSignalInfo parent_struct; 786s # const gchar *signal_name; 786s # } _ExtendedGDBusSignalInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusPropertyInfo parent_struct; 786s # const gchar *hyphen_name; 786s # guint use_gvariant : 1; 786s # guint emits_changed_signal : 1; 786s # } _ExtendedGDBusPropertyInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusInterfaceInfo parent_struct; 786s # const gchar *hyphen_name; 786s # } _ExtendedGDBusInterfaceInfo; 786s # 786s # typedef struct 786s # { 786s # const _ExtendedGDBusPropertyInfo *info; 786s # guint prop_id; 786s # GValue orig_value; /* the value before the change */ 786s # } ChangedProperty; 786s # 786s # static void 786s # _changed_property_free (ChangedProperty *data) 786s # { 786s # g_value_unset (&data->orig_value); 786s # g_free (data); 786s # } 786s # 786s # static gboolean 786s # _g_strv_equal0 (gchar **a, gchar **b) 786s # { 786s # gboolean ret = FALSE; 786s # guint n; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # if (g_strv_length (a) != g_strv_length (b)) 786s # goto out; 786s # for (n = 0; a[n] != NULL; n++) 786s # if (g_strcmp0 (a[n], b[n]) != 0) 786s # goto out; 786s # ret = TRUE; 786s # out: 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _g_variant_equal0 (GVariant *a, GVariant *b) 786s # { 786s # gboolean ret = FALSE; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # ret = g_variant_equal (a, b); 786s # out: 786s # return ret; 786s # } 786s # 786s # G_GNUC_UNUSED static gboolean 786s # _g_value_equal (const GValue *a, const GValue *b) 786s # { 786s # gboolean ret = FALSE; 786s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 786s # switch (G_VALUE_TYPE (a)) 786s # { 786s # case G_TYPE_BOOLEAN: 786s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 786s # break; 786s # case G_TYPE_UCHAR: 786s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 786s # break; 786s # case G_TYPE_INT: 786s # ret = (g_value_get_int (a) == g_value_get_int (b)); 786s # break; 786s # case G_TYPE_UINT: 786s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 786s # break; 786s # case G_TYPE_INT64: 786s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 786s # break; 786s # case G_TYPE_UINT64: 786s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 786s # break; 786s # case G_TYPE_DOUBLE: 786s # { 786s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 786s # gdouble da = g_value_get_double (a); 786s # gdouble db = g_value_get_double (b); 786s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 786s # } 786s # break; 786s # case G_TYPE_STRING: 786s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 786s # break; 786s # case G_TYPE_VARIANT: 786s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 786s # break; 786s # default: 786s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 786s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 786s # else 786s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 786s # break; 786s # } 786s # return ret; 786s # } 786s # 786s # static void 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint G_GNUC_UNUSED, 786s # void *marshal_data) 786s # { 786s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (void *data1, 786s # GDBusMethodInvocation *arg_method_invocation, 786s # void *data2); 786s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 786s # GCClosure *cc = (GCClosure*) closure; 786s # void *data1, *data2; 786s # gboolean v_return; 786s # 786s # g_return_if_fail (return_value != NULL); 786s # g_return_if_fail (n_param_values == 2); 786s # 786s # if (G_CCLOSURE_SWAP_DATA (closure)) 786s # { 786s # data1 = closure->data; 786s # data2 = g_value_peek_pointer (param_values + 0); 786s # } 786s # else 786s # { 786s # data1 = g_value_peek_pointer (param_values + 0); 786s # data2 = closure->data; 786s # } 786s # 786s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (marshal_data ? marshal_data : cc->callback); 786s # 786s # v_return = 786s # callback (data1, 786s # g_marshal_value_peek_object (param_values + 1), 786s # data2); 786s # 786s # g_value_set_boolean (return_value, v_return); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ 786s # * Code for interface org.project.UsefulInterface 786s # * ------------------------------------------------------------------------ 786s # */ 786s # 786s # /** 786s # * SECTION:OrgProjectUsefulInterface 786s # * @title: OrgProjectUsefulInterface 786s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 786s # * 786s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 786s # */ 786s # 786s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 786s # 786s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 786s # { 786s # { 786s # -1, 786s # (gchar *) "arg_o", 786s # (gchar *) "o", 786s # NULL 786s # }, 786s # FALSE 786s # }; 786s # 786s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 786s # { 786s # { 786s # -1, 786s # (gchar *) "SingleArgMethodO", 786s # NULL, 786s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 786s # NULL 786s # }, 786s # "handle-single-arg-method-o", 786s # FALSE 786s # }; 786s # 786s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 786s # { 786s # { 786s # -1, 786s # (gchar *) "org.project.UsefulInterface", 786s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 786s # NULL, 786s # NULL, 786s # NULL 786s # }, 786s # "org-project-useful-interface", 786s # }; 786s # 786s # 786s # /** 786s # * org_project_useful_interface_interface_info: 786s # * 786s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 786s # * 786s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 786s # */ 786s # GDBusInterfaceInfo * 786s # org_project_useful_interface_interface_info (void) 786s # { 786s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_override_properties: 786s # * @klass: The class structure for a #GObject derived class. 786s # * @property_id_begin: The property id to assign to the first overridden property. 786s # * 786s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 786s # * The properties are overridden in the order they are defined. 786s # * 786s # * Returns: The last property id. 786s # */ 786s # guint 786s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 786s # { 786s # return property_id_begin - 1; 786s # } 786s # 786s # 786s # inline static void 786s # org_project_useful_interface_method_marshal_single_arg_method_o ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint, 786s # void *marshal_data) 786s # { 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 786s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 786s # } 786s # 786s # 786s # /** 786s # * OrgProjectUsefulInterface: 786s # * 786s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceIface: 786s # * @parent_iface: The parent interface. 786s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 786s # * 786s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 786s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 786s # 786s # static void 786s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 786s # { 786s # /* GObject signals for incoming D-Bus method calls: */ 786s # /** 786s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: A #GDBusMethodInvocation. 786s # * 786s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 786s # * 786s # * 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. 786s # * 786s # * 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. 786s # */ 786s # g_signal_new ("handle-single-arg-method-o", 786s # G_TYPE_FROM_INTERFACE (iface), 786s # G_SIGNAL_RUN_LAST, 786s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 786s # g_signal_accumulator_true_handled, 786s # NULL, 786s # org_project_useful_interface_method_marshal_single_arg_method_o, 786s # G_TYPE_BOOLEAN, 786s # 1, 786s # G_TYPE_DBUS_METHOD_INVOCATION); 786s # 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_o: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 786s # */ 786s # void 786s # org_project_useful_interface_call_single_arg_method_o ( 786s # OrgProjectUsefulInterface *proxy, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodO", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # callback, 786s # user_data); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_o_finish: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_o_finish ( 786s # OrgProjectUsefulInterface *proxy, 786s # gchar **out_arg_o, 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(o)", 786s # out_arg_o); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_o_sync: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_o_sync ( 786s # OrgProjectUsefulInterface *proxy, 786s # gchar **out_arg_o, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodO", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(o)", 786s # out_arg_o); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_complete_single_arg_method_o: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: (transfer full): A #GDBusMethodInvocation. 786s # * @arg_o: Parameter to return. 786s # * 786s # * 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. 786s # * 786s # * This method will free @invocation, you cannot use it afterwards. 786s # */ 786s # void 786s # org_project_useful_interface_complete_single_arg_method_o ( 786s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 786s # GDBusMethodInvocation *invocation, 786s # const gchar *arg_o) 786s # { 786s # g_dbus_method_invocation_return_value (invocation, 786s # g_variant_new ("(o)", 786s # arg_o)); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxy: 786s # * 786s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxyClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceProxy. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceProxyPrivate 786s # { 786s # GData *qdata; 786s # }; 786s # 786s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_proxy_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 786s # g_datalist_clear (&proxy->priv->qdata); 786s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # const GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 786s # const gchar *sender_name G_GNUC_UNUSED, 786s # const gchar *signal_name, 786s # GVariant *parameters) 786s # { 786s # _ExtendedGDBusSignalInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # gsize n; 786s # guint signal_id; 786s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 786s # if (info == NULL) 786s # return; 786s # num_params = g_variant_n_children (parameters); 786s # paramv = g_new0 (GValue, num_params + 1); 786s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[0], proxy); 786s # g_variant_iter_init (&iter, parameters); 786s # n = 1; 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_signal_emitv (paramv, signal_id, 0, NULL); 786s # for (n = 0; n < num_params + 1; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 786s # GVariant *changed_properties, 786s # const gchar *const *invalidated_properties) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 786s # guint n; 786s # const gchar *key; 786s # GVariantIter *iter; 786s # _ExtendedGDBusPropertyInfo *info; 786s # g_variant_get (changed_properties, "a{sv}", &iter); 786s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 786s # g_datalist_remove_data (&proxy->priv->qdata, key); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # g_variant_iter_free (iter); 786s # for (n = 0; invalidated_properties[n] != NULL; n++) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 786s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 786s # #else 786s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 786s # #endif 786s # 786s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusProxyClass *proxy_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 786s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 786s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 786s # 786s # proxy_class = G_DBUS_PROXY_CLASS (klass); 786s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 786s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_sync: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_sync ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new_for_bus ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_sync: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_sync ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeleton: 786s # * 786s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeletonClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 786s # { 786s # GValue *properties; 786s # GList *changed_properties; 786s # GSource *changed_properties_idle_source; 786s # GMainContext *context; 786s # GMutex lock; 786s # }; 786s # 786s # static void 786s # _org_project_useful_interface_skeleton_handle_method_call ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name, 786s # const gchar *method_name, 786s # GVariant *parameters, 786s # GDBusMethodInvocation *invocation, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # _ExtendedGDBusMethodInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # guint num_extra; 786s # gsize n; 786s # guint signal_id; 786s # GValue return_value = G_VALUE_INIT; 786s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 786s # g_assert (info != NULL); 786s # num_params = g_variant_n_children (parameters); 786s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 786s # n = 0; 786s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[n++], skeleton); 786s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 786s # g_value_set_object (¶mv[n++], invocation); 786s # if (info->pass_fdlist) 786s # { 786s # #ifdef G_OS_UNIX 786s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 786s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 786s # #else 786s # g_assert_not_reached (); 786s # #endif 786s # } 786s # g_variant_iter_init (&iter, parameters); 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_init (&return_value, G_TYPE_BOOLEAN); 786s # g_signal_emitv (paramv, signal_id, 0, &return_value); 786s # if (!g_value_get_boolean (&return_value)) 786s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 786s # g_value_unset (&return_value); 786s # for (n = 0; n < num_params + num_extra; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static GVariant * 786s # _org_project_useful_interface_skeleton_handle_get_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # GVariant *ret; 786s # ret = NULL; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # g_value_init (&value, pspec->value_type); 786s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 786s # g_value_unset (&value); 786s # } 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _org_project_useful_interface_skeleton_handle_set_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GVariant *variant, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # gboolean ret; 786s # ret = FALSE; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # if (info->use_gvariant) 786s # g_value_set_variant (&value, variant); 786s # else 786s # g_dbus_gvariant_to_gvalue (variant, &value); 786s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # g_value_unset (&value); 786s # ret = TRUE; 786s # } 786s # return ret; 786s # } 786s # 786s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 786s # { 786s # _org_project_useful_interface_skeleton_handle_method_call, 786s # _org_project_useful_interface_skeleton_handle_get_property, 786s # _org_project_useful_interface_skeleton_handle_set_property, 786s # {NULL} 786s # }; 786s # 786s # static GDBusInterfaceInfo * 786s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return org_project_useful_interface_interface_info (); 786s # } 786s # 786s # static GDBusInterfaceVTable * 786s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 786s # } 786s # 786s # static GVariant * 786s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 786s # 786s # GVariantBuilder builder; 786s # guint n; 786s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 786s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 786s # goto out; 786s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 786s # { 786s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 786s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 786s # { 786s # GVariant *value; 786s # 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); 786s # if (value != NULL) 786s # { 786s # g_variant_take_ref (value); 786s # g_variant_builder_add (&builder, "{sv}", info->name, value); 786s # g_variant_unref (value); 786s # } 786s # } 786s # } 786s # out: 786s # return g_variant_builder_end (&builder); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_skeleton_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 786s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 786s # if (skeleton->priv->changed_properties_idle_source != NULL) 786s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 786s # g_main_context_unref (skeleton->priv->context); 786s # g_mutex_clear (&skeleton->priv->lock); 786s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 786s # #else 786s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 786s # #endif 786s # 786s # g_mutex_init (&skeleton->priv->lock); 786s # skeleton->priv->context = g_main_context_ref_thread_default (); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusInterfaceSkeletonClass *skeleton_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 786s # 786s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 786s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 786s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 786s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 786s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_skeleton_new: 786s # * 786s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_skeleton_new (void) 786s # { 786s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 786s # } 786s # /tmp/tmp8ukxq6_y/tmppmmft_rr.xml: 786s # 786s # 786s # 786s # 786s # 786s # 786s # 786s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ukxq6_y/tmppmmft_rr.xml', '--output', '-', '--body'] 786s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 786s # Output: /* 786s # * This file is generated by gdbus-codegen, do not modify it. 786s # * 786s # * The license of this code is the same as for the D-Bus interface description 786s # * it was derived from. Note that it links to GLib, so must comply with the 786s # * LGPL linking clauses. 786s # */ 786s # 786s # #ifdef HAVE_CONFIG_H 786s # # include "config.h" 786s # #endif 786s # 786s # #include 786s # #ifdef G_OS_UNIX 786s # # include 786s # #endif 786s # 786s # #ifdef G_ENABLE_DEBUG 786s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 786s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 786s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 786s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 786s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 786s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 786s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 786s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 786s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 786s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 786s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 786s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 786s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 786s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 786s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 786s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 786s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 786s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 786s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 786s # #else /* !G_ENABLE_DEBUG */ 786s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 786s # * Do not access GValues directly in your code. Instead, use the 786s # * g_value_get_*() functions 786s # */ 786s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 786s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 786s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 786s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 786s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 786s # #endif /* !G_ENABLE_DEBUG */ 786s # 786s # typedef struct 786s # { 786s # GDBusArgInfo parent_struct; 786s # gboolean use_gvariant; 786s # } _ExtendedGDBusArgInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusMethodInfo parent_struct; 786s # const gchar *signal_name; 786s # gboolean pass_fdlist; 786s # } _ExtendedGDBusMethodInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusSignalInfo parent_struct; 786s # const gchar *signal_name; 786s # } _ExtendedGDBusSignalInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusPropertyInfo parent_struct; 786s # const gchar *hyphen_name; 786s # guint use_gvariant : 1; 786s # guint emits_changed_signal : 1; 786s # } _ExtendedGDBusPropertyInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusInterfaceInfo parent_struct; 786s # const gchar *hyphen_name; 786s # } _ExtendedGDBusInterfaceInfo; 786s # 786s # typedef struct 786s # { 786s # const _ExtendedGDBusPropertyInfo *info; 786s # guint prop_id; 786s # GValue orig_value; /* the value before the change */ 786s # } ChangedProperty; 786s # 786s # static void 786s # _changed_property_free (ChangedProperty *data) 786s # { 786s # g_value_unset (&data->orig_value); 786s # g_free (data); 786s # } 786s # 786s # static gboolean 786s # _g_strv_equal0 (gchar **a, gchar **b) 786s # { 786s # gboolean ret = FALSE; 786s # guint n; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # if (g_strv_length (a) != g_strv_length (b)) 786s # goto out; 786s # for (n = 0; a[n] != NULL; n++) 786s # if (g_strcmp0 (a[n], b[n]) != 0) 786s # goto out; 786s # ret = TRUE; 786s # out: 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _g_variant_equal0 (GVariant *a, GVariant *b) 786s # { 786s # gboolean ret = FALSE; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # ret = g_variant_equal (a, b); 786s # out: 786s # return ret; 786s # } 786s # 786s # G_GNUC_UNUSED static gboolean 786s # _g_value_equal (const GValue *a, const GValue *b) 786s # { 786s # gboolean ret = FALSE; 786s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 786s # switch (G_VALUE_TYPE (a)) 786s # { 786s # case G_TYPE_BOOLEAN: 786s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 786s # break; 786s # case G_TYPE_UCHAR: 786s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 786s # break; 786s # case G_TYPE_INT: 786s # ret = (g_value_get_int (a) == g_value_get_int (b)); 786s # break; 786s # case G_TYPE_UINT: 786s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 786s # break; 786s # case G_TYPE_INT64: 786s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 786s # break; 786s # case G_TYPE_UINT64: 786s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 786s # break; 786s # case G_TYPE_DOUBLE: 786s # { 786s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 786s # gdouble da = g_value_get_double (a); 786s # gdouble db = g_value_get_double (b); 786s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 786s # } 786s # break; 786s # case G_TYPE_STRING: 786s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 786s # break; 786s # case G_TYPE_VARIANT: 786s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 786s # break; 786s # default: 786s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 786s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 786s # else 786s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 786s # break; 786s # } 786s # return ret; 786s # } 786s # 786s # static void 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint G_GNUC_UNUSED, 786s # void *marshal_data) 786s # { 786s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (void *data1, 786s # GDBusMethodInvocation *arg_method_invocation, 786s # void *data2); 786s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 786s # GCClosure *cc = (GCClosure*) closure; 786s # void *data1, *data2; 786s # gboolean v_return; 786s # 786s # g_return_if_fail (return_value != NULL); 786s # g_return_if_fail (n_param_values == 2); 786s # 786s # if (G_CCLOSURE_SWAP_DATA (closure)) 786s # { 786s # data1 = closure->data; 786s # data2 = g_value_peek_pointer (param_values + 0); 786s # } 786s # else 786s # { 786s # data1 = g_value_peek_pointer (param_values + 0); 786s # data2 = closure->data; 786s # } 786s # 786s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (marshal_data ? marshal_data : cc->callback); 786s # 786s # v_return = 786s # callback (data1, 786s # g_marshal_value_peek_object (param_values + 1), 786s # data2); 786s # 786s # g_value_set_boolean (return_value, v_return); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ 786s # * Code for interface org.project.UsefulInterface 786s # * ------------------------------------------------------------------------ 786s # */ 786s # 786s # /** 786s # * SECTION:OrgProjectUsefulInterface 786s # * @title: OrgProjectUsefulInterface 786s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 786s # * 786s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 786s # */ 786s # 786s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 786s # 786s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 786s # { 786s # { 786s # -1, 786s # (gchar *) "arg_g", 786s # (gchar *) "g", 786s # NULL 786s # }, 786s # FALSE 786s # }; 786s # 786s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 786s # { 786s # { 786s # -1, 786s # (gchar *) "SingleArgMethodG", 786s # NULL, 786s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 786s # NULL 786s # }, 786s # "handle-single-arg-method-g", 786s # FALSE 786s # }; 786s # 786s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 786s # { 786s # { 786s # -1, 786s # (gchar *) "org.project.UsefulInterface", 786s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 786s # NULL, 786s # NULL, 786s # NULL 786s # }, 786s # "org-project-useful-interface", 786s # }; 786s # 786s # 786s # /** 786s # * org_project_useful_interface_interface_info: 786s # * 786s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 786s # * 786s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 786s # */ 786s # GDBusInterfaceInfo * 786s # org_project_useful_interface_interface_info (void) 786s # { 786s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_override_properties: 786s # * @klass: The class structure for a #GObject derived class. 786s # * @property_id_begin: The property id to assign to the first overridden property. 786s # * 786s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 786s # * The properties are overridden in the order they are defined. 786s # * 786s # * Returns: The last property id. 786s # */ 786s # guint 786s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 786s # { 786s # return property_id_begin - 1; 786s # } 786s # 786s # 786s # inline static void 786s # org_project_useful_interface_method_marshal_single_arg_method_g ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint, 786s # void *marshal_data) 786s # { 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 786s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 786s # } 786s # 786s # 786s # /** 786s # * OrgProjectUsefulInterface: 786s # * 786s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceIface: 786s # * @parent_iface: The parent interface. 786s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 786s # * 786s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 786s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 786s # 786s # static void 786s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 786s # { 786s # /* GObject signals for incoming D-Bus method calls: */ 786s # /** 786s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: A #GDBusMethodInvocation. 786s # * 786s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 786s # * 786s # * 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. 786s # * 786s # * 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. 786s # */ 786s # g_signal_new ("handle-single-arg-method-g", 786s # G_TYPE_FROM_INTERFACE (iface), 786s # G_SIGNAL_RUN_LAST, 786s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 786s # g_signal_accumulator_true_handled, 786s # NULL, 786s # org_project_useful_interface_method_marshal_single_arg_method_g, 786s # G_TYPE_BOOLEAN, 786s # 1, 786s # G_TYPE_DBUS_METHOD_INVOCATION); 786s # 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_g: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 786s # */ 786s # void 786s # org_project_useful_interface_call_single_arg_method_g ( 786s # OrgProjectUsefulInterface *proxy, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodG", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # callback, 786s # user_data); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_g_finish: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_g_finish ( 786s # OrgProjectUsefulInterface *proxy, 786s # gchar **out_arg_g, 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(g)", 786s # out_arg_g); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_g_sync: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_g_sync ( 786s # OrgProjectUsefulInterface *proxy, 786s # gchar **out_arg_g, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodG", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(g)", 786s # out_arg_g); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_complete_single_arg_method_g: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: (transfer full): A #GDBusMethodInvocation. 786s # * @arg_g: Parameter to return. 786s # * 786s # * 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. 786s # * 786s # * This method will free @invocation, you cannot use it afterwards. 786s # */ 786s # void 786s # org_project_useful_interface_complete_single_arg_method_g ( 786s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 786s # GDBusMethodInvocation *invocation, 786s # const gchar *arg_g) 786s # { 786s # g_dbus_method_invocation_return_value (invocation, 786s # g_variant_new ("(g)", 786s # arg_g)); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxy: 786s # * 786s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxyClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceProxy. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceProxyPrivate 786s # { 786s # GData *qdata; 786s # }; 786s # 786s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_proxy_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 786s # g_datalist_clear (&proxy->priv->qdata); 786s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # const GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 786s # const gchar *sender_name G_GNUC_UNUSED, 786s # const gchar *signal_name, 786s # GVariant *parameters) 786s # { 786s # _ExtendedGDBusSignalInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # gsize n; 786s # guint signal_id; 786s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 786s # if (info == NULL) 786s # return; 786s # num_params = g_variant_n_children (parameters); 786s # paramv = g_new0 (GValue, num_params + 1); 786s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[0], proxy); 786s # g_variant_iter_init (&iter, parameters); 786s # n = 1; 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_signal_emitv (paramv, signal_id, 0, NULL); 786s # for (n = 0; n < num_params + 1; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 786s # GVariant *changed_properties, 786s # const gchar *const *invalidated_properties) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 786s # guint n; 786s # const gchar *key; 786s # GVariantIter *iter; 786s # _ExtendedGDBusPropertyInfo *info; 786s # g_variant_get (changed_properties, "a{sv}", &iter); 786s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 786s # g_datalist_remove_data (&proxy->priv->qdata, key); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # g_variant_iter_free (iter); 786s # for (n = 0; invalidated_properties[n] != NULL; n++) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 786s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 786s # #else 786s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 786s # #endif 786s # 786s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusProxyClass *proxy_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 786s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 786s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 786s # 786s # proxy_class = G_DBUS_PROXY_CLASS (klass); 786s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 786s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_sync: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_sync ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new_for_bus ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_sync: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_sync ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeleton: 786s # * 786s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeletonClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 786s # { 786s # GValue *properties; 786s # GList *changed_properties; 786s # GSource *changed_properties_idle_source; 786s # GMainContext *context; 786s # GMutex lock; 786s # }; 786s # 786s # static void 786s # _org_project_useful_interface_skeleton_handle_method_call ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name, 786s # const gchar *method_name, 786s # GVariant *parameters, 786s # GDBusMethodInvocation *invocation, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # _ExtendedGDBusMethodInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # guint num_extra; 786s # gsize n; 786s # guint signal_id; 786s # GValue return_value = G_VALUE_INIT; 786s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 786s # g_assert (info != NULL); 786s # num_params = g_variant_n_children (parameters); 786s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 786s # n = 0; 786s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[n++], skeleton); 786s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 786s # g_value_set_object (¶mv[n++], invocation); 786s # if (info->pass_fdlist) 786s # { 786s # #ifdef G_OS_UNIX 786s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 786s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 786s # #else 786s # g_assert_not_reached (); 786s # #endif 786s # } 786s # g_variant_iter_init (&iter, parameters); 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_init (&return_value, G_TYPE_BOOLEAN); 786s # g_signal_emitv (paramv, signal_id, 0, &return_value); 786s # if (!g_value_get_boolean (&return_value)) 786s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 786s # g_value_unset (&return_value); 786s # for (n = 0; n < num_params + num_extra; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static GVariant * 786s # _org_project_useful_interface_skeleton_handle_get_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # GVariant *ret; 786s # ret = NULL; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # g_value_init (&value, pspec->value_type); 786s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 786s # g_value_unset (&value); 786s # } 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _org_project_useful_interface_skeleton_handle_set_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GVariant *variant, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # gboolean ret; 786s # ret = FALSE; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # if (info->use_gvariant) 786s # g_value_set_variant (&value, variant); 786s # else 786s # g_dbus_gvariant_to_gvalue (variant, &value); 786s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # g_value_unset (&value); 786s # ret = TRUE; 786s # } 786s # return ret; 786s # } 786s # 786s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 786s # { 786s # _org_project_useful_interface_skeleton_handle_method_call, 786s # _org_project_useful_interface_skeleton_handle_get_property, 786s # _org_project_useful_interface_skeleton_handle_set_property, 786s # {NULL} 786s # }; 786s # 786s # static GDBusInterfaceInfo * 786s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return org_project_useful_interface_interface_info (); 786s # } 786s # 786s # static GDBusInterfaceVTable * 786s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 786s # } 786s # 786s # static GVariant * 786s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 786s # 786s # GVariantBuilder builder; 786s # guint n; 786s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 786s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 786s # goto out; 786s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 786s # { 786s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 786s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 786s # { 786s # GVariant *value; 786s # 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); 786s # if (value != NULL) 786s # { 786s # g_variant_take_ref (value); 786s # g_variant_builder_add (&builder, "{sv}", info->name, value); 786s # g_variant_unref (value); 786s # } 786s # } 786s # } 786s # out: 786s # return g_variant_builder_end (&builder); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_skeleton_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 786s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 786s # if (skeleton->priv->changed_properties_idle_source != NULL) 786s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 786s # g_main_context_unref (skeleton->priv->context); 786s # g_mutex_clear (&skeleton->priv->lock); 786s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 786s # #else 786s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 786s # #endif 786s # 786s # g_mutex_init (&skeleton->priv->lock); 786s # skeleton->priv->context = g_main_context_ref_thread_default (); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusInterfaceSkeletonClass *skeleton_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 786s # 786s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 786s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 786s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 786s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 786s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_skeleton_new: 786s # * 786s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_skeleton_new (void) 786s # { 786s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 786s # } 786s # /tmp/tmp8ukxq6_y/tmpzok67omn.xml: 786s # 786s # 786s # 786s # 786s # 786s # 786s # 786s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ukxq6_y/tmpzok67omn.xml', '--output', '-', '--body'] 786s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 786s # Output: /* 786s # * This file is generated by gdbus-codegen, do not modify it. 786s # * 786s # * The license of this code is the same as for the D-Bus interface description 786s # * it was derived from. Note that it links to GLib, so must comply with the 786s # * LGPL linking clauses. 786s # */ 786s # 786s # #ifdef HAVE_CONFIG_H 786s # # include "config.h" 786s # #endif 786s # 786s # #include 786s # #ifdef G_OS_UNIX 786s # # include 786s # #endif 786s # 786s # #ifdef G_ENABLE_DEBUG 786s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 786s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 786s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 786s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 786s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 786s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 786s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 786s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 786s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 786s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 786s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 786s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 786s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 786s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 786s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 786s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 786s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 786s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 786s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 786s # #else /* !G_ENABLE_DEBUG */ 786s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 786s # * Do not access GValues directly in your code. Instead, use the 786s # * g_value_get_*() functions 786s # */ 786s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 786s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 786s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 786s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 786s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 786s # #endif /* !G_ENABLE_DEBUG */ 786s # 786s # typedef struct 786s # { 786s # GDBusArgInfo parent_struct; 786s # gboolean use_gvariant; 786s # } _ExtendedGDBusArgInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusMethodInfo parent_struct; 786s # const gchar *signal_name; 786s # gboolean pass_fdlist; 786s # } _ExtendedGDBusMethodInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusSignalInfo parent_struct; 786s # const gchar *signal_name; 786s # } _ExtendedGDBusSignalInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusPropertyInfo parent_struct; 786s # const gchar *hyphen_name; 786s # guint use_gvariant : 1; 786s # guint emits_changed_signal : 1; 786s # } _ExtendedGDBusPropertyInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusInterfaceInfo parent_struct; 786s # const gchar *hyphen_name; 786s # } _ExtendedGDBusInterfaceInfo; 786s # 786s # typedef struct 786s # { 786s # const _ExtendedGDBusPropertyInfo *info; 786s # guint prop_id; 786s # GValue orig_value; /* the value before the change */ 786s # } ChangedProperty; 786s # 786s # static void 786s # _changed_property_free (ChangedProperty *data) 786s # { 786s # g_value_unset (&data->orig_value); 786s # g_free (data); 786s # } 786s # 786s # static gboolean 786s # _g_strv_equal0 (gchar **a, gchar **b) 786s # { 786s # gboolean ret = FALSE; 786s # guint n; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # if (g_strv_length (a) != g_strv_length (b)) 786s # goto out; 786s # for (n = 0; a[n] != NULL; n++) 786s # if (g_strcmp0 (a[n], b[n]) != 0) 786s # goto out; 786s # ret = TRUE; 786s # out: 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _g_variant_equal0 (GVariant *a, GVariant *b) 786s # { 786s # gboolean ret = FALSE; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # ret = g_variant_equal (a, b); 786s # out: 786s # return ret; 786s # } 786s # 786s # G_GNUC_UNUSED static gboolean 786s # _g_value_equal (const GValue *a, const GValue *b) 786s # { 786s # gboolean ret = FALSE; 786s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 786s # switch (G_VALUE_TYPE (a)) 786s # { 786s # case G_TYPE_BOOLEAN: 786s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 786s # break; 786s # case G_TYPE_UCHAR: 786s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 786s # break; 786s # case G_TYPE_INT: 786s # ret = (g_value_get_int (a) == g_value_get_int (b)); 786s # break; 786s # case G_TYPE_UINT: 786s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 786s # break; 786s # case G_TYPE_INT64: 786s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 786s # break; 786s # case G_TYPE_UINT64: 786s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 786s # break; 786s # case G_TYPE_DOUBLE: 786s # { 786s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 786s # gdouble da = g_value_get_double (a); 786s # gdouble db = g_value_get_double (b); 786s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 786s # } 786s # break; 786s # case G_TYPE_STRING: 786s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 786s # break; 786s # case G_TYPE_VARIANT: 786s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 786s # break; 786s # default: 786s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 786s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 786s # else 786s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 786s # break; 786s # } 786s # return ret; 786s # } 786s # 786s # static void 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint G_GNUC_UNUSED, 786s # void *marshal_data) 786s # { 786s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (void *data1, 786s # GDBusMethodInvocation *arg_method_invocation, 786s # void *data2); 786s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 786s # GCClosure *cc = (GCClosure*) closure; 786s # void *data1, *data2; 786s # gboolean v_return; 786s # 786s # g_return_if_fail (return_value != NULL); 786s # g_return_if_fail (n_param_values == 2); 786s # 786s # if (G_CCLOSURE_SWAP_DATA (closure)) 786s # { 786s # data1 = closure->data; 786s # data2 = g_value_peek_pointer (param_values + 0); 786s # } 786s # else 786s # { 786s # data1 = g_value_peek_pointer (param_values + 0); 786s # data2 = closure->data; 786s # } 786s # 786s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (marshal_data ? marshal_data : cc->callback); 786s # 786s # v_return = 786s # callback (data1, 786s # g_marshal_value_peek_object (param_values + 1), 786s # data2); 786s # 786s # g_value_set_boolean (return_value, v_return); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ 786s # * Code for interface org.project.UsefulInterface 786s # * ------------------------------------------------------------------------ 786s # */ 786s # 786s # /** 786s # * SECTION:OrgProjectUsefulInterface 786s # * @title: OrgProjectUsefulInterface 786s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 786s # * 786s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 786s # */ 786s # 786s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 786s # 786s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 786s # { 786s # { 786s # -1, 786s # (gchar *) "arg_h", 786s # (gchar *) "h", 786s # NULL 786s # }, 786s # FALSE 786s # }; 786s # 786s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 786s # { 786s # { 786s # -1, 786s # (gchar *) "SingleArgMethodH", 786s # NULL, 786s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 786s # NULL 786s # }, 786s # "handle-single-arg-method-h", 786s # FALSE 786s # }; 786s # 786s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 786s # { 786s # { 786s # -1, 786s # (gchar *) "org.project.UsefulInterface", 786s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 786s # NULL, 786s # NULL, 786s # NULL 786s # }, 786s # "org-project-useful-interface", 786s # }; 786s # 786s # 786s # /** 786s # * org_project_useful_interface_interface_info: 786s # * 786s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 786s # * 786s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 786s # */ 786s # GDBusInterfaceInfo * 786s # org_project_useful_interface_interface_info (void) 786s # { 786s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_override_properties: 786s # * @klass: The class structure for a #GObject derived class. 786s # * @property_id_begin: The property id to assign to the first overridden property. 786s # * 786s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 786s # * The properties are overridden in the order they are defined. 786s # * 786s # * Returns: The last property id. 786s # */ 786s # guint 786s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 786s # { 786s # return property_id_begin - 1; 786s # } 786s # 786s # 786s # inline static void 786s # org_project_useful_interface_method_marshal_single_arg_method_h ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint, 786s # void *marshal_data) 786s # { 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 786s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 786s # } 786s # 786s # 786s # /** 786s # * OrgProjectUsefulInterface: 786s # * 786s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceIface: 786s # * @parent_iface: The parent interface. 786s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 786s # * 786s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 786s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 786s # 786s # static void 786s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 786s # { 786s # /* GObject signals for incoming D-Bus method calls: */ 786s # /** 786s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: A #GDBusMethodInvocation. 786s # * 786s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 786s # * 786s # * 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. 786s # * 786s # * 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. 786s # */ 786s # g_signal_new ("handle-single-arg-method-h", 786s # G_TYPE_FROM_INTERFACE (iface), 786s # G_SIGNAL_RUN_LAST, 786s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 786s # g_signal_accumulator_true_handled, 786s # NULL, 786s # org_project_useful_interface_method_marshal_single_arg_method_h, 786s # G_TYPE_BOOLEAN, 786s # 1, 786s # G_TYPE_DBUS_METHOD_INVOCATION); 786s # 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_h: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 786s # */ 786s # void 786s # org_project_useful_interface_call_single_arg_method_h ( 786s # OrgProjectUsefulInterface *proxy, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodH", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # callback, 786s # user_data); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_h_finish: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_h_finish ( 786s # OrgProjectUsefulInterface *proxy, 786s # GVariant **out_arg_h, 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(@h)", 786s # out_arg_h); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_h_sync: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_h_sync ( 786s # OrgProjectUsefulInterface *proxy, 786s # GVariant **out_arg_h, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodH", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(@h)", 786s # out_arg_h); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_complete_single_arg_method_h: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: (transfer full): A #GDBusMethodInvocation. 786s # * @arg_h: Parameter to return. 786s # * 786s # * 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. 786s # * 786s # * This method will free @invocation, you cannot use it afterwards. 786s # */ 786s # void 786s # org_project_useful_interface_complete_single_arg_method_h ( 786s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 786s # GDBusMethodInvocation *invocation, 786s # GVariant *arg_h) 786s # { 786s # g_dbus_method_invocation_return_value (invocation, 786s # g_variant_new ("(@h)", 786s # arg_h)); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxy: 786s # * 786s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxyClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceProxy. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceProxyPrivate 786s # { 786s # GData *qdata; 786s # }; 786s # 786s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_proxy_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 786s # g_datalist_clear (&proxy->priv->qdata); 786s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # const GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 786s # const gchar *sender_name G_GNUC_UNUSED, 786s # const gchar *signal_name, 786s # GVariant *parameters) 786s # { 786s # _ExtendedGDBusSignalInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # gsize n; 786s # guint signal_id; 786s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 786s # if (info == NULL) 786s # return; 786s # num_params = g_variant_n_children (parameters); 786s # paramv = g_new0 (GValue, num_params + 1); 786s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[0], proxy); 786s # g_variant_iter_init (&iter, parameters); 786s # n = 1; 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_signal_emitv (paramv, signal_id, 0, NULL); 786s # for (n = 0; n < num_params + 1; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 786s # GVariant *changed_properties, 786s # const gchar *const *invalidated_properties) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 786s # guint n; 786s # const gchar *key; 786s # GVariantIter *iter; 786s # _ExtendedGDBusPropertyInfo *info; 786s # g_variant_get (changed_properties, "a{sv}", &iter); 786s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 786s # g_datalist_remove_data (&proxy->priv->qdata, key); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # g_variant_iter_free (iter); 786s # for (n = 0; invalidated_properties[n] != NULL; n++) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 786s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 786s # #else 786s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 786s # #endif 786s # 786s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusProxyClass *proxy_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 786s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 786s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 786s # 786s # proxy_class = G_DBUS_PROXY_CLASS (klass); 786s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 786s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_sync: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_sync ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new_for_bus ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_sync: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_sync ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeleton: 786s # * 786s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeletonClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 786s # { 786s # GValue *properties; 786s # GList *changed_properties; 786s # GSource *changed_properties_idle_source; 786s # GMainContext *context; 786s # GMutex lock; 786s # }; 786s # 786s # static void 786s # _org_project_useful_interface_skeleton_handle_method_call ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name, 786s # const gchar *method_name, 786s # GVariant *parameters, 786s # GDBusMethodInvocation *invocation, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # _ExtendedGDBusMethodInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # guint num_extra; 786s # gsize n; 786s # guint signal_id; 786s # GValue return_value = G_VALUE_INIT; 786s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 786s # g_assert (info != NULL); 786s # num_params = g_variant_n_children (parameters); 786s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 786s # n = 0; 786s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[n++], skeleton); 786s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 786s # g_value_set_object (¶mv[n++], invocation); 786s # if (info->pass_fdlist) 786s # { 786s # #ifdef G_OS_UNIX 786s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 786s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 786s # #else 786s # g_assert_not_reached (); 786s # #endif 786s # } 786s # g_variant_iter_init (&iter, parameters); 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_init (&return_value, G_TYPE_BOOLEAN); 786s # g_signal_emitv (paramv, signal_id, 0, &return_value); 786s # if (!g_value_get_boolean (&return_value)) 786s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 786s # g_value_unset (&return_value); 786s # for (n = 0; n < num_params + num_extra; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static GVariant * 786s # _org_project_useful_interface_skeleton_handle_get_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # GVariant *ret; 786s # ret = NULL; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # g_value_init (&value, pspec->value_type); 786s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 786s # g_value_unset (&value); 786s # } 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _org_project_useful_interface_skeleton_handle_set_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GVariant *variant, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # gboolean ret; 786s # ret = FALSE; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # if (info->use_gvariant) 786s # g_value_set_variant (&value, variant); 786s # else 786s # g_dbus_gvariant_to_gvalue (variant, &value); 786s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # g_value_unset (&value); 786s # ret = TRUE; 786s # } 786s # return ret; 786s # } 786s # 786s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 786s # { 786s # _org_project_useful_interface_skeleton_handle_method_call, 786s # _org_project_useful_interface_skeleton_handle_get_property, 786s # _org_project_useful_interface_skeleton_handle_set_property, 786s # {NULL} 786s # }; 786s # 786s # static GDBusInterfaceInfo * 786s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return org_project_useful_interface_interface_info (); 786s # } 786s # 786s # static GDBusInterfaceVTable * 786s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 786s # } 786s # 786s # static GVariant * 786s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 786s # 786s # GVariantBuilder builder; 786s # guint n; 786s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 786s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 786s # goto out; 786s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 786s # { 786s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 786s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 786s # { 786s # GVariant *value; 786s # 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); 786s # if (value != NULL) 786s # { 786s # g_variant_take_ref (value); 786s # g_variant_builder_add (&builder, "{sv}", info->name, value); 786s # g_variant_unref (value); 786s # } 786s # } 786s # } 786s # out: 786s # return g_variant_builder_end (&builder); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_skeleton_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 786s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 786s # if (skeleton->priv->changed_properties_idle_source != NULL) 786s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 786s # g_main_context_unref (skeleton->priv->context); 786s # g_mutex_clear (&skeleton->priv->lock); 786s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 786s # #else 786s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 786s # #endif 786s # 786s # g_mutex_init (&skeleton->priv->lock); 786s # skeleton->priv->context = g_main_context_ref_thread_default (); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusInterfaceSkeletonClass *skeleton_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 786s # 786s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 786s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 786s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 786s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 786s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_skeleton_new: 786s # * 786s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_skeleton_new (void) 786s # { 786s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 786s # } 786s # /tmp/tmp8ukxq6_y/tmppy1_7ks7.xml: 786s # 786s # 786s # 786s # 786s # 786s # 786s # 786s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ukxq6_y/tmppy1_7ks7.xml', '--output', '-', '--body'] 786s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 786s # Output: /* 786s # * This file is generated by gdbus-codegen, do not modify it. 786s # * 786s # * The license of this code is the same as for the D-Bus interface description 786s # * it was derived from. Note that it links to GLib, so must comply with the 786s # * LGPL linking clauses. 786s # */ 786s # 786s # #ifdef HAVE_CONFIG_H 786s # # include "config.h" 786s # #endif 786s # 786s # #include 786s # #ifdef G_OS_UNIX 786s # # include 786s # #endif 786s # 786s # #ifdef G_ENABLE_DEBUG 786s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 786s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 786s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 786s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 786s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 786s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 786s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 786s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 786s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 786s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 786s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 786s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 786s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 786s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 786s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 786s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 786s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 786s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 786s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 786s # #else /* !G_ENABLE_DEBUG */ 786s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 786s # * Do not access GValues directly in your code. Instead, use the 786s # * g_value_get_*() functions 786s # */ 786s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 786s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 786s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 786s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 786s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 786s # #endif /* !G_ENABLE_DEBUG */ 786s # 786s # typedef struct 786s # { 786s # GDBusArgInfo parent_struct; 786s # gboolean use_gvariant; 786s # } _ExtendedGDBusArgInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusMethodInfo parent_struct; 786s # const gchar *signal_name; 786s # gboolean pass_fdlist; 786s # } _ExtendedGDBusMethodInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusSignalInfo parent_struct; 786s # const gchar *signal_name; 786s # } _ExtendedGDBusSignalInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusPropertyInfo parent_struct; 786s # const gchar *hyphen_name; 786s # guint use_gvariant : 1; 786s # guint emits_changed_signal : 1; 786s # } _ExtendedGDBusPropertyInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusInterfaceInfo parent_struct; 786s # const gchar *hyphen_name; 786s # } _ExtendedGDBusInterfaceInfo; 786s # 786s # typedef struct 786s # { 786s # const _ExtendedGDBusPropertyInfo *info; 786s # guint prop_id; 786s # GValue orig_value; /* the value before the change */ 786s # } ChangedProperty; 786s # 786s # static void 786s # _changed_property_free (ChangedProperty *data) 786s # { 786s # g_value_unset (&data->orig_value); 786s # g_free (data); 786s # } 786s # 786s # static gboolean 786s # _g_strv_equal0 (gchar **a, gchar **b) 786s # { 786s # gboolean ret = FALSE; 786s # guint n; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # if (g_strv_length (a) != g_strv_length (b)) 786s # goto out; 786s # for (n = 0; a[n] != NULL; n++) 786s # if (g_strcmp0 (a[n], b[n]) != 0) 786s # goto out; 786s # ret = TRUE; 786s # out: 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _g_variant_equal0 (GVariant *a, GVariant *b) 786s # { 786s # gboolean ret = FALSE; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # ret = g_variant_equal (a, b); 786s # out: 786s # return ret; 786s # } 786s # 786s # G_GNUC_UNUSED static gboolean 786s # _g_value_equal (const GValue *a, const GValue *b) 786s # { 786s # gboolean ret = FALSE; 786s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 786s # switch (G_VALUE_TYPE (a)) 786s # { 786s # case G_TYPE_BOOLEAN: 786s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 786s # break; 786s # case G_TYPE_UCHAR: 786s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 786s # break; 786s # case G_TYPE_INT: 786s # ret = (g_value_get_int (a) == g_value_get_int (b)); 786s # break; 786s # case G_TYPE_UINT: 786s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 786s # break; 786s # case G_TYPE_INT64: 786s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 786s # break; 786s # case G_TYPE_UINT64: 786s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 786s # break; 786s # case G_TYPE_DOUBLE: 786s # { 786s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 786s # gdouble da = g_value_get_double (a); 786s # gdouble db = g_value_get_double (b); 786s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 786s # } 786s # break; 786s # case G_TYPE_STRING: 786s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 786s # break; 786s # case G_TYPE_VARIANT: 786s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 786s # break; 786s # default: 786s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 786s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 786s # else 786s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 786s # break; 786s # } 786s # return ret; 786s # } 786s # 786s # static void 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint G_GNUC_UNUSED, 786s # void *marshal_data) 786s # { 786s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (void *data1, 786s # GDBusMethodInvocation *arg_method_invocation, 786s # void *data2); 786s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 786s # GCClosure *cc = (GCClosure*) closure; 786s # void *data1, *data2; 786s # gboolean v_return; 786s # 786s # g_return_if_fail (return_value != NULL); 786s # g_return_if_fail (n_param_values == 2); 786s # 786s # if (G_CCLOSURE_SWAP_DATA (closure)) 786s # { 786s # data1 = closure->data; 786s # data2 = g_value_peek_pointer (param_values + 0); 786s # } 786s # else 786s # { 786s # data1 = g_value_peek_pointer (param_values + 0); 786s # data2 = closure->data; 786s # } 786s # 786s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (marshal_data ? marshal_data : cc->callback); 786s # 786s # v_return = 786s # callback (data1, 786s # g_marshal_value_peek_object (param_values + 1), 786s # data2); 786s # 786s # g_value_set_boolean (return_value, v_return); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ 786s # * Code for interface org.project.UsefulInterface 786s # * ------------------------------------------------------------------------ 786s # */ 786s # 786s # /** 786s # * SECTION:OrgProjectUsefulInterface 786s # * @title: OrgProjectUsefulInterface 786s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 786s # * 786s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 786s # */ 786s # 786s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 786s # 786s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 786s # { 786s # { 786s # -1, 786s # (gchar *) "arg_ay", 786s # (gchar *) "ay", 786s # NULL 786s # }, 786s # FALSE 786s # }; 786s # 786s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 786s # { 786s # { 786s # -1, 786s # (gchar *) "SingleArgMethodAy", 786s # NULL, 786s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 786s # NULL 786s # }, 786s # "handle-single-arg-method-ay", 786s # FALSE 786s # }; 786s # 786s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 786s # { 786s # { 786s # -1, 786s # (gchar *) "org.project.UsefulInterface", 786s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 786s # NULL, 786s # NULL, 786s # NULL 786s # }, 786s # "org-project-useful-interface", 786s # }; 786s # 786s # 786s # /** 786s # * org_project_useful_interface_interface_info: 786s # * 786s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 786s # * 786s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 786s # */ 786s # GDBusInterfaceInfo * 786s # org_project_useful_interface_interface_info (void) 786s # { 786s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_override_properties: 786s # * @klass: The class structure for a #GObject derived class. 786s # * @property_id_begin: The property id to assign to the first overridden property. 786s # * 786s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 786s # * The properties are overridden in the order they are defined. 786s # * 786s # * Returns: The last property id. 786s # */ 786s # guint 786s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 786s # { 786s # return property_id_begin - 1; 786s # } 786s # 786s # 786s # inline static void 786s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint, 786s # void *marshal_data) 786s # { 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 786s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 786s # } 786s # 786s # 786s # /** 786s # * OrgProjectUsefulInterface: 786s # * 786s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceIface: 786s # * @parent_iface: The parent interface. 786s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 786s # * 786s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 786s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 786s # 786s # static void 786s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 786s # { 786s # /* GObject signals for incoming D-Bus method calls: */ 786s # /** 786s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: A #GDBusMethodInvocation. 786s # * 786s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 786s # * 786s # * 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. 786s # * 786s # * 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. 786s # */ 786s # g_signal_new ("handle-single-arg-method-ay", 786s # G_TYPE_FROM_INTERFACE (iface), 786s # G_SIGNAL_RUN_LAST, 786s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 786s # g_signal_accumulator_true_handled, 786s # NULL, 786s # org_project_useful_interface_method_marshal_single_arg_method_ay, 786s # G_TYPE_BOOLEAN, 786s # 1, 786s # G_TYPE_DBUS_METHOD_INVOCATION); 786s # 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_ay: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 786s # */ 786s # void 786s # org_project_useful_interface_call_single_arg_method_ay ( 786s # OrgProjectUsefulInterface *proxy, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodAy", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # callback, 786s # user_data); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_ay_finish: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_ay_finish ( 786s # OrgProjectUsefulInterface *proxy, 786s # gchar **out_arg_ay, 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(^ay)", 786s # out_arg_ay); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_ay_sync: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_ay_sync ( 786s # OrgProjectUsefulInterface *proxy, 786s # gchar **out_arg_ay, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodAy", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(^ay)", 786s # out_arg_ay); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_complete_single_arg_method_ay: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: (transfer full): A #GDBusMethodInvocation. 786s # * @arg_ay: Parameter to return. 786s # * 786s # * 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. 786s # * 786s # * This method will free @invocation, you cannot use it afterwards. 786s # */ 786s # void 786s # org_project_useful_interface_complete_single_arg_method_ay ( 786s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 786s # GDBusMethodInvocation *invocation, 786s # const gchar *arg_ay) 786s # { 786s # g_dbus_method_invocation_return_value (invocation, 786s # g_variant_new ("(^ay)", 786s # arg_ay)); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxy: 786s # * 786s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxyClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceProxy. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceProxyPrivate 786s # { 786s # GData *qdata; 786s # }; 786s # 786s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_proxy_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 786s # g_datalist_clear (&proxy->priv->qdata); 786s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # const GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 786s # const gchar *sender_name G_GNUC_UNUSED, 786s # const gchar *signal_name, 786s # GVariant *parameters) 786s # { 786s # _ExtendedGDBusSignalInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # gsize n; 786s # guint signal_id; 786s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 786s # if (info == NULL) 786s # return; 786s # num_params = g_variant_n_children (parameters); 786s # paramv = g_new0 (GValue, num_params + 1); 786s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[0], proxy); 786s # g_variant_iter_init (&iter, parameters); 786s # n = 1; 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_signal_emitv (paramv, signal_id, 0, NULL); 786s # for (n = 0; n < num_params + 1; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 786s # GVariant *changed_properties, 786s # const gchar *const *invalidated_properties) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 786s # guint n; 786s # const gchar *key; 786s # GVariantIter *iter; 786s # _ExtendedGDBusPropertyInfo *info; 786s # g_variant_get (changed_properties, "a{sv}", &iter); 786s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 786s # g_datalist_remove_data (&proxy->priv->qdata, key); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # g_variant_iter_free (iter); 786s # for (n = 0; invalidated_properties[n] != NULL; n++) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 786s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 786s # #else 786s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 786s # #endif 786s # 786s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusProxyClass *proxy_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 786s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 786s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 786s # 786s # proxy_class = G_DBUS_PROXY_CLASS (klass); 786s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 786s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_sync: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_sync ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new_for_bus ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_sync: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_sync ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeleton: 786s # * 786s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeletonClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 786s # { 786s # GValue *properties; 786s # GList *changed_properties; 786s # GSource *changed_properties_idle_source; 786s # GMainContext *context; 786s # GMutex lock; 786s # }; 786s # 786s # static void 786s # _org_project_useful_interface_skeleton_handle_method_call ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name, 786s # const gchar *method_name, 786s # GVariant *parameters, 786s # GDBusMethodInvocation *invocation, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # _ExtendedGDBusMethodInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # guint num_extra; 786s # gsize n; 786s # guint signal_id; 786s # GValue return_value = G_VALUE_INIT; 786s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 786s # g_assert (info != NULL); 786s # num_params = g_variant_n_children (parameters); 786s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 786s # n = 0; 786s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[n++], skeleton); 786s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 786s # g_value_set_object (¶mv[n++], invocation); 786s # if (info->pass_fdlist) 786s # { 786s # #ifdef G_OS_UNIX 786s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 786s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 786s # #else 786s # g_assert_not_reached (); 786s # #endif 786s # } 786s # g_variant_iter_init (&iter, parameters); 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_init (&return_value, G_TYPE_BOOLEAN); 786s # g_signal_emitv (paramv, signal_id, 0, &return_value); 786s # if (!g_value_get_boolean (&return_value)) 786s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 786s # g_value_unset (&return_value); 786s # for (n = 0; n < num_params + num_extra; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static GVariant * 786s # _org_project_useful_interface_skeleton_handle_get_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # GVariant *ret; 786s # ret = NULL; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # g_value_init (&value, pspec->value_type); 786s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 786s # g_value_unset (&value); 786s # } 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _org_project_useful_interface_skeleton_handle_set_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GVariant *variant, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # gboolean ret; 786s # ret = FALSE; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # if (info->use_gvariant) 786s # g_value_set_variant (&value, variant); 786s # else 786s # g_dbus_gvariant_to_gvalue (variant, &value); 786s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # g_value_unset (&value); 786s # ret = TRUE; 786s # } 786s # return ret; 786s # } 786s # 786s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 786s # { 786s # _org_project_useful_interface_skeleton_handle_method_call, 786s # _org_project_useful_interface_skeleton_handle_get_property, 786s # _org_project_useful_interface_skeleton_handle_set_property, 786s # {NULL} 786s # }; 786s # 786s # static GDBusInterfaceInfo * 786s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return org_project_useful_interface_interface_info (); 786s # } 786s # 786s # static GDBusInterfaceVTable * 786s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 786s # } 786s # 786s # static GVariant * 786s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 786s # 786s # GVariantBuilder builder; 786s # guint n; 786s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 786s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 786s # goto out; 786s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 786s # { 786s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 786s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 786s # { 786s # GVariant *value; 786s # 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); 786s # if (value != NULL) 786s # { 786s # g_variant_take_ref (value); 786s # g_variant_builder_add (&builder, "{sv}", info->name, value); 786s # g_variant_unref (value); 786s # } 786s # } 786s # } 786s # out: 786s # return g_variant_builder_end (&builder); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_skeleton_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 786s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 786s # if (skeleton->priv->changed_properties_idle_source != NULL) 786s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 786s # g_main_context_unref (skeleton->priv->context); 786s # g_mutex_clear (&skeleton->priv->lock); 786s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 786s # #else 786s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 786s # #endif 786s # 786s # g_mutex_init (&skeleton->priv->lock); 786s # skeleton->priv->context = g_main_context_ref_thread_default (); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusInterfaceSkeletonClass *skeleton_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 786s # 786s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 786s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 786s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 786s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 786s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_skeleton_new: 786s # * 786s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_skeleton_new (void) 786s # { 786s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 786s # } 786s # /tmp/tmp8ukxq6_y/tmp2h66exlx.xml: 786s # 786s # 786s # 786s # 786s # 786s # 786s # 786s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ukxq6_y/tmp2h66exlx.xml', '--output', '-', '--body'] 786s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 786s # Output: /* 786s # * This file is generated by gdbus-codegen, do not modify it. 786s # * 786s # * The license of this code is the same as for the D-Bus interface description 786s # * it was derived from. Note that it links to GLib, so must comply with the 786s # * LGPL linking clauses. 786s # */ 786s # 786s # #ifdef HAVE_CONFIG_H 786s # # include "config.h" 786s # #endif 786s # 786s # #include 786s # #ifdef G_OS_UNIX 786s # # include 786s # #endif 786s # 786s # #ifdef G_ENABLE_DEBUG 786s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 786s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 786s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 786s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 786s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 786s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 786s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 786s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 786s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 786s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 786s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 786s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 786s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 786s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 786s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 786s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 786s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 786s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 786s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 786s # #else /* !G_ENABLE_DEBUG */ 786s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 786s # * Do not access GValues directly in your code. Instead, use the 786s # * g_value_get_*() functions 786s # */ 786s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 786s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 786s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 786s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 786s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 786s # #endif /* !G_ENABLE_DEBUG */ 786s # 786s # typedef struct 786s # { 786s # GDBusArgInfo parent_struct; 786s # gboolean use_gvariant; 786s # } _ExtendedGDBusArgInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusMethodInfo parent_struct; 786s # const gchar *signal_name; 786s # gboolean pass_fdlist; 786s # } _ExtendedGDBusMethodInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusSignalInfo parent_struct; 786s # const gchar *signal_name; 786s # } _ExtendedGDBusSignalInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusPropertyInfo parent_struct; 786s # const gchar *hyphen_name; 786s # guint use_gvariant : 1; 786s # guint emits_changed_signal : 1; 786s # } _ExtendedGDBusPropertyInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusInterfaceInfo parent_struct; 786s # const gchar *hyphen_name; 786s # } _ExtendedGDBusInterfaceInfo; 786s # 786s # typedef struct 786s # { 786s # const _ExtendedGDBusPropertyInfo *info; 786s # guint prop_id; 786s # GValue orig_value; /* the value before the change */ 786s # } ChangedProperty; 786s # 786s # static void 786s # _changed_property_free (ChangedProperty *data) 786s # { 786s # g_value_unset (&data->orig_value); 786s # g_free (data); 786s # } 786s # 786s # static gboolean 786s # _g_strv_equal0 (gchar **a, gchar **b) 786s # { 786s # gboolean ret = FALSE; 786s # guint n; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # if (g_strv_length (a) != g_strv_length (b)) 786s # goto out; 786s # for (n = 0; a[n] != NULL; n++) 786s # if (g_strcmp0 (a[n], b[n]) != 0) 786s # goto out; 786s # ret = TRUE; 786s # out: 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _g_variant_equal0 (GVariant *a, GVariant *b) 786s # { 786s # gboolean ret = FALSE; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # ret = g_variant_equal (a, b); 786s # out: 786s # return ret; 786s # } 786s # 786s # G_GNUC_UNUSED static gboolean 786s # _g_value_equal (const GValue *a, const GValue *b) 786s # { 786s # gboolean ret = FALSE; 786s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 786s # switch (G_VALUE_TYPE (a)) 786s # { 786s # case G_TYPE_BOOLEAN: 786s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 786s # break; 786s # case G_TYPE_UCHAR: 786s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 786s # break; 786s # case G_TYPE_INT: 786s # ret = (g_value_get_int (a) == g_value_get_int (b)); 786s # break; 786s # case G_TYPE_UINT: 786s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 786s # break; 786s # case G_TYPE_INT64: 786s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 786s # break; 786s # case G_TYPE_UINT64: 786s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 786s # break; 786s # case G_TYPE_DOUBLE: 786s # { 786s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 786s # gdouble da = g_value_get_double (a); 786s # gdouble db = g_value_get_double (b); 786s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 786s # } 786s # break; 786s # case G_TYPE_STRING: 786s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 786s # break; 786s # case G_TYPE_VARIANT: 786s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 786s # break; 786s # default: 786s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 786s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 786s # else 786s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 786s # break; 786s # } 786s # return ret; 786s # } 786s # 786s # static void 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint G_GNUC_UNUSED, 786s # void *marshal_data) 786s # { 786s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (void *data1, 786s # GDBusMethodInvocation *arg_method_invocation, 786s # void *data2); 786s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 786s # GCClosure *cc = (GCClosure*) closure; 786s # void *data1, *data2; 786s # gboolean v_return; 786s # 786s # g_return_if_fail (return_value != NULL); 786s # g_return_if_fail (n_param_values == 2); 786s # 786s # if (G_CCLOSURE_SWAP_DATA (closure)) 786s # { 786s # data1 = closure->data; 786s # data2 = g_value_peek_pointer (param_values + 0); 786s # } 786s # else 786s # { 786s # data1 = g_value_peek_pointer (param_values + 0); 786s # data2 = closure->data; 786s # } 786s # 786s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (marshal_data ? marshal_data : cc->callback); 786s # 786s # v_return = 786s # callback (data1, 786s # g_marshal_value_peek_object (param_values + 1), 786s # data2); 786s # 786s # g_value_set_boolean (return_value, v_return); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ 786s # * Code for interface org.project.UsefulInterface 786s # * ------------------------------------------------------------------------ 786s # */ 786s # 786s # /** 786s # * SECTION:OrgProjectUsefulInterface 786s # * @title: OrgProjectUsefulInterface 786s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 786s # * 786s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 786s # */ 786s # 786s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 786s # 786s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 786s # { 786s # { 786s # -1, 786s # (gchar *) "arg_as", 786s # (gchar *) "as", 786s # NULL 786s # }, 786s # FALSE 786s # }; 786s # 786s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 786s # { 786s # { 786s # -1, 786s # (gchar *) "SingleArgMethodAs", 786s # NULL, 786s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 786s # NULL 786s # }, 786s # "handle-single-arg-method-as", 786s # FALSE 786s # }; 786s # 786s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 786s # { 786s # { 786s # -1, 786s # (gchar *) "org.project.UsefulInterface", 786s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 786s # NULL, 786s # NULL, 786s # NULL 786s # }, 786s # "org-project-useful-interface", 786s # }; 786s # 786s # 786s # /** 786s # * org_project_useful_interface_interface_info: 786s # * 786s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 786s # * 786s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 786s # */ 786s # GDBusInterfaceInfo * 786s # org_project_useful_interface_interface_info (void) 786s # { 786s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_override_properties: 786s # * @klass: The class structure for a #GObject derived class. 786s # * @property_id_begin: The property id to assign to the first overridden property. 786s # * 786s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 786s # * The properties are overridden in the order they are defined. 786s # * 786s # * Returns: The last property id. 786s # */ 786s # guint 786s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 786s # { 786s # return property_id_begin - 1; 786s # } 786s # 786s # 786s # inline static void 786s # org_project_useful_interface_method_marshal_single_arg_method_as ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint, 786s # void *marshal_data) 786s # { 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 786s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 786s # } 786s # 786s # 786s # /** 786s # * OrgProjectUsefulInterface: 786s # * 786s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceIface: 786s # * @parent_iface: The parent interface. 786s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 786s # * 786s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 786s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 786s # 786s # static void 786s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 786s # { 786s # /* GObject signals for incoming D-Bus method calls: */ 786s # /** 786s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: A #GDBusMethodInvocation. 786s # * 786s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 786s # * 786s # * 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. 786s # * 786s # * 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. 786s # */ 786s # g_signal_new ("handle-single-arg-method-as", 786s # G_TYPE_FROM_INTERFACE (iface), 786s # G_SIGNAL_RUN_LAST, 786s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 786s # g_signal_accumulator_true_handled, 786s # NULL, 786s # org_project_useful_interface_method_marshal_single_arg_method_as, 786s # G_TYPE_BOOLEAN, 786s # 1, 786s # G_TYPE_DBUS_METHOD_INVOCATION); 786s # 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_as: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 786s # */ 786s # void 786s # org_project_useful_interface_call_single_arg_method_as ( 786s # OrgProjectUsefulInterface *proxy, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodAs", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # callback, 786s # user_data); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_as_finish: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_as_finish ( 786s # OrgProjectUsefulInterface *proxy, 786s # gchar ***out_arg_as, 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(^as)", 786s # out_arg_as); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_as_sync: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_as_sync ( 786s # OrgProjectUsefulInterface *proxy, 786s # gchar ***out_arg_as, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodAs", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(^as)", 786s # out_arg_as); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_complete_single_arg_method_as: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: (transfer full): A #GDBusMethodInvocation. 786s # * @arg_as: Parameter to return. 786s # * 786s # * 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. 786s # * 786s # * This method will free @invocation, you cannot use it afterwards. 786s # */ 786s # void 786s # org_project_useful_interface_complete_single_arg_method_as ( 786s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 786s # GDBusMethodInvocation *invocation, 786s # const gchar *const *arg_as) 786s # { 786s # g_dbus_method_invocation_return_value (invocation, 786s # g_variant_new ("(^as)", 786s # arg_as)); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxy: 786s # * 786s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxyClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceProxy. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceProxyPrivate 786s # { 786s # GData *qdata; 786s # }; 786s # 786s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_proxy_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 786s # g_datalist_clear (&proxy->priv->qdata); 786s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # const GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 786s # const gchar *sender_name G_GNUC_UNUSED, 786s # const gchar *signal_name, 786s # GVariant *parameters) 786s # { 786s # _ExtendedGDBusSignalInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # gsize n; 786s # guint signal_id; 786s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 786s # if (info == NULL) 786s # return; 786s # num_params = g_variant_n_children (parameters); 786s # paramv = g_new0 (GValue, num_params + 1); 786s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[0], proxy); 786s # g_variant_iter_init (&iter, parameters); 786s # n = 1; 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_signal_emitv (paramv, signal_id, 0, NULL); 786s # for (n = 0; n < num_params + 1; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 786s # GVariant *changed_properties, 786s # const gchar *const *invalidated_properties) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 786s # guint n; 786s # const gchar *key; 786s # GVariantIter *iter; 786s # _ExtendedGDBusPropertyInfo *info; 786s # g_variant_get (changed_properties, "a{sv}", &iter); 786s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 786s # g_datalist_remove_data (&proxy->priv->qdata, key); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # g_variant_iter_free (iter); 786s # for (n = 0; invalidated_properties[n] != NULL; n++) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 786s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 786s # #else 786s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 786s # #endif 786s # 786s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusProxyClass *proxy_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 786s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 786s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 786s # 786s # proxy_class = G_DBUS_PROXY_CLASS (klass); 786s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 786s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_sync: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_sync ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new_for_bus ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_sync: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_sync ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeleton: 786s # * 786s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeletonClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 786s # { 786s # GValue *properties; 786s # GList *changed_properties; 786s # GSource *changed_properties_idle_source; 786s # GMainContext *context; 786s # GMutex lock; 786s # }; 786s # 786s # static void 786s # _org_project_useful_interface_skeleton_handle_method_call ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name, 786s # const gchar *method_name, 786s # GVariant *parameters, 786s # GDBusMethodInvocation *invocation, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # _ExtendedGDBusMethodInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # guint num_extra; 786s # gsize n; 786s # guint signal_id; 786s # GValue return_value = G_VALUE_INIT; 786s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 786s # g_assert (info != NULL); 786s # num_params = g_variant_n_children (parameters); 786s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 786s # n = 0; 786s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[n++], skeleton); 786s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 786s # g_value_set_object (¶mv[n++], invocation); 786s # if (info->pass_fdlist) 786s # { 786s # #ifdef G_OS_UNIX 786s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 786s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 786s # #else 786s # g_assert_not_reached (); 786s # #endif 786s # } 786s # g_variant_iter_init (&iter, parameters); 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_init (&return_value, G_TYPE_BOOLEAN); 786s # g_signal_emitv (paramv, signal_id, 0, &return_value); 786s # if (!g_value_get_boolean (&return_value)) 786s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 786s # g_value_unset (&return_value); 786s # for (n = 0; n < num_params + num_extra; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static GVariant * 786s # _org_project_useful_interface_skeleton_handle_get_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # GVariant *ret; 786s # ret = NULL; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # g_value_init (&value, pspec->value_type); 786s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 786s # g_value_unset (&value); 786s # } 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _org_project_useful_interface_skeleton_handle_set_property ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name G_GNUC_UNUSED, 786s # const gchar *property_name, 786s # GVariant *variant, 786s # GError **error, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # GValue value = G_VALUE_INIT; 786s # GParamSpec *pspec; 786s # _ExtendedGDBusPropertyInfo *info; 786s # gboolean ret; 786s # ret = FALSE; 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 786s # g_assert (info != NULL); 786s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 786s # if (pspec == NULL) 786s # { 786s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 786s # } 786s # else 786s # { 786s # if (info->use_gvariant) 786s # g_value_set_variant (&value, variant); 786s # else 786s # g_dbus_gvariant_to_gvalue (variant, &value); 786s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 786s # g_value_unset (&value); 786s # ret = TRUE; 786s # } 786s # return ret; 786s # } 786s # 786s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 786s # { 786s # _org_project_useful_interface_skeleton_handle_method_call, 786s # _org_project_useful_interface_skeleton_handle_get_property, 786s # _org_project_useful_interface_skeleton_handle_set_property, 786s # {NULL} 786s # }; 786s # 786s # static GDBusInterfaceInfo * 786s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return org_project_useful_interface_interface_info (); 786s # } 786s # 786s # static GDBusInterfaceVTable * 786s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 786s # { 786s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 786s # } 786s # 786s # static GVariant * 786s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 786s # 786s # GVariantBuilder builder; 786s # guint n; 786s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 786s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 786s # goto out; 786s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 786s # { 786s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 786s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 786s # { 786s # GVariant *value; 786s # 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); 786s # if (value != NULL) 786s # { 786s # g_variant_take_ref (value); 786s # g_variant_builder_add (&builder, "{sv}", info->name, value); 786s # g_variant_unref (value); 786s # } 786s # } 786s # } 786s # out: 786s # return g_variant_builder_end (&builder); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_skeleton_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 786s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 786s # if (skeleton->priv->changed_properties_idle_source != NULL) 786s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 786s # g_main_context_unref (skeleton->priv->context); 786s # g_mutex_clear (&skeleton->priv->lock); 786s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 786s # #else 786s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 786s # #endif 786s # 786s # g_mutex_init (&skeleton->priv->lock); 786s # skeleton->priv->context = g_main_context_ref_thread_default (); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusInterfaceSkeletonClass *skeleton_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 786s # 786s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 786s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 786s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 786s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 786s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_skeleton_new: 786s # * 786s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_skeleton_new (void) 786s # { 786s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 786s # } 786s # /tmp/tmp8ukxq6_y/tmp0ub_keu1.xml: 786s # 786s # 786s # 786s # 786s # 786s # 786s # 786s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ukxq6_y/tmp0ub_keu1.xml', '--output', '-', '--body'] 786s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 786s # Output: /* 786s # * This file is generated by gdbus-codegen, do not modify it. 786s # * 786s # * The license of this code is the same as for the D-Bus interface description 786s # * it was derived from. Note that it links to GLib, so must comply with the 786s # * LGPL linking clauses. 786s # */ 786s # 786s # #ifdef HAVE_CONFIG_H 786s # # include "config.h" 786s # #endif 786s # 786s # #include 786s # #ifdef G_OS_UNIX 786s # # include 786s # #endif 786s # 786s # #ifdef G_ENABLE_DEBUG 786s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 786s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 786s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 786s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 786s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 786s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 786s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 786s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 786s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 786s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 786s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 786s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 786s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 786s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 786s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 786s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 786s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 786s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 786s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 786s # #else /* !G_ENABLE_DEBUG */ 786s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 786s # * Do not access GValues directly in your code. Instead, use the 786s # * g_value_get_*() functions 786s # */ 786s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 786s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 786s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 786s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 786s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 786s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 786s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 786s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 786s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 786s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 786s # #endif /* !G_ENABLE_DEBUG */ 786s # 786s # typedef struct 786s # { 786s # GDBusArgInfo parent_struct; 786s # gboolean use_gvariant; 786s # } _ExtendedGDBusArgInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusMethodInfo parent_struct; 786s # const gchar *signal_name; 786s # gboolean pass_fdlist; 786s # } _ExtendedGDBusMethodInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusSignalInfo parent_struct; 786s # const gchar *signal_name; 786s # } _ExtendedGDBusSignalInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusPropertyInfo parent_struct; 786s # const gchar *hyphen_name; 786s # guint use_gvariant : 1; 786s # guint emits_changed_signal : 1; 786s # } _ExtendedGDBusPropertyInfo; 786s # 786s # typedef struct 786s # { 786s # GDBusInterfaceInfo parent_struct; 786s # const gchar *hyphen_name; 786s # } _ExtendedGDBusInterfaceInfo; 786s # 786s # typedef struct 786s # { 786s # const _ExtendedGDBusPropertyInfo *info; 786s # guint prop_id; 786s # GValue orig_value; /* the value before the change */ 786s # } ChangedProperty; 786s # 786s # static void 786s # _changed_property_free (ChangedProperty *data) 786s # { 786s # g_value_unset (&data->orig_value); 786s # g_free (data); 786s # } 786s # 786s # static gboolean 786s # _g_strv_equal0 (gchar **a, gchar **b) 786s # { 786s # gboolean ret = FALSE; 786s # guint n; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # if (g_strv_length (a) != g_strv_length (b)) 786s # goto out; 786s # for (n = 0; a[n] != NULL; n++) 786s # if (g_strcmp0 (a[n], b[n]) != 0) 786s # goto out; 786s # ret = TRUE; 786s # out: 786s # return ret; 786s # } 786s # 786s # static gboolean 786s # _g_variant_equal0 (GVariant *a, GVariant *b) 786s # { 786s # gboolean ret = FALSE; 786s # if (a == NULL && b == NULL) 786s # { 786s # ret = TRUE; 786s # goto out; 786s # } 786s # if (a == NULL || b == NULL) 786s # goto out; 786s # ret = g_variant_equal (a, b); 786s # out: 786s # return ret; 786s # } 786s # 786s # G_GNUC_UNUSED static gboolean 786s # _g_value_equal (const GValue *a, const GValue *b) 786s # { 786s # gboolean ret = FALSE; 786s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 786s # switch (G_VALUE_TYPE (a)) 786s # { 786s # case G_TYPE_BOOLEAN: 786s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 786s # break; 786s # case G_TYPE_UCHAR: 786s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 786s # break; 786s # case G_TYPE_INT: 786s # ret = (g_value_get_int (a) == g_value_get_int (b)); 786s # break; 786s # case G_TYPE_UINT: 786s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 786s # break; 786s # case G_TYPE_INT64: 786s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 786s # break; 786s # case G_TYPE_UINT64: 786s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 786s # break; 786s # case G_TYPE_DOUBLE: 786s # { 786s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 786s # gdouble da = g_value_get_double (a); 786s # gdouble db = g_value_get_double (b); 786s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 786s # } 786s # break; 786s # case G_TYPE_STRING: 786s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 786s # break; 786s # case G_TYPE_VARIANT: 786s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 786s # break; 786s # default: 786s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 786s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 786s # else 786s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 786s # break; 786s # } 786s # return ret; 786s # } 786s # 786s # static void 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint G_GNUC_UNUSED, 786s # void *marshal_data) 786s # { 786s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (void *data1, 786s # GDBusMethodInvocation *arg_method_invocation, 786s # void *data2); 786s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 786s # GCClosure *cc = (GCClosure*) closure; 786s # void *data1, *data2; 786s # gboolean v_return; 786s # 786s # g_return_if_fail (return_value != NULL); 786s # g_return_if_fail (n_param_values == 2); 786s # 786s # if (G_CCLOSURE_SWAP_DATA (closure)) 786s # { 786s # data1 = closure->data; 786s # data2 = g_value_peek_pointer (param_values + 0); 786s # } 786s # else 786s # { 786s # data1 = g_value_peek_pointer (param_values + 0); 786s # data2 = closure->data; 786s # } 786s # 786s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 786s # (marshal_data ? marshal_data : cc->callback); 786s # 786s # v_return = 786s # callback (data1, 786s # g_marshal_value_peek_object (param_values + 1), 786s # data2); 786s # 786s # g_value_set_boolean (return_value, v_return); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ 786s # * Code for interface org.project.UsefulInterface 786s # * ------------------------------------------------------------------------ 786s # */ 786s # 786s # /** 786s # * SECTION:OrgProjectUsefulInterface 786s # * @title: OrgProjectUsefulInterface 786s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 786s # * 786s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 786s # */ 786s # 786s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 786s # 786s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 786s # { 786s # { 786s # -1, 786s # (gchar *) "arg_ao", 786s # (gchar *) "ao", 786s # NULL 786s # }, 786s # FALSE 786s # }; 786s # 786s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 786s # { 786s # { 786s # -1, 786s # (gchar *) "SingleArgMethodAo", 786s # NULL, 786s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 786s # NULL 786s # }, 786s # "handle-single-arg-method-ao", 786s # FALSE 786s # }; 786s # 786s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 786s # { 786s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 786s # NULL 786s # }; 786s # 786s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 786s # { 786s # { 786s # -1, 786s # (gchar *) "org.project.UsefulInterface", 786s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 786s # NULL, 786s # NULL, 786s # NULL 786s # }, 786s # "org-project-useful-interface", 786s # }; 786s # 786s # 786s # /** 786s # * org_project_useful_interface_interface_info: 786s # * 786s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 786s # * 786s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 786s # */ 786s # GDBusInterfaceInfo * 786s # org_project_useful_interface_interface_info (void) 786s # { 786s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_override_properties: 786s # * @klass: The class structure for a #GObject derived class. 786s # * @property_id_begin: The property id to assign to the first overridden property. 786s # * 786s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 786s # * The properties are overridden in the order they are defined. 786s # * 786s # * Returns: The last property id. 786s # */ 786s # guint 786s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 786s # { 786s # return property_id_begin - 1; 786s # } 786s # 786s # 786s # inline static void 786s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 786s # GClosure *closure, 786s # GValue *return_value, 786s # unsigned int n_param_values, 786s # const GValue *param_values, 786s # void *invocation_hint, 786s # void *marshal_data) 786s # { 786s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 786s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 786s # } 786s # 786s # 786s # /** 786s # * OrgProjectUsefulInterface: 786s # * 786s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceIface: 786s # * @parent_iface: The parent interface. 786s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 786s # * 786s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 786s # */ 786s # 786s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 786s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 786s # 786s # static void 786s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 786s # { 786s # /* GObject signals for incoming D-Bus method calls: */ 786s # /** 786s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: A #GDBusMethodInvocation. 786s # * 786s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 786s # * 786s # * 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. 786s # * 786s # * 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. 786s # */ 786s # g_signal_new ("handle-single-arg-method-ao", 786s # G_TYPE_FROM_INTERFACE (iface), 786s # G_SIGNAL_RUN_LAST, 786s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 786s # g_signal_accumulator_true_handled, 786s # NULL, 786s # org_project_useful_interface_method_marshal_single_arg_method_ao, 786s # G_TYPE_BOOLEAN, 786s # 1, 786s # G_TYPE_DBUS_METHOD_INVOCATION); 786s # 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_ao: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 786s # */ 786s # void 786s # org_project_useful_interface_call_single_arg_method_ao ( 786s # OrgProjectUsefulInterface *proxy, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodAo", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # callback, 786s # user_data); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_ao_finish: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_ao_finish ( 786s # OrgProjectUsefulInterface *proxy, 786s # gchar ***out_arg_ao, 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(^ao)", 786s # out_arg_ao); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_call_single_arg_method_ao_sync: 786s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 786s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL. 786s # * 786s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 786s # * 786s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 786s # */ 786s # gboolean 786s # org_project_useful_interface_call_single_arg_method_ao_sync ( 786s # OrgProjectUsefulInterface *proxy, 786s # gchar ***out_arg_ao, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GVariant *_ret; 786s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 786s # "SingleArgMethodAo", 786s # g_variant_new ("()"), 786s # G_DBUS_CALL_FLAGS_NONE, 786s # -1, 786s # cancellable, 786s # error); 786s # if (_ret == NULL) 786s # goto _out; 786s # g_variant_get (_ret, 786s # "(^ao)", 786s # out_arg_ao); 786s # g_variant_unref (_ret); 786s # _out: 786s # return _ret != NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_complete_single_arg_method_ao: 786s # * @object: A #OrgProjectUsefulInterface. 786s # * @invocation: (transfer full): A #GDBusMethodInvocation. 786s # * @arg_ao: Parameter to return. 786s # * 786s # * 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. 786s # * 786s # * This method will free @invocation, you cannot use it afterwards. 786s # */ 786s # void 786s # org_project_useful_interface_complete_single_arg_method_ao ( 786s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 786s # GDBusMethodInvocation *invocation, 786s # const gchar *const *arg_ao) 786s # { 786s # g_dbus_method_invocation_return_value (invocation, 786s # g_variant_new ("(^ao)", 786s # arg_ao)); 786s # } 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxy: 786s # * 786s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceProxyClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceProxy. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceProxyPrivate 786s # { 786s # GData *qdata; 786s # }; 786s # 786s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #else 786s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 786s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 786s # 786s # #endif 786s # static void 786s # org_project_useful_interface_proxy_finalize (GObject *object) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 786s # g_datalist_clear (&proxy->priv->qdata); 786s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 786s # guint prop_id G_GNUC_UNUSED, 786s # const GValue *value G_GNUC_UNUSED, 786s # GParamSpec *pspec G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 786s # const gchar *sender_name G_GNUC_UNUSED, 786s # const gchar *signal_name, 786s # GVariant *parameters) 786s # { 786s # _ExtendedGDBusSignalInfo *info; 786s # GVariantIter iter; 786s # GVariant *child; 786s # GValue *paramv; 786s # gsize num_params; 786s # gsize n; 786s # guint signal_id; 786s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 786s # if (info == NULL) 786s # return; 786s # num_params = g_variant_n_children (parameters); 786s # paramv = g_new0 (GValue, num_params + 1); 786s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_value_set_object (¶mv[0], proxy); 786s # g_variant_iter_init (&iter, parameters); 786s # n = 1; 786s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 786s # { 786s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 786s # if (arg_info->use_gvariant) 786s # { 786s # g_value_init (¶mv[n], G_TYPE_VARIANT); 786s # g_value_set_variant (¶mv[n], child); 786s # n++; 786s # } 786s # else 786s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 786s # g_variant_unref (child); 786s # } 786s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 786s # g_signal_emitv (paramv, signal_id, 0, NULL); 786s # for (n = 0; n < num_params + 1; n++) 786s # g_value_unset (¶mv[n]); 786s # g_free (paramv); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 786s # GVariant *changed_properties, 786s # const gchar *const *invalidated_properties) 786s # { 786s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 786s # guint n; 786s # const gchar *key; 786s # GVariantIter *iter; 786s # _ExtendedGDBusPropertyInfo *info; 786s # g_variant_get (changed_properties, "a{sv}", &iter); 786s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 786s # g_datalist_remove_data (&proxy->priv->qdata, key); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # g_variant_iter_free (iter); 786s # for (n = 0; invalidated_properties[n] != NULL; n++) 786s # { 786s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 786s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 786s # if (info != NULL) 786s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 786s # } 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 786s # { 786s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 786s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 786s # #else 786s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 786s # #endif 786s # 786s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 786s # { 786s # GObjectClass *gobject_class; 786s # GDBusProxyClass *proxy_class; 786s # 786s # gobject_class = G_OBJECT_CLASS (klass); 786s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 786s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 786s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 786s # 786s # proxy_class = G_DBUS_PROXY_CLASS (klass); 786s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 786s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 786s # 786s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 786s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 786s # #endif 786s # } 786s # 786s # static void 786s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 786s # { 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_sync: 786s # * @connection: A #GDBusConnection. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_sync ( 786s # GDBusConnection *connection, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 786s # * @user_data: User data to pass to @callback. 786s # * 786s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 786s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 786s # */ 786s # void 786s # org_project_useful_interface_proxy_new_for_bus ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GAsyncReadyCallback callback, 786s # gpointer user_data) 786s # { 786s # g_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); 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_finish: 786s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 786s # * @error: Return location for error or %NULL 786s # * 786s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_finish ( 786s # GAsyncResult *res, 786s # GError **error) 786s # { 786s # GObject *ret; 786s # GObject *source_object; 786s # source_object = g_async_result_get_source_object (res); 786s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 786s # g_object_unref (source_object); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # /** 786s # * org_project_useful_interface_proxy_new_for_bus_sync: 786s # * @bus_type: A #GBusType. 786s # * @flags: Flags from the #GDBusProxyFlags enumeration. 786s # * @name: A bus name (well-known or unique). 786s # * @object_path: An object path. 786s # * @cancellable: (nullable): A #GCancellable or %NULL. 786s # * @error: Return location for error or %NULL 786s # * 786s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 786s # * 786s # * The calling thread is blocked until a reply is received. 786s # * 786s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 786s # * 786s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 786s # */ 786s # OrgProjectUsefulInterface * 786s # org_project_useful_interface_proxy_new_for_bus_sync ( 786s # GBusType bus_type, 786s # GDBusProxyFlags flags, 786s # const gchar *name, 786s # const gchar *object_path, 786s # GCancellable *cancellable, 786s # GError **error) 786s # { 786s # GInitable *ret; 786s # 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); 786s # if (ret != NULL) 786s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 786s # else 786s # return NULL; 786s # } 786s # 786s # 786s # /* ------------------------------------------------------------------------ */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeleton: 786s # * 786s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 786s # */ 786s # 786s # /** 786s # * OrgProjectUsefulInterfaceSkeletonClass: 786s # * @parent_class: The parent class. 786s # * 786s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 786s # */ 786s # 786s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 786s # { 786s # GValue *properties; 786s # GList *changed_properties; 786s # GSource *changed_properties_idle_source; 786s # GMainContext *context; 786s # GMutex lock; 786s # }; 786s # 786s # static void 786s # _org_project_useful_interface_skeleton_handle_method_call ( 786s # GDBusConnection *connection G_GNUC_UNUSED, 786s # const gchar *sender G_GNUC_UNUSED, 786s # const gchar *object_path G_GNUC_UNUSED, 786s # const gchar *interface_name, 786s # const gchar *method_name, 786s # GVariant *parameters, 786s # GDBusMethodInvocation *invocation, 786s # gpointer user_data) 786s # { 786s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 786s # _ExtendedGDBusMethodInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # guint num_extra; 787s # gsize n; 787s # guint signal_id; 787s # GValue return_value = G_VALUE_INIT; 787s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 787s # g_assert (info != NULL); 787s # num_params = g_variant_n_children (parameters); 787s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 787s # n = 0; 787s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 787s # g_value_set_object (¶mv[n++], skeleton); 787s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 787s # g_value_set_object (¶mv[n++], invocation); 787s # if (info->pass_fdlist) 787s # { 787s # #ifdef G_OS_UNIX 787s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 787s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 787s # #else 787s # g_assert_not_reached (); 787s # #endif 787s # } 787s # g_variant_iter_init (&iter, parameters); 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 787s # g_value_init (&return_value, G_TYPE_BOOLEAN); 787s # g_signal_emitv (paramv, signal_id, 0, &return_value); 787s # if (!g_value_get_boolean (&return_value)) 787s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 787s # g_value_unset (&return_value); 787s # for (n = 0; n < num_params + num_extra; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static GVariant * 787s # _org_project_useful_interface_skeleton_handle_get_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # GVariant *ret; 787s # ret = NULL; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # g_value_init (&value, pspec->value_type); 787s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 787s # g_value_unset (&value); 787s # } 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _org_project_useful_interface_skeleton_handle_set_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GVariant *variant, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # gboolean ret; 787s # ret = FALSE; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # if (info->use_gvariant) 787s # g_value_set_variant (&value, variant); 787s # else 787s # g_dbus_gvariant_to_gvalue (variant, &value); 787s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # g_value_unset (&value); 787s # ret = TRUE; 787s # } 787s # return ret; 787s # } 787s # 787s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 787s # { 787s # _org_project_useful_interface_skeleton_handle_method_call, 787s # _org_project_useful_interface_skeleton_handle_get_property, 787s # _org_project_useful_interface_skeleton_handle_set_property, 787s # {NULL} 787s # }; 787s # 787s # static GDBusInterfaceInfo * 787s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return org_project_useful_interface_interface_info (); 787s # } 787s # 787s # static GDBusInterfaceVTable * 787s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 787s # } 787s # 787s # static GVariant * 787s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 787s # 787s # GVariantBuilder builder; 787s # guint n; 787s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 787s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 787s # goto out; 787s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 787s # { 787s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 787s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 787s # { 787s # GVariant *value; 787s # 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); 787s # if (value != NULL) 787s # { 787s # g_variant_take_ref (value); 787s # g_variant_builder_add (&builder, "{sv}", info->name, value); 787s # g_variant_unref (value); 787s # } 787s # } 787s # } 787s # out: 787s # return g_variant_builder_end (&builder); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_useful_interface_skeleton_finalize (GObject *object) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 787s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 787s # if (skeleton->priv->changed_properties_idle_source != NULL) 787s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 787s # g_main_context_unref (skeleton->priv->context); 787s # g_mutex_clear (&skeleton->priv->lock); 787s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 787s # #else 787s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 787s # #endif 787s # 787s # g_mutex_init (&skeleton->priv->lock); 787s # skeleton->priv->context = g_main_context_ref_thread_default (); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusInterfaceSkeletonClass *skeleton_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 787s # 787s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 787s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 787s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 787s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 787s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_skeleton_new: 787s # * 787s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 787s # * 787s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 787s # */ 787s # OrgProjectUsefulInterface * 787s # org_project_useful_interface_skeleton_new (void) 787s # { 787s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 787s # } 787s # /tmp/tmp8ukxq6_y/tmp4qulrsg3.xml: 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ukxq6_y/tmp4qulrsg3.xml', '--output', '-', '--body'] 787s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 787s # Output: /* 787s # * This file is generated by gdbus-codegen, do not modify it. 787s # * 787s # * The license of this code is the same as for the D-Bus interface description 787s # * it was derived from. Note that it links to GLib, so must comply with the 787s # * LGPL linking clauses. 787s # */ 787s # 787s # #ifdef HAVE_CONFIG_H 787s # # include "config.h" 787s # #endif 787s # 787s # #include 787s # #ifdef G_OS_UNIX 787s # # include 787s # #endif 787s # 787s # #ifdef G_ENABLE_DEBUG 787s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 787s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 787s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 787s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 787s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 787s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 787s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 787s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 787s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 787s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 787s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 787s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 787s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 787s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 787s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 787s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 787s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 787s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 787s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 787s # #else /* !G_ENABLE_DEBUG */ 787s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 787s # * Do not access GValues directly in your code. Instead, use the 787s # * g_value_get_*() functions 787s # */ 787s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 787s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 787s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 787s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 787s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 787s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 787s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 787s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 787s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 787s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 787s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 787s # #endif /* !G_ENABLE_DEBUG */ 787s # 787s # typedef struct 787s # { 787s # GDBusArgInfo parent_struct; 787s # gboolean use_gvariant; 787s # } _ExtendedGDBusArgInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusMethodInfo parent_struct; 787s # const gchar *signal_name; 787s # gboolean pass_fdlist; 787s # } _ExtendedGDBusMethodInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusSignalInfo parent_struct; 787s # const gchar *signal_name; 787s # } _ExtendedGDBusSignalInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusPropertyInfo parent_struct; 787s # const gchar *hyphen_name; 787s # guint use_gvariant : 1; 787s # guint emits_changed_signal : 1; 787s # } _ExtendedGDBusPropertyInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusInterfaceInfo parent_struct; 787s # const gchar *hyphen_name; 787s # } _ExtendedGDBusInterfaceInfo; 787s # 787s # typedef struct 787s # { 787s # const _ExtendedGDBusPropertyInfo *info; 787s # guint prop_id; 787s # GValue orig_value; /* the value before the change */ 787s # } ChangedProperty; 787s # 787s # static void 787s # _changed_property_free (ChangedProperty *data) 787s # { 787s # g_value_unset (&data->orig_value); 787s # g_free (data); 787s # } 787s # 787s # static gboolean 787s # _g_strv_equal0 (gchar **a, gchar **b) 787s # { 787s # gboolean ret = FALSE; 787s # guint n; 787s # if (a == NULL && b == NULL) 787s # { 787s # ret = TRUE; 787s # goto out; 787s # } 787s # if (a == NULL || b == NULL) 787s # goto out; 787s # if (g_strv_length (a) != g_strv_length (b)) 787s # goto out; 787s # for (n = 0; a[n] != NULL; n++) 787s # if (g_strcmp0 (a[n], b[n]) != 0) 787s # goto out; 787s # ret = TRUE; 787s # out: 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _g_variant_equal0 (GVariant *a, GVariant *b) 787s # { 787s # gboolean ret = FALSE; 787s # if (a == NULL && b == NULL) 787s # { 787s # ret = TRUE; 787s # goto out; 787s # } 787s # if (a == NULL || b == NULL) 787s # goto out; 787s # ret = g_variant_equal (a, b); 787s # out: 787s # return ret; 787s # } 787s # 787s # G_GNUC_UNUSED static gboolean 787s # _g_value_equal (const GValue *a, const GValue *b) 787s # { 787s # gboolean ret = FALSE; 787s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 787s # switch (G_VALUE_TYPE (a)) 787s # { 787s # case G_TYPE_BOOLEAN: 787s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 787s # break; 787s # case G_TYPE_UCHAR: 787s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 787s # break; 787s # case G_TYPE_INT: 787s # ret = (g_value_get_int (a) == g_value_get_int (b)); 787s # break; 787s # case G_TYPE_UINT: 787s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 787s # break; 787s # case G_TYPE_INT64: 787s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 787s # break; 787s # case G_TYPE_UINT64: 787s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 787s # break; 787s # case G_TYPE_DOUBLE: 787s # { 787s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 787s # gdouble da = g_value_get_double (a); 787s # gdouble db = g_value_get_double (b); 787s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 787s # } 787s # break; 787s # case G_TYPE_STRING: 787s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 787s # break; 787s # case G_TYPE_VARIANT: 787s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 787s # break; 787s # default: 787s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 787s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 787s # else 787s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 787s # break; 787s # } 787s # return ret; 787s # } 787s # 787s # static void 787s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint G_GNUC_UNUSED, 787s # void *marshal_data) 787s # { 787s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 787s # (void *data1, 787s # GDBusMethodInvocation *arg_method_invocation, 787s # void *data2); 787s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 787s # GCClosure *cc = (GCClosure*) closure; 787s # void *data1, *data2; 787s # gboolean v_return; 787s # 787s # g_return_if_fail (return_value != NULL); 787s # g_return_if_fail (n_param_values == 2); 787s # 787s # if (G_CCLOSURE_SWAP_DATA (closure)) 787s # { 787s # data1 = closure->data; 787s # data2 = g_value_peek_pointer (param_values + 0); 787s # } 787s # else 787s # { 787s # data1 = g_value_peek_pointer (param_values + 0); 787s # data2 = closure->data; 787s # } 787s # 787s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 787s # (marshal_data ? marshal_data : cc->callback); 787s # 787s # v_return = 787s # callback (data1, 787s # g_marshal_value_peek_object (param_values + 1), 787s # data2); 787s # 787s # g_value_set_boolean (return_value, v_return); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ 787s # * Code for interface org.project.UsefulInterface 787s # * ------------------------------------------------------------------------ 787s # */ 787s # 787s # /** 787s # * SECTION:OrgProjectUsefulInterface 787s # * @title: OrgProjectUsefulInterface 787s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 787s # * 787s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 787s # */ 787s # 787s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 787s # { 787s # { 787s # -1, 787s # (gchar *) "arg_aay", 787s # (gchar *) "aay", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 787s # { 787s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgMethodAay", 787s # NULL, 787s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 787s # NULL 787s # }, 787s # "handle-single-arg-method-aay", 787s # FALSE 787s # }; 787s # 787s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 787s # { 787s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 787s # { 787s # { 787s # -1, 787s # (gchar *) "org.project.UsefulInterface", 787s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 787s # NULL, 787s # NULL, 787s # NULL 787s # }, 787s # "org-project-useful-interface", 787s # }; 787s # 787s # 787s # /** 787s # * org_project_useful_interface_interface_info: 787s # * 787s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 787s # * 787s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 787s # */ 787s # GDBusInterfaceInfo * 787s # org_project_useful_interface_interface_info (void) 787s # { 787s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_override_properties: 787s # * @klass: The class structure for a #GObject derived class. 787s # * @property_id_begin: The property id to assign to the first overridden property. 787s # * 787s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 787s # * The properties are overridden in the order they are defined. 787s # * 787s # * Returns: The last property id. 787s # */ 787s # guint 787s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 787s # { 787s # return property_id_begin - 1; 787s # } 787s # 787s # 787s # inline static void 787s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # 787s # /** 787s # * OrgProjectUsefulInterface: 787s # * 787s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 787s # */ 787s # 787s # /** 787s # * OrgProjectUsefulInterfaceIface: 787s # * @parent_iface: The parent interface. 787s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 787s # * 787s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 787s # */ 787s # 787s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 787s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 787s # 787s # static void 787s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 787s # { 787s # /* GObject signals for incoming D-Bus method calls: */ 787s # /** 787s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 787s # * @object: A #OrgProjectUsefulInterface. 787s # * @invocation: A #GDBusMethodInvocation. 787s # * 787s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 787s # * 787s # * 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. 787s # * 787s # * 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. 787s # */ 787s # g_signal_new ("handle-single-arg-method-aay", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 787s # g_signal_accumulator_true_handled, 787s # NULL, 787s # org_project_useful_interface_method_marshal_single_arg_method_aay, 787s # G_TYPE_BOOLEAN, 787s # 1, 787s # G_TYPE_DBUS_METHOD_INVOCATION); 787s # 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_call_single_arg_method_aay: 787s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 787s # * 787s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 787s # */ 787s # void 787s # org_project_useful_interface_call_single_arg_method_aay ( 787s # OrgProjectUsefulInterface *proxy, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 787s # "SingleArgMethodAay", 787s # g_variant_new ("()"), 787s # G_DBUS_CALL_FLAGS_NONE, 787s # -1, 787s # cancellable, 787s # callback, 787s # user_data); 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_call_single_arg_method_aay_finish: 787s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 787s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 787s # * @error: Return location for error or %NULL. 787s # * 787s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 787s # * 787s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 787s # */ 787s # gboolean 787s # org_project_useful_interface_call_single_arg_method_aay_finish ( 787s # OrgProjectUsefulInterface *proxy, 787s # gchar ***out_arg_aay, 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GVariant *_ret; 787s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 787s # if (_ret == NULL) 787s # goto _out; 787s # g_variant_get (_ret, 787s # "(^aay)", 787s # out_arg_aay); 787s # g_variant_unref (_ret); 787s # _out: 787s # return _ret != NULL; 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_call_single_arg_method_aay_sync: 787s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 787s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL. 787s # * 787s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 787s # * 787s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 787s # */ 787s # gboolean 787s # org_project_useful_interface_call_single_arg_method_aay_sync ( 787s # OrgProjectUsefulInterface *proxy, 787s # gchar ***out_arg_aay, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GVariant *_ret; 787s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 787s # "SingleArgMethodAay", 787s # g_variant_new ("()"), 787s # G_DBUS_CALL_FLAGS_NONE, 787s # -1, 787s # cancellable, 787s # error); 787s # if (_ret == NULL) 787s # goto _out; 787s # g_variant_get (_ret, 787s # "(^aay)", 787s # out_arg_aay); 787s # g_variant_unref (_ret); 787s # _out: 787s # return _ret != NULL; 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_complete_single_arg_method_aay: 787s # * @object: A #OrgProjectUsefulInterface. 787s # * @invocation: (transfer full): A #GDBusMethodInvocation. 787s # * @arg_aay: Parameter to return. 787s # * 787s # * 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. 787s # * 787s # * This method will free @invocation, you cannot use it afterwards. 787s # */ 787s # void 787s # org_project_useful_interface_complete_single_arg_method_aay ( 787s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 787s # GDBusMethodInvocation *invocation, 787s # const gchar *const *arg_aay) 787s # { 787s # g_dbus_method_invocation_return_value (invocation, 787s # g_variant_new ("(^aay)", 787s # arg_aay)); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectUsefulInterfaceProxy: 787s # * 787s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectUsefulInterfaceProxyClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectUsefulInterfaceProxy. 787s # */ 787s # 787s # struct _OrgProjectUsefulInterfaceProxyPrivate 787s # { 787s # GData *qdata; 787s # }; 787s # 787s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 787s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_useful_interface_proxy_finalize (GObject *object) 787s # { 787s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 787s # g_datalist_clear (&proxy->priv->qdata); 787s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # const GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 787s # const gchar *sender_name G_GNUC_UNUSED, 787s # const gchar *signal_name, 787s # GVariant *parameters) 787s # { 787s # _ExtendedGDBusSignalInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # gsize n; 787s # guint signal_id; 787s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 787s # if (info == NULL) 787s # return; 787s # num_params = g_variant_n_children (parameters); 787s # paramv = g_new0 (GValue, num_params + 1); 787s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 787s # g_value_set_object (¶mv[0], proxy); 787s # g_variant_iter_init (&iter, parameters); 787s # n = 1; 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 787s # g_signal_emitv (paramv, signal_id, 0, NULL); 787s # for (n = 0; n < num_params + 1; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 787s # GVariant *changed_properties, 787s # const gchar *const *invalidated_properties) 787s # { 787s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 787s # guint n; 787s # const gchar *key; 787s # GVariantIter *iter; 787s # _ExtendedGDBusPropertyInfo *info; 787s # g_variant_get (changed_properties, "a{sv}", &iter); 787s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 787s # g_datalist_remove_data (&proxy->priv->qdata, key); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # g_variant_iter_free (iter); 787s # for (n = 0; invalidated_properties[n] != NULL; n++) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 787s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 787s # #else 787s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 787s # #endif 787s # 787s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusProxyClass *proxy_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 787s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 787s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 787s # 787s # proxy_class = G_DBUS_PROXY_CLASS (klass); 787s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 787s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_proxy_new: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 787s # * 787s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_useful_interface_proxy_new ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # g_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); 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_proxy_new_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectUsefulInterface * 787s # org_project_useful_interface_proxy_new_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_proxy_new_sync: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectUsefulInterface * 787s # org_project_useful_interface_proxy_new_sync ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /** 787s # * org_project_useful_interface_proxy_new_for_bus: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 787s # * 787s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_useful_interface_proxy_new_for_bus ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # g_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); 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_proxy_new_for_bus_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectUsefulInterface * 787s # org_project_useful_interface_proxy_new_for_bus_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_proxy_new_for_bus_sync: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectUsefulInterface * 787s # org_project_useful_interface_proxy_new_for_bus_sync ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectUsefulInterfaceSkeleton: 787s # * 787s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectUsefulInterfaceSkeletonClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 787s # */ 787s # 787s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 787s # { 787s # GValue *properties; 787s # GList *changed_properties; 787s # GSource *changed_properties_idle_source; 787s # GMainContext *context; 787s # GMutex lock; 787s # }; 787s # 787s # static void 787s # _org_project_useful_interface_skeleton_handle_method_call ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name, 787s # const gchar *method_name, 787s # GVariant *parameters, 787s # GDBusMethodInvocation *invocation, 787s # gpointer user_data) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 787s # _ExtendedGDBusMethodInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # guint num_extra; 787s # gsize n; 787s # guint signal_id; 787s # GValue return_value = G_VALUE_INIT; 787s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 787s # g_assert (info != NULL); 787s # num_params = g_variant_n_children (parameters); 787s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 787s # n = 0; 787s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 787s # g_value_set_object (¶mv[n++], skeleton); 787s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 787s # g_value_set_object (¶mv[n++], invocation); 787s # if (info->pass_fdlist) 787s # { 787s # #ifdef G_OS_UNIX 787s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 787s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 787s # #else 787s # g_assert_not_reached (); 787s # #endif 787s # } 787s # g_variant_iter_init (&iter, parameters); 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 787s # g_value_init (&return_value, G_TYPE_BOOLEAN); 787s # g_signal_emitv (paramv, signal_id, 0, &return_value); 787s # if (!g_value_get_boolean (&return_value)) 787s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 787s # g_value_unset (&return_value); 787s # for (n = 0; n < num_params + num_extra; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static GVariant * 787s # _org_project_useful_interface_skeleton_handle_get_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # GVariant *ret; 787s # ret = NULL; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # g_value_init (&value, pspec->value_type); 787s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 787s # g_value_unset (&value); 787s # } 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _org_project_useful_interface_skeleton_handle_set_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GVariant *variant, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # gboolean ret; 787s # ret = FALSE; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # if (info->use_gvariant) 787s # g_value_set_variant (&value, variant); 787s # else 787s # g_dbus_gvariant_to_gvalue (variant, &value); 787s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # g_value_unset (&value); 787s # ret = TRUE; 787s # } 787s # return ret; 787s # } 787s # 787s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 787s # { 787s # _org_project_useful_interface_skeleton_handle_method_call, 787s # _org_project_useful_interface_skeleton_handle_get_property, 787s # _org_project_useful_interface_skeleton_handle_set_property, 787s # {NULL} 787s # }; 787s # 787s # static GDBusInterfaceInfo * 787s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return org_project_useful_interface_interface_info (); 787s # } 787s # 787s # static GDBusInterfaceVTable * 787s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 787s # } 787s # 787s # static GVariant * 787s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 787s # 787s # GVariantBuilder builder; 787s # guint n; 787s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 787s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 787s # goto out; 787s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 787s # { 787s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 787s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 787s # { 787s # GVariant *value; 787s # 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); 787s # if (value != NULL) 787s # { 787s # g_variant_take_ref (value); 787s # g_variant_builder_add (&builder, "{sv}", info->name, value); 787s # g_variant_unref (value); 787s # } 787s # } 787s # } 787s # out: 787s # return g_variant_builder_end (&builder); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_useful_interface_skeleton_finalize (GObject *object) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 787s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 787s # if (skeleton->priv->changed_properties_idle_source != NULL) 787s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 787s # g_main_context_unref (skeleton->priv->context); 787s # g_mutex_clear (&skeleton->priv->lock); 787s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 787s # #else 787s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 787s # #endif 787s # 787s # g_mutex_init (&skeleton->priv->lock); 787s # skeleton->priv->context = g_main_context_ref_thread_default (); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusInterfaceSkeletonClass *skeleton_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 787s # 787s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 787s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 787s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 787s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 787s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_skeleton_new: 787s # * 787s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 787s # * 787s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 787s # */ 787s # OrgProjectUsefulInterface * 787s # org_project_useful_interface_skeleton_new (void) 787s # { 787s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 787s # } 787s # /tmp/tmp8ukxq6_y/tmpe70rjwcf.xml: 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8ukxq6_y/tmpe70rjwcf.xml', '--output', '-', '--body'] 787s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 787s # Output: /* 787s # * This file is generated by gdbus-codegen, do not modify it. 787s # * 787s # * The license of this code is the same as for the D-Bus interface description 787s # * it was derived from. Note that it links to GLib, so must comply with the 787s # * LGPL linking clauses. 787s # */ 787s # 787s # #ifdef HAVE_CONFIG_H 787s # # include "config.h" 787s # #endif 787s # 787s # #include 787s # #ifdef G_OS_UNIX 787s # # include 787s # #endif 787s # 787s # #ifdef G_ENABLE_DEBUG 787s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 787s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 787s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 787s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 787s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 787s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 787s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 787s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 787s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 787s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 787s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 787s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 787s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 787s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 787s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 787s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 787s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 787s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 787s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 787s # #else /* !G_ENABLE_DEBUG */ 787s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 787s # * Do not access GValues directly in your code. Instead, use the 787s # * g_value_get_*() functions 787s # */ 787s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 787s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 787s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 787s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 787s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 787s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 787s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 787s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 787s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 787s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 787s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 787s # #endif /* !G_ENABLE_DEBUG */ 787s # 787s # typedef struct 787s # { 787s # GDBusArgInfo parent_struct; 787s # gboolean use_gvariant; 787s # } _ExtendedGDBusArgInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusMethodInfo parent_struct; 787s # const gchar *signal_name; 787s # gboolean pass_fdlist; 787s # } _ExtendedGDBusMethodInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusSignalInfo parent_struct; 787s # const gchar *signal_name; 787s # } _ExtendedGDBusSignalInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusPropertyInfo parent_struct; 787s # const gchar *hyphen_name; 787s # guint use_gvariant : 1; 787s # guint emits_changed_signal : 1; 787s # } _ExtendedGDBusPropertyInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusInterfaceInfo parent_struct; 787s # const gchar *hyphen_name; 787s # } _ExtendedGDBusInterfaceInfo; 787s # 787s # typedef struct 787s # { 787s # const _ExtendedGDBusPropertyInfo *info; 787s # guint prop_id; 787s # GValue orig_value; /* the value before the change */ 787s # } ChangedProperty; 787s # 787s # static void 787s # _changed_property_free (ChangedProperty *data) 787s # { 787s # g_value_unset (&data->orig_value); 787s # g_free (data); 787s # } 787s # 787s # static gboolean 787s # _g_strv_equal0 (gchar **a, gchar **b) 787s # { 787s # gboolean ret = FALSE; 787s # guint n; 787s # if (a == NULL && b == NULL) 787s # { 787s # ret = TRUE; 787s # goto out; 787s # } 787s # if (a == NULL || b == NULL) 787s # goto out; 787s # if (g_strv_length (a) != g_strv_length (b)) 787s # goto out; 787s # for (n = 0; a[n] != NULL; n++) 787s # if (g_strcmp0 (a[n], b[n]) != 0) 787s # goto out; 787s # ret = TRUE; 787s # out: 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _g_variant_equal0 (GVariant *a, GVariant *b) 787s # { 787s # gboolean ret = FALSE; 787s # if (a == NULL && b == NULL) 787s # { 787s # ret = TRUE; 787s # goto out; 787s # } 787s # if (a == NULL || b == NULL) 787s # goto out; 787s # ret = g_variant_equal (a, b); 787s # out: 787s # return ret; 787s # } 787s # 787s # G_GNUC_UNUSED static gboolean 787s # _g_value_equal (const GValue *a, const GValue *b) 787s # { 787s # gboolean ret = FALSE; 787s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 787s # switch (G_VALUE_TYPE (a)) 787s # { 787s # case G_TYPE_BOOLEAN: 787s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 787s # break; 787s # case G_TYPE_UCHAR: 787s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 787s # break; 787s # case G_TYPE_INT: 787s # ret = (g_value_get_int (a) == g_value_get_int (b)); 787s # break; 787s # case G_TYPE_UINT: 787s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 787s # break; 787s # case G_TYPE_INT64: 787s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 787s # break; 787s # case G_TYPE_UINT64: 787s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 787s # break; 787s # case G_TYPE_DOUBLE: 787s # { 787s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 787s # gdouble da = g_value_get_double (a); 787s # gdouble db = g_value_get_double (b); 787s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 787s # } 787s # break; 787s # case G_TYPE_STRING: 787s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 787s # break; 787s # case G_TYPE_VARIANT: 787s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 787s # break; 787s # default: 787s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 787s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 787s # else 787s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 787s # break; 787s # } 787s # return ret; 787s # } 787s # 787s # static void 787s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint G_GNUC_UNUSED, 787s # void *marshal_data) 787s # { 787s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 787s # (void *data1, 787s # GDBusMethodInvocation *arg_method_invocation, 787s # void *data2); 787s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 787s # GCClosure *cc = (GCClosure*) closure; 787s # void *data1, *data2; 787s # gboolean v_return; 787s # 787s # g_return_if_fail (return_value != NULL); 787s # g_return_if_fail (n_param_values == 2); 787s # 787s # if (G_CCLOSURE_SWAP_DATA (closure)) 787s # { 787s # data1 = closure->data; 787s # data2 = g_value_peek_pointer (param_values + 0); 787s # } 787s # else 787s # { 787s # data1 = g_value_peek_pointer (param_values + 0); 787s # data2 = closure->data; 787s # } 787s # 787s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 787s # (marshal_data ? marshal_data : cc->callback); 787s # 787s # v_return = 787s # callback (data1, 787s # g_marshal_value_peek_object (param_values + 1), 787s # data2); 787s # 787s # g_value_set_boolean (return_value, v_return); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ 787s # * Code for interface org.project.UsefulInterface 787s # * ------------------------------------------------------------------------ 787s # */ 787s # 787s # /** 787s # * SECTION:OrgProjectUsefulInterface 787s # * @title: OrgProjectUsefulInterface 787s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 787s # * 787s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 787s # */ 787s # 787s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 787s # { 787s # { 787s # -1, 787s # (gchar *) "arg_asv", 787s # (gchar *) "a{sv}", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 787s # { 787s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgMethodAsv", 787s # NULL, 787s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 787s # NULL 787s # }, 787s # "handle-single-arg-method-asv", 787s # FALSE 787s # }; 787s # 787s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 787s # { 787s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 787s # { 787s # { 787s # -1, 787s # (gchar *) "org.project.UsefulInterface", 787s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 787s # NULL, 787s # NULL, 787s # NULL 787s # }, 787s # "org-project-useful-interface", 787s # }; 787s # 787s # 787s # /** 787s # * org_project_useful_interface_interface_info: 787s # * 787s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 787s # * 787s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 787s # */ 787s # GDBusInterfaceInfo * 787s # org_project_useful_interface_interface_info (void) 787s # { 787s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_override_properties: 787s # * @klass: The class structure for a #GObject derived class. 787s # * @property_id_begin: The property id to assign to the first overridden property. 787s # * 787s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 787s # * The properties are overridden in the order they are defined. 787s # * 787s # * Returns: The last property id. 787s # */ 787s # guint 787s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 787s # { 787s # return property_id_begin - 1; 787s # } 787s # 787s # 787s # inline static void 787s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # 787s # /** 787s # * OrgProjectUsefulInterface: 787s # * 787s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 787s # */ 787s # 787s # /** 787s # * OrgProjectUsefulInterfaceIface: 787s # * @parent_iface: The parent interface. 787s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 787s # * 787s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 787s # */ 787s # 787s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 787s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 787s # 787s # static void 787s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 787s # { 787s # /* GObject signals for incoming D-Bus method calls: */ 787s # /** 787s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 787s # * @object: A #OrgProjectUsefulInterface. 787s # * @invocation: A #GDBusMethodInvocation. 787s # * 787s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 787s # * 787s # * 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. 787s # * 787s # * 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. 787s # */ 787s # g_signal_new ("handle-single-arg-method-asv", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 787s # g_signal_accumulator_true_handled, 787s # NULL, 787s # org_project_useful_interface_method_marshal_single_arg_method_asv, 787s # G_TYPE_BOOLEAN, 787s # 1, 787s # G_TYPE_DBUS_METHOD_INVOCATION); 787s # 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_call_single_arg_method_asv: 787s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 787s # * 787s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 787s # */ 787s # void 787s # org_project_useful_interface_call_single_arg_method_asv ( 787s # OrgProjectUsefulInterface *proxy, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 787s # "SingleArgMethodAsv", 787s # g_variant_new ("()"), 787s # G_DBUS_CALL_FLAGS_NONE, 787s # -1, 787s # cancellable, 787s # callback, 787s # user_data); 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_call_single_arg_method_asv_finish: 787s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 787s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 787s # * @error: Return location for error or %NULL. 787s # * 787s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 787s # * 787s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 787s # */ 787s # gboolean 787s # org_project_useful_interface_call_single_arg_method_asv_finish ( 787s # OrgProjectUsefulInterface *proxy, 787s # GVariant **out_arg_asv, 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GVariant *_ret; 787s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 787s # if (_ret == NULL) 787s # goto _out; 787s # g_variant_get (_ret, 787s # "(@a{sv})", 787s # out_arg_asv); 787s # g_variant_unref (_ret); 787s # _out: 787s # return _ret != NULL; 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_call_single_arg_method_asv_sync: 787s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 787s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL. 787s # * 787s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 787s # * 787s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 787s # */ 787s # gboolean 787s # org_project_useful_interface_call_single_arg_method_asv_sync ( 787s # OrgProjectUsefulInterface *proxy, 787s # GVariant **out_arg_asv, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GVariant *_ret; 787s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 787s # "SingleArgMethodAsv", 787s # g_variant_new ("()"), 787s # G_DBUS_CALL_FLAGS_NONE, 787s # -1, 787s # cancellable, 787s # error); 787s # if (_ret == NULL) 787s # goto _out; 787s # g_variant_get (_ret, 787s # "(@a{sv})", 787s # out_arg_asv); 787s # g_variant_unref (_ret); 787s # _out: 787s # return _ret != NULL; 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_complete_single_arg_method_asv: 787s # * @object: A #OrgProjectUsefulInterface. 787s # * @invocation: (transfer full): A #GDBusMethodInvocation. 787s # * @arg_asv: Parameter to return. 787s # * 787s # * 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. 787s # * 787s # * This method will free @invocation, you cannot use it afterwards. 787s # */ 787s # void 787s # org_project_useful_interface_complete_single_arg_method_asv ( 787s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 787s # GDBusMethodInvocation *invocation, 787s # GVariant *arg_asv) 787s # { 787s # g_dbus_method_invocation_return_value (invocation, 787s # g_variant_new ("(@a{sv})", 787s # arg_asv)); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectUsefulInterfaceProxy: 787s # * 787s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectUsefulInterfaceProxyClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectUsefulInterfaceProxy. 787s # */ 787s # 787s # struct _OrgProjectUsefulInterfaceProxyPrivate 787s # { 787s # GData *qdata; 787s # }; 787s # 787s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 787s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_useful_interface_proxy_finalize (GObject *object) 787s # { 787s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 787s # g_datalist_clear (&proxy->priv->qdata); 787s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # const GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 787s # const gchar *sender_name G_GNUC_UNUSED, 787s # const gchar *signal_name, 787s # GVariant *parameters) 787s # { 787s # _ExtendedGDBusSignalInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # gsize n; 787s # guint signal_id; 787s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 787s # if (info == NULL) 787s # return; 787s # num_params = g_variant_n_children (parameters); 787s # paramv = g_new0 (GValue, num_params + 1); 787s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 787s # g_value_set_object (¶mv[0], proxy); 787s # g_variant_iter_init (&iter, parameters); 787s # n = 1; 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 787s # g_signal_emitv (paramv, signal_id, 0, NULL); 787s # for (n = 0; n < num_params + 1; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 787s # GVariant *changed_properties, 787s # const gchar *const *invalidated_properties) 787s # { 787s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 787s # guint n; 787s # const gchar *key; 787s # GVariantIter *iter; 787s # _ExtendedGDBusPropertyInfo *info; 787s # g_variant_get (changed_properties, "a{sv}", &iter); 787s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 787s # g_datalist_remove_data (&proxy->priv->qdata, key); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # g_variant_iter_free (iter); 787s # for (n = 0; invalidated_properties[n] != NULL; n++) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 787s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 787s # #else 787s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 787s # #endif 787s # 787s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusProxyClass *proxy_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 787s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 787s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 787s # 787s # proxy_class = G_DBUS_PROXY_CLASS (klass); 787s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 787s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_proxy_new: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 787s # * 787s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_useful_interface_proxy_new ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # g_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); 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_proxy_new_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectUsefulInterface * 787s # org_project_useful_interface_proxy_new_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_proxy_new_sync: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectUsefulInterface * 787s # org_project_useful_interface_proxy_new_sync ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /** 787s # * org_project_useful_interface_proxy_new_for_bus: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 787s # * 787s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_useful_interface_proxy_new_for_bus ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # g_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); 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_proxy_new_for_bus_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectUsefulInterface * 787s # org_project_useful_interface_proxy_new_for_bus_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_proxy_new_for_bus_sync: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectUsefulInterface * 787s # org_project_useful_interface_proxy_new_for_bus_sync ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectUsefulInterfaceSkeleton: 787s # * 787s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectUsefulInterfaceSkeletonClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 787s # */ 787s # 787s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 787s # { 787s # GValue *properties; 787s # GList *changed_properties; 787s # GSource *changed_properties_idle_source; 787s # GMainContext *context; 787s # GMutex lock; 787s # }; 787s # 787s # static void 787s # _org_project_useful_interface_skeleton_handle_method_call ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name, 787s # const gchar *method_name, 787s # GVariant *parameters, 787s # GDBusMethodInvocation *invocation, 787s # gpointer user_data) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 787s # _ExtendedGDBusMethodInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # guint num_extra; 787s # gsize n; 787s # guint signal_id; 787s # GValue return_value = G_VALUE_INIT; 787s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 787s # g_assert (info != NULL); 787s # num_params = g_variant_n_children (parameters); 787s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 787s # n = 0; 787s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 787s # g_value_set_object (¶mv[n++], skeleton); 787s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 787s # g_value_set_object (¶mv[n++], invocation); 787s # if (info->pass_fdlist) 787s # { 787s # #ifdef G_OS_UNIX 787s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 787s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 787s # #else 787s # g_assert_not_reached (); 787s # #endif 787s # } 787s # g_variant_iter_init (&iter, parameters); 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 787s # g_value_init (&return_value, G_TYPE_BOOLEAN); 787s # g_signal_emitv (paramv, signal_id, 0, &return_value); 787s # if (!g_value_get_boolean (&return_value)) 787s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 787s # g_value_unset (&return_value); 787s # for (n = 0; n < num_params + num_extra; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static GVariant * 787s # _org_project_useful_interface_skeleton_handle_get_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # GVariant *ret; 787s # ret = NULL; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # g_value_init (&value, pspec->value_type); 787s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 787s # g_value_unset (&value); 787s # } 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _org_project_useful_interface_skeleton_handle_set_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GVariant *variant, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # gboolean ret; 787s # ret = FALSE; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # if (info->use_gvariant) 787s # g_value_set_variant (&value, variant); 787s # else 787s # g_dbus_gvariant_to_gvalue (variant, &value); 787s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # g_value_unset (&value); 787s # ret = TRUE; 787s # } 787s # return ret; 787s # } 787s # 787s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 787s # { 787s # _org_project_useful_interface_skeleton_handle_method_call, 787s # _org_project_useful_interface_skeleton_handle_get_property, 787s # _org_project_useful_interface_skeleton_handle_set_property, 787s # {NULL} 787s # }; 787s # 787s # static GDBusInterfaceInfo * 787s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return org_project_useful_interface_interface_info (); 787s # } 787s # 787s # static GDBusInterfaceVTable * 787s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 787s # } 787s # 787s # static GVariant * 787s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 787s # 787s # GVariantBuilder builder; 787s # guint n; 787s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 787s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 787s # goto out; 787s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 787s # { 787s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 787s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 787s # { 787s # GVariant *value; 787s # 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); 787s # if (value != NULL) 787s # { 787s # g_variant_take_ref (value); 787s # g_variant_builder_add (&builder, "{sv}", info->name, value); 787s # g_variant_unref (value); 787s # } 787s # } 787s # } 787s # out: 787s # return g_variant_builder_end (&builder); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_useful_interface_skeleton_finalize (GObject *object) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 787s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 787s # if (skeleton->priv->changed_properties_idle_source != NULL) 787s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 787s # g_main_context_unref (skeleton->priv->context); 787s # g_mutex_clear (&skeleton->priv->lock); 787s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 787s # #else 787s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 787s # #endif 787s # 787s # g_mutex_init (&skeleton->priv->lock); 787s # skeleton->priv->context = g_main_context_ref_thread_default (); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusInterfaceSkeletonClass *skeleton_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 787s # 787s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 787s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 787s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 787s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 787s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_skeleton_new: 787s # * 787s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 787s # * 787s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 787s # */ 787s # OrgProjectUsefulInterface * 787s # org_project_useful_interface_skeleton_new (void) 787s # { 787s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 787s # } 787s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 787s # tmpdir: /tmp/tmp_g3n0_xq 787s # codegen: /usr/bin/gdbus-codegen 787s # /tmp/tmp_g3n0_xq/tmp47pgnlsi.xml: 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_g3n0_xq/tmp47pgnlsi.xml', '--output', '-', '--body'] 787s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 787s # Output: /* 787s # * This file is generated by gdbus-codegen, do not modify it. 787s # * 787s # * The license of this code is the same as for the D-Bus interface description 787s # * it was derived from. Note that it links to GLib, so must comply with the 787s # * LGPL linking clauses. 787s # */ 787s # 787s # #ifdef HAVE_CONFIG_H 787s # # include "config.h" 787s # #endif 787s # 787s # #include 787s # #ifdef G_OS_UNIX 787s # # include 787s # #endif 787s # 787s # #ifdef G_ENABLE_DEBUG 787s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 787s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 787s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 787s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 787s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 787s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 787s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 787s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 787s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 787s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 787s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 787s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 787s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 787s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 787s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 787s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 787s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 787s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 787s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 787s # #else /* !G_ENABLE_DEBUG */ 787s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 787s # * Do not access GValues directly in your code. Instead, use the 787s # * g_value_get_*() functions 787s # */ 787s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 787s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 787s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 787s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 787s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 787s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 787s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 787s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 787s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 787s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 787s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 787s # #endif /* !G_ENABLE_DEBUG */ 787s # 787s # typedef struct 787s # { 787s # GDBusArgInfo parent_struct; 787s # gboolean use_gvariant; 787s # } _ExtendedGDBusArgInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusMethodInfo parent_struct; 787s # const gchar *signal_name; 787s # gboolean pass_fdlist; 787s # } _ExtendedGDBusMethodInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusSignalInfo parent_struct; 787s # const gchar *signal_name; 787s # } _ExtendedGDBusSignalInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusPropertyInfo parent_struct; 787s # const gchar *hyphen_name; 787s # guint use_gvariant : 1; 787s # guint emits_changed_signal : 1; 787s # } _ExtendedGDBusPropertyInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusInterfaceInfo parent_struct; 787s # const gchar *hyphen_name; 787s # } _ExtendedGDBusInterfaceInfo; 787s # 787s # typedef struct 787s # { 787s # const _ExtendedGDBusPropertyInfo *info; 787s # guint prop_id; 787s # GValue orig_value; /* the value before the change */ 787s # } ChangedProperty; 787s # 787s # static void 787s # _changed_property_free (ChangedProperty *data) 787s # { 787s # g_value_unset (&data->orig_value); 787s # g_free (data); 787s # } 787s # 787s # static gboolean 787s # _g_strv_equal0 (gchar **a, gchar **b) 787s # { 787s # gboolean ret = FALSE; 787s # guint n; 787s # if (a == NULL && b == NULL) 787s # { 787s # ret = TRUE; 787s # goto out; 787s # } 787s # if (a == NULL || b == NULL) 787s # goto out; 787s # if (g_strv_length (a) != g_strv_length (b)) 787s # goto out; 787s # for (n = 0; a[n] != NULL; n++) 787s # if (g_strcmp0 (a[n], b[n]) != 0) 787s # goto out; 787s # ret = TRUE; 787s # out: 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _g_variant_equal0 (GVariant *a, GVariant *b) 787s # { 787s # gboolean ret = FALSE; 787s # if (a == NULL && b == NULL) 787s # { 787s # ret = TRUE; 787s # goto out; 787s # } 787s # if (a == NULL || b == NULL) 787s # goto out; 787s # ret = g_variant_equal (a, b); 787s # out: 787s # return ret; 787s # } 787s # 787s # G_GNUC_UNUSED static gboolean 787s # _g_value_equal (const GValue *a, const GValue *b) 787s # { 787s # gboolean ret = FALSE; 787s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 787s # switch (G_VALUE_TYPE (a)) 787s # { 787s # case G_TYPE_BOOLEAN: 787s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 787s # break; 787s # case G_TYPE_UCHAR: 787s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 787s # break; 787s # case G_TYPE_INT: 787s # ret = (g_value_get_int (a) == g_value_get_int (b)); 787s # break; 787s # case G_TYPE_UINT: 787s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 787s # break; 787s # case G_TYPE_INT64: 787s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 787s # break; 787s # case G_TYPE_UINT64: 787s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 787s # break; 787s # case G_TYPE_DOUBLE: 787s # { 787s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 787s # gdouble da = g_value_get_double (a); 787s # gdouble db = g_value_get_double (b); 787s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 787s # } 787s # break; 787s # case G_TYPE_STRING: 787s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 787s # break; 787s # case G_TYPE_VARIANT: 787s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 787s # break; 787s # default: 787s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 787s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 787s # else 787s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 787s # break; 787s # } 787s # return ret; 787s # } 787s # 787s # static void 787s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint G_GNUC_UNUSED, 787s # void *marshal_data) 787s # { 787s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 787s # (void *data1, 787s # GDBusMethodInvocation *arg_method_invocation, 787s # gboolean arg_an_b, 787s # guchar arg_an_y, 787s # gint16 arg_an_n, 787s # guint16 arg_an_q, 787s # gint arg_an_i, 787s # guint arg_an_u, 787s # gint64 arg_an_x, 787s # guint64 arg_an_t, 787s # gdouble arg_an_d, 787s # const gchar *arg_an_s, 787s # const gchar *arg_an_o, 787s # const gchar *arg_an_g, 787s # GVariant *arg_an_h, 787s # const gchar *arg_an_ay, 787s # const gchar *const *arg_an_as, 787s # const gchar *const *arg_an_ao, 787s # const gchar *const *arg_an_aay, 787s # GVariant *arg_an_asv, 787s # void *data2); 787s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 787s # GCClosure *cc = (GCClosure*) closure; 787s # void *data1, *data2; 787s # gboolean v_return; 787s # 787s # g_return_if_fail (return_value != NULL); 787s # g_return_if_fail (n_param_values == 20); 787s # 787s # if (G_CCLOSURE_SWAP_DATA (closure)) 787s # { 787s # data1 = closure->data; 787s # data2 = g_value_peek_pointer (param_values + 0); 787s # } 787s # else 787s # { 787s # data1 = g_value_peek_pointer (param_values + 0); 787s # data2 = closure->data; 787s # } 787s # 787s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 787s # (marshal_data ? marshal_data : cc->callback); 787s # 787s # v_return = 787s # callback (data1, 787s # g_marshal_value_peek_object (param_values + 1), 787s # g_marshal_value_peek_boolean (param_values + 2), 787s # g_marshal_value_peek_uchar (param_values + 3), 787s # g_marshal_value_peek_int (param_values + 4), 787s # g_marshal_value_peek_uint (param_values + 5), 787s # g_marshal_value_peek_int (param_values + 6), 787s # g_marshal_value_peek_uint (param_values + 7), 787s # g_marshal_value_peek_int64 (param_values + 8), 787s # g_marshal_value_peek_uint64 (param_values + 9), 787s # g_marshal_value_peek_double (param_values + 10), 787s # g_marshal_value_peek_string (param_values + 11), 787s # g_marshal_value_peek_string (param_values + 12), 787s # g_marshal_value_peek_string (param_values + 13), 787s # g_marshal_value_peek_variant (param_values + 14), 787s # g_marshal_value_peek_string (param_values + 15), 787s # g_marshal_value_peek_boxed (param_values + 16), 787s # g_marshal_value_peek_boxed (param_values + 17), 787s # g_marshal_value_peek_boxed (param_values + 18), 787s # g_marshal_value_peek_variant (param_values + 19), 787s # data2); 787s # 787s # g_value_set_boolean (return_value, v_return); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ 787s # * Code for interface org.project.CallableIface 787s # * ------------------------------------------------------------------------ 787s # */ 787s # 787s # /** 787s # * SECTION:OrgProjectCallableIface 787s # * @title: OrgProjectCallableIface 787s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 787s # * 787s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 787s # */ 787s # 787s # /* ---- Introspection data for org.project.CallableIface ---- */ 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_b", 787s # (gchar *) "b", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_y", 787s # (gchar *) "y", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_n", 787s # (gchar *) "n", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_q", 787s # (gchar *) "q", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_i", 787s # (gchar *) "i", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_u", 787s # (gchar *) "u", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_x", 787s # (gchar *) "x", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_t", 787s # (gchar *) "t", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_d", 787s # (gchar *) "d", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_s", 787s # (gchar *) "s", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_o", 787s # (gchar *) "o", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_g", 787s # (gchar *) "g", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_h", 787s # (gchar *) "h", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_ay", 787s # (gchar *) "ay", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_as", 787s # (gchar *) "as", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_ao", 787s # (gchar *) "ao", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_aay", 787s # (gchar *) "aay", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_asv", 787s # (gchar *) "a{sv}", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 787s # { 787s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 787s # { 787s # { 787s # -1, 787s # (gchar *) "MethodWithManyArgs", 787s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 787s # NULL, 787s # NULL 787s # }, 787s # "handle-method-with-many-args", 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_b", 787s # (gchar *) "b", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_y", 787s # (gchar *) "y", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_n", 787s # (gchar *) "n", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_q", 787s # (gchar *) "q", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_i", 787s # (gchar *) "i", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_u", 787s # (gchar *) "u", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_x", 787s # (gchar *) "x", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_t", 787s # (gchar *) "t", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_d", 787s # (gchar *) "d", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_s", 787s # (gchar *) "s", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_o", 787s # (gchar *) "o", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_g", 787s # (gchar *) "g", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_h", 787s # (gchar *) "h", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_ay", 787s # (gchar *) "ay", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_as", 787s # (gchar *) "as", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_ao", 787s # (gchar *) "ao", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_aay", 787s # (gchar *) "aay", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_asv", 787s # (gchar *) "a{sv}", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 787s # { 787s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 787s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 787s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 787s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 787s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 787s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 787s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 787s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 787s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 787s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 787s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 787s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 787s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 787s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 787s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 787s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 787s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 787s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SameMethodWithManyArgs", 787s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 787s # NULL, 787s # NULL 787s # }, 787s # "handle-same-method-with-many-args", 787s # FALSE 787s # }; 787s # 787s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 787s # { 787s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 787s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 787s # { 787s # { 787s # -1, 787s # (gchar *) "org.project.CallableIface", 787s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 787s # NULL, 787s # NULL, 787s # NULL 787s # }, 787s # "org-project-callable-iface", 787s # }; 787s # 787s # 787s # /** 787s # * org_project_callable_iface_interface_info: 787s # * 787s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 787s # * 787s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 787s # */ 787s # GDBusInterfaceInfo * 787s # org_project_callable_iface_interface_info (void) 787s # { 787s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_override_properties: 787s # * @klass: The class structure for a #GObject derived class. 787s # * @property_id_begin: The property id to assign to the first overridden property. 787s # * 787s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 787s # * The properties are overridden in the order they are defined. 787s # * 787s # * Returns: The last property id. 787s # */ 787s # guint 787s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 787s # { 787s # return property_id_begin - 1; 787s # } 787s # 787s # 787s # inline static void 787s # org_project_callable_iface_method_marshal_method_with_many_args ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # _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, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # inline static void 787s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # _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, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # 787s # /** 787s # * OrgProjectCallableIface: 787s # * 787s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 787s # */ 787s # 787s # /** 787s # * OrgProjectCallableIfaceIface: 787s # * @parent_iface: The parent interface. 787s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 787s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 787s # * 787s # * Virtual table for the D-Bus interface org.project.CallableIface. 787s # */ 787s # 787s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 787s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 787s # 787s # static void 787s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 787s # { 787s # /* GObject signals for incoming D-Bus method calls: */ 787s # /** 787s # * OrgProjectCallableIface::handle-method-with-many-args: 787s # * @object: A #OrgProjectCallableIface. 787s # * @invocation: A #GDBusMethodInvocation. 787s # * @arg_an_b: Argument passed by remote caller. 787s # * @arg_an_y: Argument passed by remote caller. 787s # * @arg_an_n: Argument passed by remote caller. 787s # * @arg_an_q: Argument passed by remote caller. 787s # * @arg_an_i: Argument passed by remote caller. 787s # * @arg_an_u: Argument passed by remote caller. 787s # * @arg_an_x: Argument passed by remote caller. 787s # * @arg_an_t: Argument passed by remote caller. 787s # * @arg_an_d: Argument passed by remote caller. 787s # * @arg_an_s: Argument passed by remote caller. 787s # * @arg_an_o: Argument passed by remote caller. 787s # * @arg_an_g: Argument passed by remote caller. 787s # * @arg_an_h: Argument passed by remote caller. 787s # * @arg_an_ay: Argument passed by remote caller. 787s # * @arg_an_as: Argument passed by remote caller. 787s # * @arg_an_ao: Argument passed by remote caller. 787s # * @arg_an_aay: Argument passed by remote caller. 787s # * @arg_an_asv: Argument passed by remote caller. 787s # * 787s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 787s # * 787s # * 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. 787s # * 787s # * 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. 787s # */ 787s # g_signal_new ("handle-method-with-many-args", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 787s # g_signal_accumulator_true_handled, 787s # NULL, 787s # org_project_callable_iface_method_marshal_method_with_many_args, 787s # G_TYPE_BOOLEAN, 787s # 19, 787s # 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); 787s # 787s # /** 787s # * OrgProjectCallableIface::handle-same-method-with-many-args: 787s # * @object: A #OrgProjectCallableIface. 787s # * @invocation: A #GDBusMethodInvocation. 787s # * @arg_an_b: Argument passed by remote caller. 787s # * @arg_an_y: Argument passed by remote caller. 787s # * @arg_an_n: Argument passed by remote caller. 787s # * @arg_an_q: Argument passed by remote caller. 787s # * @arg_an_i: Argument passed by remote caller. 787s # * @arg_an_u: Argument passed by remote caller. 787s # * @arg_an_x: Argument passed by remote caller. 787s # * @arg_an_t: Argument passed by remote caller. 787s # * @arg_an_d: Argument passed by remote caller. 787s # * @arg_an_s: Argument passed by remote caller. 787s # * @arg_an_o: Argument passed by remote caller. 787s # * @arg_an_g: Argument passed by remote caller. 787s # * @arg_an_h: Argument passed by remote caller. 787s # * @arg_an_ay: Argument passed by remote caller. 787s # * @arg_an_as: Argument passed by remote caller. 787s # * @arg_an_ao: Argument passed by remote caller. 787s # * @arg_an_aay: Argument passed by remote caller. 787s # * @arg_an_asv: Argument passed by remote caller. 787s # * 787s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 787s # * 787s # * 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. 787s # * 787s # * 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. 787s # */ 787s # g_signal_new ("handle-same-method-with-many-args", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 787s # g_signal_accumulator_true_handled, 787s # NULL, 787s # org_project_callable_iface_method_marshal_same_method_with_many_args, 787s # G_TYPE_BOOLEAN, 787s # 19, 787s # 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); 787s # 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_call_method_with_many_args: 787s # * @proxy: A #OrgProjectCallableIfaceProxy. 787s # * @arg_an_b: Argument to pass with the method invocation. 787s # * @arg_an_y: Argument to pass with the method invocation. 787s # * @arg_an_n: Argument to pass with the method invocation. 787s # * @arg_an_q: Argument to pass with the method invocation. 787s # * @arg_an_i: Argument to pass with the method invocation. 787s # * @arg_an_u: Argument to pass with the method invocation. 787s # * @arg_an_x: Argument to pass with the method invocation. 787s # * @arg_an_t: Argument to pass with the method invocation. 787s # * @arg_an_d: Argument to pass with the method invocation. 787s # * @arg_an_s: Argument to pass with the method invocation. 787s # * @arg_an_o: Argument to pass with the method invocation. 787s # * @arg_an_g: Argument to pass with the method invocation. 787s # * @arg_an_h: Argument to pass with the method invocation. 787s # * @arg_an_ay: Argument to pass with the method invocation. 787s # * @arg_an_as: Argument to pass with the method invocation. 787s # * @arg_an_ao: Argument to pass with the method invocation. 787s # * @arg_an_aay: Argument to pass with the method invocation. 787s # * @arg_an_asv: Argument to pass with the method invocation. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 787s # * 787s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 787s # */ 787s # void 787s # org_project_callable_iface_call_method_with_many_args ( 787s # OrgProjectCallableIface *proxy, 787s # gboolean arg_an_b, 787s # guchar arg_an_y, 787s # gint16 arg_an_n, 787s # guint16 arg_an_q, 787s # gint arg_an_i, 787s # guint arg_an_u, 787s # gint64 arg_an_x, 787s # guint64 arg_an_t, 787s # gdouble arg_an_d, 787s # const gchar *arg_an_s, 787s # const gchar *arg_an_o, 787s # const gchar *arg_an_g, 787s # GVariant *arg_an_h, 787s # const gchar *arg_an_ay, 787s # const gchar *const *arg_an_as, 787s # const gchar *const *arg_an_ao, 787s # const gchar *const *arg_an_aay, 787s # GVariant *arg_an_asv, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 787s # "MethodWithManyArgs", 787s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 787s # arg_an_b, 787s # arg_an_y, 787s # arg_an_n, 787s # arg_an_q, 787s # arg_an_i, 787s # arg_an_u, 787s # arg_an_x, 787s # arg_an_t, 787s # arg_an_d, 787s # arg_an_s, 787s # arg_an_o, 787s # arg_an_g, 787s # arg_an_h, 787s # arg_an_ay, 787s # arg_an_as, 787s # arg_an_ao, 787s # arg_an_aay, 787s # arg_an_asv), 787s # G_DBUS_CALL_FLAGS_NONE, 787s # -1, 787s # cancellable, 787s # callback, 787s # user_data); 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_call_method_with_many_args_finish: 787s # * @proxy: A #OrgProjectCallableIfaceProxy. 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 787s # * @error: Return location for error or %NULL. 787s # * 787s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 787s # * 787s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 787s # */ 787s # gboolean 787s # org_project_callable_iface_call_method_with_many_args_finish ( 787s # OrgProjectCallableIface *proxy, 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GVariant *_ret; 787s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 787s # if (_ret == NULL) 787s # goto _out; 787s # g_variant_get (_ret, 787s # "()"); 787s # g_variant_unref (_ret); 787s # _out: 787s # return _ret != NULL; 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_call_method_with_many_args_sync: 787s # * @proxy: A #OrgProjectCallableIfaceProxy. 787s # * @arg_an_b: Argument to pass with the method invocation. 787s # * @arg_an_y: Argument to pass with the method invocation. 787s # * @arg_an_n: Argument to pass with the method invocation. 787s # * @arg_an_q: Argument to pass with the method invocation. 787s # * @arg_an_i: Argument to pass with the method invocation. 787s # * @arg_an_u: Argument to pass with the method invocation. 787s # * @arg_an_x: Argument to pass with the method invocation. 787s # * @arg_an_t: Argument to pass with the method invocation. 787s # * @arg_an_d: Argument to pass with the method invocation. 787s # * @arg_an_s: Argument to pass with the method invocation. 787s # * @arg_an_o: Argument to pass with the method invocation. 787s # * @arg_an_g: Argument to pass with the method invocation. 787s # * @arg_an_h: Argument to pass with the method invocation. 787s # * @arg_an_ay: Argument to pass with the method invocation. 787s # * @arg_an_as: Argument to pass with the method invocation. 787s # * @arg_an_ao: Argument to pass with the method invocation. 787s # * @arg_an_aay: Argument to pass with the method invocation. 787s # * @arg_an_asv: Argument to pass with the method invocation. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL. 787s # * 787s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 787s # * 787s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 787s # */ 787s # gboolean 787s # org_project_callable_iface_call_method_with_many_args_sync ( 787s # OrgProjectCallableIface *proxy, 787s # gboolean arg_an_b, 787s # guchar arg_an_y, 787s # gint16 arg_an_n, 787s # guint16 arg_an_q, 787s # gint arg_an_i, 787s # guint arg_an_u, 787s # gint64 arg_an_x, 787s # guint64 arg_an_t, 787s # gdouble arg_an_d, 787s # const gchar *arg_an_s, 787s # const gchar *arg_an_o, 787s # const gchar *arg_an_g, 787s # GVariant *arg_an_h, 787s # const gchar *arg_an_ay, 787s # const gchar *const *arg_an_as, 787s # const gchar *const *arg_an_ao, 787s # const gchar *const *arg_an_aay, 787s # GVariant *arg_an_asv, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GVariant *_ret; 787s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 787s # "MethodWithManyArgs", 787s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 787s # arg_an_b, 787s # arg_an_y, 787s # arg_an_n, 787s # arg_an_q, 787s # arg_an_i, 787s # arg_an_u, 787s # arg_an_x, 787s # arg_an_t, 787s # arg_an_d, 787s # arg_an_s, 787s # arg_an_o, 787s # arg_an_g, 787s # arg_an_h, 787s # arg_an_ay, 787s # arg_an_as, 787s # arg_an_ao, 787s # arg_an_aay, 787s # arg_an_asv), 787s # G_DBUS_CALL_FLAGS_NONE, 787s # -1, 787s # cancellable, 787s # error); 787s # if (_ret == NULL) 787s # goto _out; 787s # g_variant_get (_ret, 787s # "()"); 787s # g_variant_unref (_ret); 787s # _out: 787s # return _ret != NULL; 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_call_same_method_with_many_args: 787s # * @proxy: A #OrgProjectCallableIfaceProxy. 787s # * @arg_an_b: Argument to pass with the method invocation. 787s # * @arg_an_y: Argument to pass with the method invocation. 787s # * @arg_an_n: Argument to pass with the method invocation. 787s # * @arg_an_q: Argument to pass with the method invocation. 787s # * @arg_an_i: Argument to pass with the method invocation. 787s # * @arg_an_u: Argument to pass with the method invocation. 787s # * @arg_an_x: Argument to pass with the method invocation. 787s # * @arg_an_t: Argument to pass with the method invocation. 787s # * @arg_an_d: Argument to pass with the method invocation. 787s # * @arg_an_s: Argument to pass with the method invocation. 787s # * @arg_an_o: Argument to pass with the method invocation. 787s # * @arg_an_g: Argument to pass with the method invocation. 787s # * @arg_an_h: Argument to pass with the method invocation. 787s # * @arg_an_ay: Argument to pass with the method invocation. 787s # * @arg_an_as: Argument to pass with the method invocation. 787s # * @arg_an_ao: Argument to pass with the method invocation. 787s # * @arg_an_aay: Argument to pass with the method invocation. 787s # * @arg_an_asv: Argument to pass with the method invocation. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 787s # * 787s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 787s # */ 787s # void 787s # org_project_callable_iface_call_same_method_with_many_args ( 787s # OrgProjectCallableIface *proxy, 787s # gboolean arg_an_b, 787s # guchar arg_an_y, 787s # gint16 arg_an_n, 787s # guint16 arg_an_q, 787s # gint arg_an_i, 787s # guint arg_an_u, 787s # gint64 arg_an_x, 787s # guint64 arg_an_t, 787s # gdouble arg_an_d, 787s # const gchar *arg_an_s, 787s # const gchar *arg_an_o, 787s # const gchar *arg_an_g, 787s # GVariant *arg_an_h, 787s # const gchar *arg_an_ay, 787s # const gchar *const *arg_an_as, 787s # const gchar *const *arg_an_ao, 787s # const gchar *const *arg_an_aay, 787s # GVariant *arg_an_asv, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 787s # "SameMethodWithManyArgs", 787s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 787s # arg_an_b, 787s # arg_an_y, 787s # arg_an_n, 787s # arg_an_q, 787s # arg_an_i, 787s # arg_an_u, 787s # arg_an_x, 787s # arg_an_t, 787s # arg_an_d, 787s # arg_an_s, 787s # arg_an_o, 787s # arg_an_g, 787s # arg_an_h, 787s # arg_an_ay, 787s # arg_an_as, 787s # arg_an_ao, 787s # arg_an_aay, 787s # arg_an_asv), 787s # G_DBUS_CALL_FLAGS_NONE, 787s # -1, 787s # cancellable, 787s # callback, 787s # user_data); 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_call_same_method_with_many_args_finish: 787s # * @proxy: A #OrgProjectCallableIfaceProxy. 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 787s # * @error: Return location for error or %NULL. 787s # * 787s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 787s # * 787s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 787s # */ 787s # gboolean 787s # org_project_callable_iface_call_same_method_with_many_args_finish ( 787s # OrgProjectCallableIface *proxy, 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GVariant *_ret; 787s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 787s # if (_ret == NULL) 787s # goto _out; 787s # g_variant_get (_ret, 787s # "()"); 787s # g_variant_unref (_ret); 787s # _out: 787s # return _ret != NULL; 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_call_same_method_with_many_args_sync: 787s # * @proxy: A #OrgProjectCallableIfaceProxy. 787s # * @arg_an_b: Argument to pass with the method invocation. 787s # * @arg_an_y: Argument to pass with the method invocation. 787s # * @arg_an_n: Argument to pass with the method invocation. 787s # * @arg_an_q: Argument to pass with the method invocation. 787s # * @arg_an_i: Argument to pass with the method invocation. 787s # * @arg_an_u: Argument to pass with the method invocation. 787s # * @arg_an_x: Argument to pass with the method invocation. 787s # * @arg_an_t: Argument to pass with the method invocation. 787s # * @arg_an_d: Argument to pass with the method invocation. 787s # * @arg_an_s: Argument to pass with the method invocation. 787s # * @arg_an_o: Argument to pass with the method invocation. 787s # * @arg_an_g: Argument to pass with the method invocation. 787s # * @arg_an_h: Argument to pass with the method invocation. 787s # * @arg_an_ay: Argument to pass with the method invocation. 787s # * @arg_an_as: Argument to pass with the method invocation. 787s # * @arg_an_ao: Argument to pass with the method invocation. 787s # * @arg_an_aay: Argument to pass with the method invocation. 787s # * @arg_an_asv: Argument to pass with the method invocation. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL. 787s # * 787s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 787s # * 787s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 787s # */ 787s # gboolean 787s # org_project_callable_iface_call_same_method_with_many_args_sync ( 787s # OrgProjectCallableIface *proxy, 787s # gboolean arg_an_b, 787s # guchar arg_an_y, 787s # gint16 arg_an_n, 787s # guint16 arg_an_q, 787s # gint arg_an_i, 787s # guint arg_an_u, 787s # gint64 arg_an_x, 787s # guint64 arg_an_t, 787s # gdouble arg_an_d, 787s # const gchar *arg_an_s, 787s # const gchar *arg_an_o, 787s # const gchar *arg_an_g, 787s # GVariant *arg_an_h, 787s # const gchar *arg_an_ay, 787s # const gchar *const *arg_an_as, 787s # const gchar *const *arg_an_ao, 787s # const gchar *const *arg_an_aay, 787s # GVariant *arg_an_asv, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GVariant *_ret; 787s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 787s # "SameMethodWithManyArgs", 787s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 787s # arg_an_b, 787s # arg_an_y, 787s # arg_an_n, 787s # arg_an_q, 787s # arg_an_i, 787s # arg_an_u, 787s # arg_an_x, 787s # arg_an_t, 787s # arg_an_d, 787s # arg_an_s, 787s # arg_an_o, 787s # arg_an_g, 787s # arg_an_h, 787s # arg_an_ay, 787s # arg_an_as, 787s # arg_an_ao, 787s # arg_an_aay, 787s # arg_an_asv), 787s # G_DBUS_CALL_FLAGS_NONE, 787s # -1, 787s # cancellable, 787s # error); 787s # if (_ret == NULL) 787s # goto _out; 787s # g_variant_get (_ret, 787s # "()"); 787s # g_variant_unref (_ret); 787s # _out: 787s # return _ret != NULL; 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_complete_method_with_many_args: 787s # * @object: A #OrgProjectCallableIface. 787s # * @invocation: (transfer full): A #GDBusMethodInvocation. 787s # * 787s # * 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. 787s # * 787s # * This method will free @invocation, you cannot use it afterwards. 787s # */ 787s # void 787s # org_project_callable_iface_complete_method_with_many_args ( 787s # OrgProjectCallableIface *object G_GNUC_UNUSED, 787s # GDBusMethodInvocation *invocation) 787s # { 787s # g_dbus_method_invocation_return_value (invocation, 787s # g_variant_new ("()")); 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_complete_same_method_with_many_args: 787s # * @object: A #OrgProjectCallableIface. 787s # * @invocation: (transfer full): A #GDBusMethodInvocation. 787s # * 787s # * 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. 787s # * 787s # * This method will free @invocation, you cannot use it afterwards. 787s # */ 787s # void 787s # org_project_callable_iface_complete_same_method_with_many_args ( 787s # OrgProjectCallableIface *object G_GNUC_UNUSED, 787s # GDBusMethodInvocation *invocation) 787s # { 787s # g_dbus_method_invocation_return_value (invocation, 787s # g_variant_new ("()")); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectCallableIfaceProxy: 787s # * 787s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectCallableIfaceProxyClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectCallableIfaceProxy. 787s # */ 787s # 787s # struct _OrgProjectCallableIfaceProxyPrivate 787s # { 787s # GData *qdata; 787s # }; 787s # 787s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 787s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_callable_iface_proxy_finalize (GObject *object) 787s # { 787s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 787s # g_datalist_clear (&proxy->priv->qdata); 787s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # const GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 787s # const gchar *sender_name G_GNUC_UNUSED, 787s # const gchar *signal_name, 787s # GVariant *parameters) 787s # { 787s # _ExtendedGDBusSignalInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # gsize n; 787s # guint signal_id; 787s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 787s # if (info == NULL) 787s # return; 787s # num_params = g_variant_n_children (parameters); 787s # paramv = g_new0 (GValue, num_params + 1); 787s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 787s # g_value_set_object (¶mv[0], proxy); 787s # g_variant_iter_init (&iter, parameters); 787s # n = 1; 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 787s # g_signal_emitv (paramv, signal_id, 0, NULL); 787s # for (n = 0; n < num_params + 1; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static void 787s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 787s # GVariant *changed_properties, 787s # const gchar *const *invalidated_properties) 787s # { 787s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 787s # guint n; 787s # const gchar *key; 787s # GVariantIter *iter; 787s # _ExtendedGDBusPropertyInfo *info; 787s # g_variant_get (changed_properties, "a{sv}", &iter); 787s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 787s # g_datalist_remove_data (&proxy->priv->qdata, key); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # g_variant_iter_free (iter); 787s # for (n = 0; invalidated_properties[n] != NULL; n++) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 787s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # } 787s # 787s # static void 787s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 787s # #else 787s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 787s # #endif 787s # 787s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 787s # } 787s # 787s # static void 787s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusProxyClass *proxy_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 787s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 787s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 787s # 787s # proxy_class = G_DBUS_PROXY_CLASS (klass); 787s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 787s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_proxy_new: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 787s # * 787s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_callable_iface_proxy_new ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # 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); 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_proxy_new_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectCallableIface * 787s # org_project_callable_iface_proxy_new_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_CALLABLE_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_proxy_new_sync: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectCallableIface * 787s # org_project_callable_iface_proxy_new_sync ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_CALLABLE_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /** 787s # * org_project_callable_iface_proxy_new_for_bus: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 787s # * 787s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_callable_iface_proxy_new_for_bus ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # 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); 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_proxy_new_for_bus_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectCallableIface * 787s # org_project_callable_iface_proxy_new_for_bus_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_CALLABLE_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_proxy_new_for_bus_sync: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectCallableIface * 787s # org_project_callable_iface_proxy_new_for_bus_sync ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_CALLABLE_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectCallableIfaceSkeleton: 787s # * 787s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectCallableIfaceSkeletonClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectCallableIfaceSkeleton. 787s # */ 787s # 787s # struct _OrgProjectCallableIfaceSkeletonPrivate 787s # { 787s # GValue *properties; 787s # GList *changed_properties; 787s # GSource *changed_properties_idle_source; 787s # GMainContext *context; 787s # GMutex lock; 787s # }; 787s # 787s # static void 787s # _org_project_callable_iface_skeleton_handle_method_call ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name, 787s # const gchar *method_name, 787s # GVariant *parameters, 787s # GDBusMethodInvocation *invocation, 787s # gpointer user_data) 787s # { 787s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 787s # _ExtendedGDBusMethodInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # guint num_extra; 787s # gsize n; 787s # guint signal_id; 787s # GValue return_value = G_VALUE_INIT; 787s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 787s # g_assert (info != NULL); 787s # num_params = g_variant_n_children (parameters); 787s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 787s # n = 0; 787s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 787s # g_value_set_object (¶mv[n++], skeleton); 787s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 787s # g_value_set_object (¶mv[n++], invocation); 787s # if (info->pass_fdlist) 787s # { 787s # #ifdef G_OS_UNIX 787s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 787s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 787s # #else 787s # g_assert_not_reached (); 787s # #endif 787s # } 787s # g_variant_iter_init (&iter, parameters); 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 787s # g_value_init (&return_value, G_TYPE_BOOLEAN); 787s # g_signal_emitv (paramv, signal_id, 0, &return_value); 787s # if (!g_value_get_boolean (&return_value)) 787s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 787s # g_value_unset (&return_value); 787s # for (n = 0; n < num_params + num_extra; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static GVariant * 787s # _org_project_callable_iface_skeleton_handle_get_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # GVariant *ret; 787s # ret = NULL; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # g_value_init (&value, pspec->value_type); 787s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 787s # g_value_unset (&value); 787s # } 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _org_project_callable_iface_skeleton_handle_set_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GVariant *variant, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # gboolean ret; 787s # ret = FALSE; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # if (info->use_gvariant) 787s # g_value_set_variant (&value, variant); 787s # else 787s # g_dbus_gvariant_to_gvalue (variant, &value); 787s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # g_value_unset (&value); 787s # ret = TRUE; 787s # } 787s # return ret; 787s # } 787s # 787s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 787s # { 787s # _org_project_callable_iface_skeleton_handle_method_call, 787s # _org_project_callable_iface_skeleton_handle_get_property, 787s # _org_project_callable_iface_skeleton_handle_set_property, 787s # {NULL} 787s # }; 787s # 787s # static GDBusInterfaceInfo * 787s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return org_project_callable_iface_interface_info (); 787s # } 787s # 787s # static GDBusInterfaceVTable * 787s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 787s # } 787s # 787s # static GVariant * 787s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 787s # { 787s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 787s # 787s # GVariantBuilder builder; 787s # guint n; 787s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 787s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 787s # goto out; 787s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 787s # { 787s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 787s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 787s # { 787s # GVariant *value; 787s # 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); 787s # if (value != NULL) 787s # { 787s # g_variant_take_ref (value); 787s # g_variant_builder_add (&builder, "{sv}", info->name, value); 787s # g_variant_unref (value); 787s # } 787s # } 787s # } 787s # out: 787s # return g_variant_builder_end (&builder); 787s # } 787s # 787s # static void 787s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_callable_iface_skeleton_finalize (GObject *object) 787s # { 787s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 787s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 787s # if (skeleton->priv->changed_properties_idle_source != NULL) 787s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 787s # g_main_context_unref (skeleton->priv->context); 787s # g_mutex_clear (&skeleton->priv->lock); 787s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 787s # #else 787s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 787s # #endif 787s # 787s # g_mutex_init (&skeleton->priv->lock); 787s # skeleton->priv->context = g_main_context_ref_thread_default (); 787s # } 787s # 787s # static void 787s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusInterfaceSkeletonClass *skeleton_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 787s # 787s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 787s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 787s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 787s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 787s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_skeleton_new: 787s # * 787s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 787s # * 787s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 787s # */ 787s # OrgProjectCallableIface * 787s # org_project_callable_iface_skeleton_new (void) 787s # { 787s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ 787s # * Code for interface org.project.OtherCallableIface 787s # * ------------------------------------------------------------------------ 787s # */ 787s # 787s # /** 787s # * SECTION:OrgProjectOtherCallableIface 787s # * @title: OrgProjectOtherCallableIface 787s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 787s # * 787s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 787s # */ 787s # 787s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_b", 787s # (gchar *) "b", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_y", 787s # (gchar *) "y", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_n", 787s # (gchar *) "n", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_q", 787s # (gchar *) "q", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_i", 787s # (gchar *) "i", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_u", 787s # (gchar *) "u", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_x", 787s # (gchar *) "x", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_t", 787s # (gchar *) "t", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_d", 787s # (gchar *) "d", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_s", 787s # (gchar *) "s", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_o", 787s # (gchar *) "o", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_g", 787s # (gchar *) "g", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_h", 787s # (gchar *) "h", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_ay", 787s # (gchar *) "ay", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_as", 787s # (gchar *) "as", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_ao", 787s # (gchar *) "ao", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_aay", 787s # (gchar *) "aay", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_asv", 787s # (gchar *) "a{sv}", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 787s # { 787s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 787s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 787s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 787s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 787s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 787s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 787s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 787s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 787s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 787s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 787s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 787s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 787s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 787s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 787s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 787s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 787s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 787s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 787s # { 787s # { 787s # -1, 787s # (gchar *) "MethodWithManyArgs", 787s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 787s # NULL, 787s # NULL 787s # }, 787s # "handle-method-with-many-args", 787s # FALSE 787s # }; 787s # 787s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 787s # { 787s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 787s # { 787s # { 787s # -1, 787s # (gchar *) "org.project.OtherCallableIface", 787s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 787s # NULL, 787s # NULL, 787s # NULL 787s # }, 787s # "org-project-other-callable-iface", 787s # }; 787s # 787s # 787s # /** 787s # * org_project_other_callable_iface_interface_info: 787s # * 787s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 787s # * 787s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 787s # */ 787s # GDBusInterfaceInfo * 787s # org_project_other_callable_iface_interface_info (void) 787s # { 787s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 787s # } 787s # 787s # /** 787s # * org_project_other_callable_iface_override_properties: 787s # * @klass: The class structure for a #GObject derived class. 787s # * @property_id_begin: The property id to assign to the first overridden property. 787s # * 787s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 787s # * The properties are overridden in the order they are defined. 787s # * 787s # * Returns: The last property id. 787s # */ 787s # guint 787s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 787s # { 787s # return property_id_begin - 1; 787s # } 787s # 787s # 787s # inline static void 787s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # _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, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # 787s # /** 787s # * OrgProjectOtherCallableIface: 787s # * 787s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 787s # */ 787s # 787s # /** 787s # * OrgProjectOtherCallableIfaceIface: 787s # * @parent_iface: The parent interface. 787s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 787s # * 787s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 787s # */ 787s # 787s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 787s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 787s # 787s # static void 787s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 787s # { 787s # /* GObject signals for incoming D-Bus method calls: */ 787s # /** 787s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 787s # * @object: A #OrgProjectOtherCallableIface. 787s # * @invocation: A #GDBusMethodInvocation. 787s # * @arg_an_b: Argument passed by remote caller. 787s # * @arg_an_y: Argument passed by remote caller. 787s # * @arg_an_n: Argument passed by remote caller. 787s # * @arg_an_q: Argument passed by remote caller. 787s # * @arg_an_i: Argument passed by remote caller. 787s # * @arg_an_u: Argument passed by remote caller. 787s # * @arg_an_x: Argument passed by remote caller. 787s # * @arg_an_t: Argument passed by remote caller. 787s # * @arg_an_d: Argument passed by remote caller. 787s # * @arg_an_s: Argument passed by remote caller. 787s # * @arg_an_o: Argument passed by remote caller. 787s # * @arg_an_g: Argument passed by remote caller. 787s # * @arg_an_h: Argument passed by remote caller. 787s # * @arg_an_ay: Argument passed by remote caller. 787s # * @arg_an_as: Argument passed by remote caller. 787s # * @arg_an_ao: Argument passed by remote caller. 787s # * @arg_an_aay: Argument passed by remote caller. 787s # * @arg_an_asv: Argument passed by remote caller. 787s # * 787s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 787s # * 787s # * 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. 787s # * 787s # * 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. 787s # */ 787s # g_signal_new ("handle-method-with-many-args", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 787s # g_signal_accumulator_true_handled, 787s # NULL, 787s # org_project_other_callable_iface_method_marshal_method_with_many_args, 787s # G_TYPE_BOOLEAN, 787s # 19, 787s # 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); 787s # 787s # } 787s # 787s # /** 787s # * org_project_other_callable_iface_call_method_with_many_args: 787s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 787s # * @arg_an_b: Argument to pass with the method invocation. 787s # * @arg_an_y: Argument to pass with the method invocation. 787s # * @arg_an_n: Argument to pass with the method invocation. 787s # * @arg_an_q: Argument to pass with the method invocation. 787s # * @arg_an_i: Argument to pass with the method invocation. 787s # * @arg_an_u: Argument to pass with the method invocation. 787s # * @arg_an_x: Argument to pass with the method invocation. 787s # * @arg_an_t: Argument to pass with the method invocation. 787s # * @arg_an_d: Argument to pass with the method invocation. 787s # * @arg_an_s: Argument to pass with the method invocation. 787s # * @arg_an_o: Argument to pass with the method invocation. 787s # * @arg_an_g: Argument to pass with the method invocation. 787s # * @arg_an_h: Argument to pass with the method invocation. 787s # * @arg_an_ay: Argument to pass with the method invocation. 787s # * @arg_an_as: Argument to pass with the method invocation. 787s # * @arg_an_ao: Argument to pass with the method invocation. 787s # * @arg_an_aay: Argument to pass with the method invocation. 787s # * @arg_an_asv: Argument to pass with the method invocation. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 787s # * 787s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 787s # */ 787s # void 787s # org_project_other_callable_iface_call_method_with_many_args ( 787s # OrgProjectOtherCallableIface *proxy, 787s # gboolean arg_an_b, 787s # guchar arg_an_y, 787s # gint16 arg_an_n, 787s # guint16 arg_an_q, 787s # gint arg_an_i, 787s # guint arg_an_u, 787s # gint64 arg_an_x, 787s # guint64 arg_an_t, 787s # gdouble arg_an_d, 787s # const gchar *arg_an_s, 787s # const gchar *arg_an_o, 787s # const gchar *arg_an_g, 787s # GVariant *arg_an_h, 787s # const gchar *arg_an_ay, 787s # const gchar *const *arg_an_as, 787s # const gchar *const *arg_an_ao, 787s # const gchar *const *arg_an_aay, 787s # GVariant *arg_an_asv, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 787s # "MethodWithManyArgs", 787s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 787s # arg_an_b, 787s # arg_an_y, 787s # arg_an_n, 787s # arg_an_q, 787s # arg_an_i, 787s # arg_an_u, 787s # arg_an_x, 787s # arg_an_t, 787s # arg_an_d, 787s # arg_an_s, 787s # arg_an_o, 787s # arg_an_g, 787s # arg_an_h, 787s # arg_an_ay, 787s # arg_an_as, 787s # arg_an_ao, 787s # arg_an_aay, 787s # arg_an_asv), 787s # G_DBUS_CALL_FLAGS_NONE, 787s # -1, 787s # cancellable, 787s # callback, 787s # user_data); 787s # } 787s # 787s # /** 787s # * org_project_other_callable_iface_call_method_with_many_args_finish: 787s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 787s # * @error: Return location for error or %NULL. 787s # * 787s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 787s # * 787s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 787s # */ 787s # gboolean 787s # org_project_other_callable_iface_call_method_with_many_args_finish ( 787s # OrgProjectOtherCallableIface *proxy, 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GVariant *_ret; 787s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 787s # if (_ret == NULL) 787s # goto _out; 787s # g_variant_get (_ret, 787s # "()"); 787s # g_variant_unref (_ret); 787s # _out: 787s # return _ret != NULL; 787s # } 787s # 787s # /** 787s # * org_project_other_callable_iface_call_method_with_many_args_sync: 787s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 787s # * @arg_an_b: Argument to pass with the method invocation. 787s # * @arg_an_y: Argument to pass with the method invocation. 787s # * @arg_an_n: Argument to pass with the method invocation. 787s # * @arg_an_q: Argument to pass with the method invocation. 787s # * @arg_an_i: Argument to pass with the method invocation. 787s # * @arg_an_u: Argument to pass with the method invocation. 787s # * @arg_an_x: Argument to pass with the method invocation. 787s # * @arg_an_t: Argument to pass with the method invocation. 787s # * @arg_an_d: Argument to pass with the method invocation. 787s # * @arg_an_s: Argument to pass with the method invocation. 787s # * @arg_an_o: Argument to pass with the method invocation. 787s # * @arg_an_g: Argument to pass with the method invocation. 787s # * @arg_an_h: Argument to pass with the method invocation. 787s # * @arg_an_ay: Argument to pass with the method invocation. 787s # * @arg_an_as: Argument to pass with the method invocation. 787s # * @arg_an_ao: Argument to pass with the method invocation. 787s # * @arg_an_aay: Argument to pass with the method invocation. 787s # * @arg_an_asv: Argument to pass with the method invocation. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL. 787s # * 787s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 787s # * 787s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 787s # */ 787s # gboolean 787s # org_project_other_callable_iface_call_method_with_many_args_sync ( 787s # OrgProjectOtherCallableIface *proxy, 787s # gboolean arg_an_b, 787s # guchar arg_an_y, 787s # gint16 arg_an_n, 787s # guint16 arg_an_q, 787s # gint arg_an_i, 787s # guint arg_an_u, 787s # gint64 arg_an_x, 787s # guint64 arg_an_t, 787s # gdouble arg_an_d, 787s # const gchar *arg_an_s, 787s # const gchar *arg_an_o, 787s # const gchar *arg_an_g, 787s # GVariant *arg_an_h, 787s # const gchar *arg_an_ay, 787s # const gchar *const *arg_an_as, 787s # const gchar *const *arg_an_ao, 787s # const gchar *const *arg_an_aay, 787s # GVariant *arg_an_asv, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GVariant *_ret; 787s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 787s # "MethodWithManyArgs", 787s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 787s # arg_an_b, 787s # arg_an_y, 787s # arg_an_n, 787s # arg_an_q, 787s # arg_an_i, 787s # arg_an_u, 787s # arg_an_x, 787s # arg_an_t, 787s # arg_an_d, 787s # arg_an_s, 787s # arg_an_o, 787s # arg_an_g, 787s # arg_an_h, 787s # arg_an_ay, 787s # arg_an_as, 787s # arg_an_ao, 787s # arg_an_aay, 787s # arg_an_asv), 787s # G_DBUS_CALL_FLAGS_NONE, 787s # -1, 787s # cancellable, 787s # error); 787s # if (_ret == NULL) 787s # goto _out; 787s # g_variant_get (_ret, 787s # "()"); 787s # g_variant_unref (_ret); 787s # _out: 787s # return _ret != NULL; 787s # } 787s # 787s # /** 787s # * org_project_other_callable_iface_complete_method_with_many_args: 787s # * @object: A #OrgProjectOtherCallableIface. 787s # * @invocation: (transfer full): A #GDBusMethodInvocation. 787s # * 787s # * 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. 787s # * 787s # * This method will free @invocation, you cannot use it afterwards. 787s # */ 787s # void 787s # org_project_other_callable_iface_complete_method_with_many_args ( 787s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 787s # GDBusMethodInvocation *invocation) 787s # { 787s # g_dbus_method_invocation_return_value (invocation, 787s # g_variant_new ("()")); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectOtherCallableIfaceProxy: 787s # * 787s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectOtherCallableIfaceProxyClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 787s # */ 787s # 787s # struct _OrgProjectOtherCallableIfaceProxyPrivate 787s # { 787s # GData *qdata; 787s # }; 787s # 787s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 787s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_other_callable_iface_proxy_finalize (GObject *object) 787s # { 787s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 787s # g_datalist_clear (&proxy->priv->qdata); 787s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # const GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 787s # const gchar *sender_name G_GNUC_UNUSED, 787s # const gchar *signal_name, 787s # GVariant *parameters) 787s # { 787s # _ExtendedGDBusSignalInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # gsize n; 787s # guint signal_id; 787s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 787s # if (info == NULL) 787s # return; 787s # num_params = g_variant_n_children (parameters); 787s # paramv = g_new0 (GValue, num_params + 1); 787s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 787s # g_value_set_object (¶mv[0], proxy); 787s # g_variant_iter_init (&iter, parameters); 787s # n = 1; 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 787s # g_signal_emitv (paramv, signal_id, 0, NULL); 787s # for (n = 0; n < num_params + 1; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static void 787s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 787s # GVariant *changed_properties, 787s # const gchar *const *invalidated_properties) 787s # { 787s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 787s # guint n; 787s # const gchar *key; 787s # GVariantIter *iter; 787s # _ExtendedGDBusPropertyInfo *info; 787s # g_variant_get (changed_properties, "a{sv}", &iter); 787s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 787s # g_datalist_remove_data (&proxy->priv->qdata, key); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # g_variant_iter_free (iter); 787s # for (n = 0; invalidated_properties[n] != NULL; n++) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 787s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # } 787s # 787s # static void 787s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 787s # #else 787s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 787s # #endif 787s # 787s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 787s # } 787s # 787s # static void 787s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusProxyClass *proxy_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 787s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 787s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 787s # 787s # proxy_class = G_DBUS_PROXY_CLASS (klass); 787s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 787s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # /** 787s # * org_project_other_callable_iface_proxy_new: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 787s # * 787s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_other_callable_iface_proxy_new ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # 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); 787s # } 787s # 787s # /** 787s # * org_project_other_callable_iface_proxy_new_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectOtherCallableIface * 787s # org_project_other_callable_iface_proxy_new_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_other_callable_iface_proxy_new_sync: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectOtherCallableIface * 787s # org_project_other_callable_iface_proxy_new_sync ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /** 787s # * org_project_other_callable_iface_proxy_new_for_bus: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 787s # * 787s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_other_callable_iface_proxy_new_for_bus ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # 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); 787s # } 787s # 787s # /** 787s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectOtherCallableIface * 787s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectOtherCallableIface * 787s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectOtherCallableIfaceSkeleton: 787s # * 787s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectOtherCallableIfaceSkeletonClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 787s # */ 787s # 787s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 787s # { 787s # GValue *properties; 787s # GList *changed_properties; 787s # GSource *changed_properties_idle_source; 787s # GMainContext *context; 787s # GMutex lock; 787s # }; 787s # 787s # static void 787s # _org_project_other_callable_iface_skeleton_handle_method_call ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name, 787s # const gchar *method_name, 787s # GVariant *parameters, 787s # GDBusMethodInvocation *invocation, 787s # gpointer user_data) 787s # { 787s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 787s # _ExtendedGDBusMethodInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # guint num_extra; 787s # gsize n; 787s # guint signal_id; 787s # GValue return_value = G_VALUE_INIT; 787s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 787s # g_assert (info != NULL); 787s # num_params = g_variant_n_children (parameters); 787s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 787s # n = 0; 787s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 787s # g_value_set_object (¶mv[n++], skeleton); 787s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 787s # g_value_set_object (¶mv[n++], invocation); 787s # if (info->pass_fdlist) 787s # { 787s # #ifdef G_OS_UNIX 787s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 787s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 787s # #else 787s # g_assert_not_reached (); 787s # #endif 787s # } 787s # g_variant_iter_init (&iter, parameters); 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 787s # g_value_init (&return_value, G_TYPE_BOOLEAN); 787s # g_signal_emitv (paramv, signal_id, 0, &return_value); 787s # if (!g_value_get_boolean (&return_value)) 787s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 787s # g_value_unset (&return_value); 787s # for (n = 0; n < num_params + num_extra; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static GVariant * 787s # _org_project_other_callable_iface_skeleton_handle_get_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # GVariant *ret; 787s # ret = NULL; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # g_value_init (&value, pspec->value_type); 787s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 787s # g_value_unset (&value); 787s # } 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _org_project_other_callable_iface_skeleton_handle_set_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GVariant *variant, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # gboolean ret; 787s # ret = FALSE; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # if (info->use_gvariant) 787s # g_value_set_variant (&value, variant); 787s # else 787s # g_dbus_gvariant_to_gvalue (variant, &value); 787s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # g_value_unset (&value); 787s # ret = TRUE; 787s # } 787s # return ret; 787s # } 787s # 787s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 787s # { 787s # _org_project_other_callable_iface_skeleton_handle_method_call, 787s # _org_project_other_callable_iface_skeleton_handle_get_property, 787s # _org_project_other_callable_iface_skeleton_handle_set_property, 787s # {NULL} 787s # }; 787s # 787s # static GDBusInterfaceInfo * 787s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return org_project_other_callable_iface_interface_info (); 787s # } 787s # 787s # static GDBusInterfaceVTable * 787s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 787s # } 787s # 787s # static GVariant * 787s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 787s # { 787s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 787s # 787s # GVariantBuilder builder; 787s # guint n; 787s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 787s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 787s # goto out; 787s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 787s # { 787s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 787s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 787s # { 787s # GVariant *value; 787s # 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); 787s # if (value != NULL) 787s # { 787s # g_variant_take_ref (value); 787s # g_variant_builder_add (&builder, "{sv}", info->name, value); 787s # g_variant_unref (value); 787s # } 787s # } 787s # } 787s # out: 787s # return g_variant_builder_end (&builder); 787s # } 787s # 787s # static void 787s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 787s # { 787s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 787s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 787s # if (skeleton->priv->changed_properties_idle_source != NULL) 787s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 787s # g_main_context_unref (skeleton->priv->context); 787s # g_mutex_clear (&skeleton->priv->lock); 787s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 787s # #else 787s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 787s # #endif 787s # 787s # g_mutex_init (&skeleton->priv->lock); 787s # skeleton->priv->context = g_main_context_ref_thread_default (); 787s # } 787s # 787s # static void 787s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusInterfaceSkeletonClass *skeleton_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 787s # 787s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 787s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 787s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 787s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 787s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # /** 787s # * org_project_other_callable_iface_skeleton_new: 787s # * 787s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 787s # * 787s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 787s # */ 787s # OrgProjectOtherCallableIface * 787s # org_project_other_callable_iface_skeleton_new (void) 787s # { 787s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 787s # } 787s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 787s # tmpdir: /tmp/tmpfmv0oxle 787s # codegen: /usr/bin/gdbus-codegen 787s # /tmp/tmpfmv0oxle/tmp01evk8o1.xml: 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfmv0oxle/tmp01evk8o1.xml', '--output', '-', '--body'] 787s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 787s # Output: /* 787s # * This file is generated by gdbus-codegen, do not modify it. 787s # * 787s # * The license of this code is the same as for the D-Bus interface description 787s # * it was derived from. Note that it links to GLib, so must comply with the 787s # * LGPL linking clauses. 787s # */ 787s # 787s # #ifdef HAVE_CONFIG_H 787s # # include "config.h" 787s # #endif 787s # 787s # #include 787s # #ifdef G_OS_UNIX 787s # # include 787s # #endif 787s # 787s # #ifdef G_ENABLE_DEBUG 787s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 787s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 787s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 787s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 787s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 787s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 787s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 787s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 787s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 787s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 787s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 787s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 787s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 787s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 787s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 787s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 787s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 787s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 787s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 787s # #else /* !G_ENABLE_DEBUG */ 787s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 787s # * Do not access GValues directly in your code. Instead, use the 787s # * g_value_get_*() functions 787s # */ 787s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 787s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 787s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 787s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 787s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 787s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 787s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 787s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 787s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 787s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 787s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 787s # #endif /* !G_ENABLE_DEBUG */ 787s # 787s # typedef struct 787s # { 787s # GDBusArgInfo parent_struct; 787s # gboolean use_gvariant; 787s # } _ExtendedGDBusArgInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusMethodInfo parent_struct; 787s # const gchar *signal_name; 787s # gboolean pass_fdlist; 787s # } _ExtendedGDBusMethodInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusSignalInfo parent_struct; 787s # const gchar *signal_name; 787s # } _ExtendedGDBusSignalInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusPropertyInfo parent_struct; 787s # const gchar *hyphen_name; 787s # guint use_gvariant : 1; 787s # guint emits_changed_signal : 1; 787s # } _ExtendedGDBusPropertyInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusInterfaceInfo parent_struct; 787s # const gchar *hyphen_name; 787s # } _ExtendedGDBusInterfaceInfo; 787s # 787s # typedef struct 787s # { 787s # const _ExtendedGDBusPropertyInfo *info; 787s # guint prop_id; 787s # GValue orig_value; /* the value before the change */ 787s # } ChangedProperty; 787s # 787s # static void 787s # _changed_property_free (ChangedProperty *data) 787s # { 787s # g_value_unset (&data->orig_value); 787s # g_free (data); 787s # } 787s # 787s # static gboolean 787s # _g_strv_equal0 (gchar **a, gchar **b) 787s # { 787s # gboolean ret = FALSE; 787s # guint n; 787s # if (a == NULL && b == NULL) 787s # { 787s # ret = TRUE; 787s # goto out; 787s # } 787s # if (a == NULL || b == NULL) 787s # goto out; 787s # if (g_strv_length (a) != g_strv_length (b)) 787s # goto out; 787s # for (n = 0; a[n] != NULL; n++) 787s # if (g_strcmp0 (a[n], b[n]) != 0) 787s # goto out; 787s # ret = TRUE; 787s # out: 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _g_variant_equal0 (GVariant *a, GVariant *b) 787s # { 787s # gboolean ret = FALSE; 787s # if (a == NULL && b == NULL) 787s # { 787s # ret = TRUE; 787s # goto out; 787s # } 787s # if (a == NULL || b == NULL) 787s # goto out; 787s # ret = g_variant_equal (a, b); 787s # out: 787s # return ret; 787s # } 787s # 787s # G_GNUC_UNUSED static gboolean 787s # _g_value_equal (const GValue *a, const GValue *b) 787s # { 787s # gboolean ret = FALSE; 787s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 787s # switch (G_VALUE_TYPE (a)) 787s # { 787s # case G_TYPE_BOOLEAN: 787s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 787s # break; 787s # case G_TYPE_UCHAR: 787s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 787s # break; 787s # case G_TYPE_INT: 787s # ret = (g_value_get_int (a) == g_value_get_int (b)); 787s # break; 787s # case G_TYPE_UINT: 787s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 787s # break; 787s # case G_TYPE_INT64: 787s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 787s # break; 787s # case G_TYPE_UINT64: 787s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 787s # break; 787s # case G_TYPE_DOUBLE: 787s # { 787s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 787s # gdouble da = g_value_get_double (a); 787s # gdouble db = g_value_get_double (b); 787s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 787s # } 787s # break; 787s # case G_TYPE_STRING: 787s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 787s # break; 787s # case G_TYPE_VARIANT: 787s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 787s # break; 787s # default: 787s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 787s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 787s # else 787s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 787s # break; 787s # } 787s # return ret; 787s # } 787s # 787s # static void 787s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint G_GNUC_UNUSED, 787s # void *marshal_data) 787s # { 787s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 787s # (void *data1, 787s # GDBusMethodInvocation *arg_method_invocation, 787s # void *data2); 787s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 787s # GCClosure *cc = (GCClosure*) closure; 787s # void *data1, *data2; 787s # gboolean v_return; 787s # 787s # g_return_if_fail (return_value != NULL); 787s # g_return_if_fail (n_param_values == 2); 787s # 787s # if (G_CCLOSURE_SWAP_DATA (closure)) 787s # { 787s # data1 = closure->data; 787s # data2 = g_value_peek_pointer (param_values + 0); 787s # } 787s # else 787s # { 787s # data1 = g_value_peek_pointer (param_values + 0); 787s # data2 = closure->data; 787s # } 787s # 787s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 787s # (marshal_data ? marshal_data : cc->callback); 787s # 787s # v_return = 787s # callback (data1, 787s # g_marshal_value_peek_object (param_values + 1), 787s # data2); 787s # 787s # g_value_set_boolean (return_value, v_return); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ 787s # * Code for interface org.project.CallableIface 787s # * ------------------------------------------------------------------------ 787s # */ 787s # 787s # /** 787s # * SECTION:OrgProjectCallableIface 787s # * @title: OrgProjectCallableIface 787s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 787s # * 787s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 787s # */ 787s # 787s # /* ---- Introspection data for org.project.CallableIface ---- */ 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_b", 787s # (gchar *) "b", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_y", 787s # (gchar *) "y", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_n", 787s # (gchar *) "n", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_q", 787s # (gchar *) "q", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_i", 787s # (gchar *) "i", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_u", 787s # (gchar *) "u", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_x", 787s # (gchar *) "x", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_t", 787s # (gchar *) "t", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_d", 787s # (gchar *) "d", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_s", 787s # (gchar *) "s", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_o", 787s # (gchar *) "o", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_g", 787s # (gchar *) "g", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_h", 787s # (gchar *) "h", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_ay", 787s # (gchar *) "ay", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_as", 787s # (gchar *) "as", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_ao", 787s # (gchar *) "ao", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_aay", 787s # (gchar *) "aay", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_asv", 787s # (gchar *) "a{sv}", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 787s # { 787s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 787s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 787s # { 787s # { 787s # -1, 787s # (gchar *) "MethodWithManyArgs", 787s # NULL, 787s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 787s # NULL 787s # }, 787s # "handle-method-with-many-args", 787s # FALSE 787s # }; 787s # 787s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 787s # { 787s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 787s # { 787s # { 787s # -1, 787s # (gchar *) "org.project.CallableIface", 787s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 787s # NULL, 787s # NULL, 787s # NULL 787s # }, 787s # "org-project-callable-iface", 787s # }; 787s # 787s # 787s # /** 787s # * org_project_callable_iface_interface_info: 787s # * 787s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 787s # * 787s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 787s # */ 787s # GDBusInterfaceInfo * 787s # org_project_callable_iface_interface_info (void) 787s # { 787s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_override_properties: 787s # * @klass: The class structure for a #GObject derived class. 787s # * @property_id_begin: The property id to assign to the first overridden property. 787s # * 787s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 787s # * The properties are overridden in the order they are defined. 787s # * 787s # * Returns: The last property id. 787s # */ 787s # guint 787s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 787s # { 787s # return property_id_begin - 1; 787s # } 787s # 787s # 787s # inline static void 787s # org_project_callable_iface_method_marshal_method_with_many_args ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # 787s # /** 787s # * OrgProjectCallableIface: 787s # * 787s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 787s # */ 787s # 787s # /** 787s # * OrgProjectCallableIfaceIface: 787s # * @parent_iface: The parent interface. 787s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 787s # * 787s # * Virtual table for the D-Bus interface org.project.CallableIface. 787s # */ 787s # 787s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 787s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 787s # 787s # static void 787s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 787s # { 787s # /* GObject signals for incoming D-Bus method calls: */ 787s # /** 787s # * OrgProjectCallableIface::handle-method-with-many-args: 787s # * @object: A #OrgProjectCallableIface. 787s # * @invocation: A #GDBusMethodInvocation. 787s # * 787s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 787s # * 787s # * 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. 787s # * 787s # * 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. 787s # */ 787s # g_signal_new ("handle-method-with-many-args", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 787s # g_signal_accumulator_true_handled, 787s # NULL, 787s # org_project_callable_iface_method_marshal_method_with_many_args, 787s # G_TYPE_BOOLEAN, 787s # 1, 787s # G_TYPE_DBUS_METHOD_INVOCATION); 787s # 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_call_method_with_many_args: 787s # * @proxy: A #OrgProjectCallableIfaceProxy. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 787s # * 787s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 787s # */ 787s # void 787s # org_project_callable_iface_call_method_with_many_args ( 787s # OrgProjectCallableIface *proxy, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 787s # "MethodWithManyArgs", 787s # g_variant_new ("()"), 787s # G_DBUS_CALL_FLAGS_NONE, 787s # -1, 787s # cancellable, 787s # callback, 787s # user_data); 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_call_method_with_many_args_finish: 787s # * @proxy: A #OrgProjectCallableIfaceProxy. 787s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 787s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 787s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 787s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 787s # * @error: Return location for error or %NULL. 787s # * 787s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 787s # * 787s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 787s # */ 787s # gboolean 787s # org_project_callable_iface_call_method_with_many_args_finish ( 787s # OrgProjectCallableIface *proxy, 787s # gboolean *out_an_b, 787s # guchar *out_an_y, 787s # gint16 *out_an_n, 787s # guint16 *out_an_q, 787s # gint *out_an_i, 787s # guint *out_an_u, 787s # gint64 *out_an_x, 787s # guint64 *out_an_t, 787s # gdouble *out_an_d, 787s # gchar **out_an_s, 787s # gchar **out_an_o, 787s # gchar **out_an_g, 787s # GVariant **out_an_h, 787s # gchar **out_an_ay, 787s # gchar ***out_an_as, 787s # gchar ***out_an_ao, 787s # gchar ***out_an_aay, 787s # GVariant **out_an_asv, 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GVariant *_ret; 787s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 787s # if (_ret == NULL) 787s # goto _out; 787s # g_variant_get (_ret, 787s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 787s # out_an_b, 787s # out_an_y, 787s # out_an_n, 787s # out_an_q, 787s # out_an_i, 787s # out_an_u, 787s # out_an_x, 787s # out_an_t, 787s # out_an_d, 787s # out_an_s, 787s # out_an_o, 787s # out_an_g, 787s # out_an_h, 787s # out_an_ay, 787s # out_an_as, 787s # out_an_ao, 787s # out_an_aay, 787s # out_an_asv); 787s # g_variant_unref (_ret); 787s # _out: 787s # return _ret != NULL; 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_call_method_with_many_args_sync: 787s # * @proxy: A #OrgProjectCallableIfaceProxy. 787s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 787s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 787s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 787s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL. 787s # * 787s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 787s # * 787s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 787s # */ 787s # gboolean 787s # org_project_callable_iface_call_method_with_many_args_sync ( 787s # OrgProjectCallableIface *proxy, 787s # gboolean *out_an_b, 787s # guchar *out_an_y, 787s # gint16 *out_an_n, 787s # guint16 *out_an_q, 787s # gint *out_an_i, 787s # guint *out_an_u, 787s # gint64 *out_an_x, 787s # guint64 *out_an_t, 787s # gdouble *out_an_d, 787s # gchar **out_an_s, 787s # gchar **out_an_o, 787s # gchar **out_an_g, 787s # GVariant **out_an_h, 787s # gchar **out_an_ay, 787s # gchar ***out_an_as, 787s # gchar ***out_an_ao, 787s # gchar ***out_an_aay, 787s # GVariant **out_an_asv, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GVariant *_ret; 787s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 787s # "MethodWithManyArgs", 787s # g_variant_new ("()"), 787s # G_DBUS_CALL_FLAGS_NONE, 787s # -1, 787s # cancellable, 787s # error); 787s # if (_ret == NULL) 787s # goto _out; 787s # g_variant_get (_ret, 787s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 787s # out_an_b, 787s # out_an_y, 787s # out_an_n, 787s # out_an_q, 787s # out_an_i, 787s # out_an_u, 787s # out_an_x, 787s # out_an_t, 787s # out_an_d, 787s # out_an_s, 787s # out_an_o, 787s # out_an_g, 787s # out_an_h, 787s # out_an_ay, 787s # out_an_as, 787s # out_an_ao, 787s # out_an_aay, 787s # out_an_asv); 787s # g_variant_unref (_ret); 787s # _out: 787s # return _ret != NULL; 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_complete_method_with_many_args: 787s # * @object: A #OrgProjectCallableIface. 787s # * @invocation: (transfer full): A #GDBusMethodInvocation. 787s # * @an_b: Parameter to return. 787s # * @an_y: Parameter to return. 787s # * @an_n: Parameter to return. 787s # * @an_q: Parameter to return. 787s # * @an_i: Parameter to return. 787s # * @an_u: Parameter to return. 787s # * @an_x: Parameter to return. 787s # * @an_t: Parameter to return. 787s # * @an_d: Parameter to return. 787s # * @an_s: Parameter to return. 787s # * @an_o: Parameter to return. 787s # * @an_g: Parameter to return. 787s # * @an_h: Parameter to return. 787s # * @an_ay: Parameter to return. 787s # * @an_as: Parameter to return. 787s # * @an_ao: Parameter to return. 787s # * @an_aay: Parameter to return. 787s # * @an_asv: Parameter to return. 787s # * 787s # * 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. 787s # * 787s # * This method will free @invocation, you cannot use it afterwards. 787s # */ 787s # void 787s # org_project_callable_iface_complete_method_with_many_args ( 787s # OrgProjectCallableIface *object G_GNUC_UNUSED, 787s # GDBusMethodInvocation *invocation, 787s # gboolean an_b, 787s # guchar an_y, 787s # gint16 an_n, 787s # guint16 an_q, 787s # gint an_i, 787s # guint an_u, 787s # gint64 an_x, 787s # guint64 an_t, 787s # gdouble an_d, 787s # const gchar *an_s, 787s # const gchar *an_o, 787s # const gchar *an_g, 787s # GVariant *an_h, 787s # const gchar *an_ay, 787s # const gchar *const *an_as, 787s # const gchar *const *an_ao, 787s # const gchar *const *an_aay, 787s # GVariant *an_asv) 787s # { 787s # g_dbus_method_invocation_return_value (invocation, 787s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 787s # an_b, 787s # an_y, 787s # an_n, 787s # an_q, 787s # an_i, 787s # an_u, 787s # an_x, 787s # an_t, 787s # an_d, 787s # an_s, 787s # an_o, 787s # an_g, 787s # an_h, 787s # an_ay, 787s # an_as, 787s # an_ao, 787s # an_aay, 787s # an_asv)); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectCallableIfaceProxy: 787s # * 787s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectCallableIfaceProxyClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectCallableIfaceProxy. 787s # */ 787s # 787s # struct _OrgProjectCallableIfaceProxyPrivate 787s # { 787s # GData *qdata; 787s # }; 787s # 787s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 787s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_callable_iface_proxy_finalize (GObject *object) 787s # { 787s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 787s # g_datalist_clear (&proxy->priv->qdata); 787s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # const GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 787s # const gchar *sender_name G_GNUC_UNUSED, 787s # const gchar *signal_name, 787s # GVariant *parameters) 787s # { 787s # _ExtendedGDBusSignalInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # gsize n; 787s # guint signal_id; 787s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 787s # if (info == NULL) 787s # return; 787s # num_params = g_variant_n_children (parameters); 787s # paramv = g_new0 (GValue, num_params + 1); 787s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 787s # g_value_set_object (¶mv[0], proxy); 787s # g_variant_iter_init (&iter, parameters); 787s # n = 1; 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 787s # g_signal_emitv (paramv, signal_id, 0, NULL); 787s # for (n = 0; n < num_params + 1; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static void 787s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 787s # GVariant *changed_properties, 787s # const gchar *const *invalidated_properties) 787s # { 787s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 787s # guint n; 787s # const gchar *key; 787s # GVariantIter *iter; 787s # _ExtendedGDBusPropertyInfo *info; 787s # g_variant_get (changed_properties, "a{sv}", &iter); 787s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 787s # g_datalist_remove_data (&proxy->priv->qdata, key); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # g_variant_iter_free (iter); 787s # for (n = 0; invalidated_properties[n] != NULL; n++) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 787s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # } 787s # 787s # static void 787s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 787s # #else 787s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 787s # #endif 787s # 787s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 787s # } 787s # 787s # static void 787s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusProxyClass *proxy_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 787s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 787s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 787s # 787s # proxy_class = G_DBUS_PROXY_CLASS (klass); 787s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 787s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_proxy_new: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 787s # * 787s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_callable_iface_proxy_new ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # 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); 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_proxy_new_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectCallableIface * 787s # org_project_callable_iface_proxy_new_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_CALLABLE_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_proxy_new_sync: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectCallableIface * 787s # org_project_callable_iface_proxy_new_sync ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_CALLABLE_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /** 787s # * org_project_callable_iface_proxy_new_for_bus: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 787s # * 787s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_callable_iface_proxy_new_for_bus ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # 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); 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_proxy_new_for_bus_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectCallableIface * 787s # org_project_callable_iface_proxy_new_for_bus_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_CALLABLE_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_proxy_new_for_bus_sync: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectCallableIface * 787s # org_project_callable_iface_proxy_new_for_bus_sync ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_CALLABLE_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectCallableIfaceSkeleton: 787s # * 787s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectCallableIfaceSkeletonClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectCallableIfaceSkeleton. 787s # */ 787s # 787s # struct _OrgProjectCallableIfaceSkeletonPrivate 787s # { 787s # GValue *properties; 787s # GList *changed_properties; 787s # GSource *changed_properties_idle_source; 787s # GMainContext *context; 787s # GMutex lock; 787s # }; 787s # 787s # static void 787s # _org_project_callable_iface_skeleton_handle_method_call ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name, 787s # const gchar *method_name, 787s # GVariant *parameters, 787s # GDBusMethodInvocation *invocation, 787s # gpointer user_data) 787s # { 787s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 787s # _ExtendedGDBusMethodInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # guint num_extra; 787s # gsize n; 787s # guint signal_id; 787s # GValue return_value = G_VALUE_INIT; 787s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 787s # g_assert (info != NULL); 787s # num_params = g_variant_n_children (parameters); 787s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 787s # n = 0; 787s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 787s # g_value_set_object (¶mv[n++], skeleton); 787s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 787s # g_value_set_object (¶mv[n++], invocation); 787s # if (info->pass_fdlist) 787s # { 787s # #ifdef G_OS_UNIX 787s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 787s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 787s # #else 787s # g_assert_not_reached (); 787s # #endif 787s # } 787s # g_variant_iter_init (&iter, parameters); 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 787s # g_value_init (&return_value, G_TYPE_BOOLEAN); 787s # g_signal_emitv (paramv, signal_id, 0, &return_value); 787s # if (!g_value_get_boolean (&return_value)) 787s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 787s # g_value_unset (&return_value); 787s # for (n = 0; n < num_params + num_extra; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static GVariant * 787s # _org_project_callable_iface_skeleton_handle_get_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # GVariant *ret; 787s # ret = NULL; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # g_value_init (&value, pspec->value_type); 787s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 787s # g_value_unset (&value); 787s # } 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _org_project_callable_iface_skeleton_handle_set_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GVariant *variant, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # gboolean ret; 787s # ret = FALSE; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # if (info->use_gvariant) 787s # g_value_set_variant (&value, variant); 787s # else 787s # g_dbus_gvariant_to_gvalue (variant, &value); 787s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # g_value_unset (&value); 787s # ret = TRUE; 787s # } 787s # return ret; 787s # } 787s # 787s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 787s # { 787s # _org_project_callable_iface_skeleton_handle_method_call, 787s # _org_project_callable_iface_skeleton_handle_get_property, 787s # _org_project_callable_iface_skeleton_handle_set_property, 787s # {NULL} 787s # }; 787s # 787s # static GDBusInterfaceInfo * 787s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return org_project_callable_iface_interface_info (); 787s # } 787s # 787s # static GDBusInterfaceVTable * 787s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 787s # } 787s # 787s # static GVariant * 787s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 787s # { 787s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 787s # 787s # GVariantBuilder builder; 787s # guint n; 787s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 787s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 787s # goto out; 787s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 787s # { 787s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 787s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 787s # { 787s # GVariant *value; 787s # 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); 787s # if (value != NULL) 787s # { 787s # g_variant_take_ref (value); 787s # g_variant_builder_add (&builder, "{sv}", info->name, value); 787s # g_variant_unref (value); 787s # } 787s # } 787s # } 787s # out: 787s # return g_variant_builder_end (&builder); 787s # } 787s # 787s # static void 787s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_callable_iface_skeleton_finalize (GObject *object) 787s # { 787s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 787s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 787s # if (skeleton->priv->changed_properties_idle_source != NULL) 787s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 787s # g_main_context_unref (skeleton->priv->context); 787s # g_mutex_clear (&skeleton->priv->lock); 787s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 787s # #else 787s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 787s # #endif 787s # 787s # g_mutex_init (&skeleton->priv->lock); 787s # skeleton->priv->context = g_main_context_ref_thread_default (); 787s # } 787s # 787s # static void 787s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusInterfaceSkeletonClass *skeleton_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 787s # 787s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 787s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 787s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 787s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 787s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # /** 787s # * org_project_callable_iface_skeleton_new: 787s # * 787s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 787s # * 787s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 787s # */ 787s # OrgProjectCallableIface * 787s # org_project_callable_iface_skeleton_new (void) 787s # { 787s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 787s # } 787s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 787s # tmpdir: /tmp/tmp3u2cauae 787s # codegen: /usr/bin/gdbus-codegen 787s # /tmp/tmp3u2cauae/tmpz_3gjm0a.xml: 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3u2cauae/tmpz_3gjm0a.xml', '--output', '-', '--body'] 787s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 787s # Output: /* 787s # * This file is generated by gdbus-codegen, do not modify it. 787s # * 787s # * The license of this code is the same as for the D-Bus interface description 787s # * it was derived from. Note that it links to GLib, so must comply with the 787s # * LGPL linking clauses. 787s # */ 787s # 787s # #ifdef HAVE_CONFIG_H 787s # # include "config.h" 787s # #endif 787s # 787s # #include 787s # #ifdef G_OS_UNIX 787s # # include 787s # #endif 787s # 787s # #ifdef G_ENABLE_DEBUG 787s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 787s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 787s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 787s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 787s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 787s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 787s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 787s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 787s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 787s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 787s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 787s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 787s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 787s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 787s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 787s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 787s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 787s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 787s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 787s # #else /* !G_ENABLE_DEBUG */ 787s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 787s # * Do not access GValues directly in your code. Instead, use the 787s # * g_value_get_*() functions 787s # */ 787s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 787s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 787s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 787s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 787s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 787s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 787s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 787s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 787s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 787s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 787s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 787s # #endif /* !G_ENABLE_DEBUG */ 787s # 787s # typedef struct 787s # { 787s # GDBusArgInfo parent_struct; 787s # gboolean use_gvariant; 787s # } _ExtendedGDBusArgInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusMethodInfo parent_struct; 787s # const gchar *signal_name; 787s # gboolean pass_fdlist; 787s # } _ExtendedGDBusMethodInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusSignalInfo parent_struct; 787s # const gchar *signal_name; 787s # } _ExtendedGDBusSignalInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusPropertyInfo parent_struct; 787s # const gchar *hyphen_name; 787s # guint use_gvariant : 1; 787s # guint emits_changed_signal : 1; 787s # } _ExtendedGDBusPropertyInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusInterfaceInfo parent_struct; 787s # const gchar *hyphen_name; 787s # } _ExtendedGDBusInterfaceInfo; 787s # 787s # typedef struct 787s # { 787s # const _ExtendedGDBusPropertyInfo *info; 787s # guint prop_id; 787s # GValue orig_value; /* the value before the change */ 787s # } ChangedProperty; 787s # 787s # static void 787s # _changed_property_free (ChangedProperty *data) 787s # { 787s # g_value_unset (&data->orig_value); 787s # g_free (data); 787s # } 787s # 787s # static gboolean 787s # _g_strv_equal0 (gchar **a, gchar **b) 787s # { 787s # gboolean ret = FALSE; 787s # guint n; 787s # if (a == NULL && b == NULL) 787s # { 787s # ret = TRUE; 787s # goto out; 787s # } 787s # if (a == NULL || b == NULL) 787s # goto out; 787s # if (g_strv_length (a) != g_strv_length (b)) 787s # goto out; 787s # for (n = 0; a[n] != NULL; n++) 787s # if (g_strcmp0 (a[n], b[n]) != 0) 787s # goto out; 787s # ret = TRUE; 787s # out: 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _g_variant_equal0 (GVariant *a, GVariant *b) 787s # { 787s # gboolean ret = FALSE; 787s # if (a == NULL && b == NULL) 787s # { 787s # ret = TRUE; 787s # goto out; 787s # } 787s # if (a == NULL || b == NULL) 787s # goto out; 787s # ret = g_variant_equal (a, b); 787s # out: 787s # return ret; 787s # } 787s # 787s # G_GNUC_UNUSED static gboolean 787s # _g_value_equal (const GValue *a, const GValue *b) 787s # { 787s # gboolean ret = FALSE; 787s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 787s # switch (G_VALUE_TYPE (a)) 787s # { 787s # case G_TYPE_BOOLEAN: 787s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 787s # break; 787s # case G_TYPE_UCHAR: 787s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 787s # break; 787s # case G_TYPE_INT: 787s # ret = (g_value_get_int (a) == g_value_get_int (b)); 787s # break; 787s # case G_TYPE_UINT: 787s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 787s # break; 787s # case G_TYPE_INT64: 787s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 787s # break; 787s # case G_TYPE_UINT64: 787s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 787s # break; 787s # case G_TYPE_DOUBLE: 787s # { 787s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 787s # gdouble da = g_value_get_double (a); 787s # gdouble db = g_value_get_double (b); 787s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 787s # } 787s # break; 787s # case G_TYPE_STRING: 787s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 787s # break; 787s # case G_TYPE_VARIANT: 787s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 787s # break; 787s # default: 787s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 787s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 787s # else 787s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 787s # break; 787s # } 787s # return ret; 787s # } 787s # 787s # static void 787s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint G_GNUC_UNUSED, 787s # void *marshal_data) 787s # { 787s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 787s # (void *data1, 787s # GUnixFDList *arg_fd_list, 787s # GDBusMethodInvocation *arg_method_invocation, 787s # const gchar *arg_greeting, 787s # void *data2); 787s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 787s # GCClosure *cc = (GCClosure*) closure; 787s # void *data1, *data2; 787s # gboolean v_return; 787s # 787s # g_return_if_fail (return_value != NULL); 787s # g_return_if_fail (n_param_values == 4); 787s # 787s # if (G_CCLOSURE_SWAP_DATA (closure)) 787s # { 787s # data1 = closure->data; 787s # data2 = g_value_peek_pointer (param_values + 0); 787s # } 787s # else 787s # { 787s # data1 = g_value_peek_pointer (param_values + 0); 787s # data2 = closure->data; 787s # } 787s # 787s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 787s # (marshal_data ? marshal_data : cc->callback); 787s # 787s # v_return = 787s # callback (data1, 787s # g_marshal_value_peek_object (param_values + 1), 787s # g_marshal_value_peek_object (param_values + 2), 787s # g_marshal_value_peek_string (param_values + 3), 787s # data2); 787s # 787s # g_value_set_boolean (return_value, v_return); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ 787s # * Code for interface test.FDPassing 787s # * ------------------------------------------------------------------------ 787s # */ 787s # 787s # /** 787s # * SECTION:TestFDPassing 787s # * @title: TestFDPassing 787s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 787s # * 787s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 787s # */ 787s # 787s # /* ---- Introspection data for test.FDPassing ---- */ 787s # 787s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 787s # { 787s # { 787s # -1, 787s # (gchar *) "greeting", 787s # (gchar *) "s", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 787s # { 787s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 787s # { 787s # { 787s # -1, 787s # (gchar *) "response", 787s # (gchar *) "s", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 787s # { 787s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 787s # { 787s # { 787s # -1, 787s # (gchar *) "HelloFD", 787s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 787s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 787s # NULL 787s # }, 787s # "handle-hello-fd", 787s # TRUE 787s # }; 787s # 787s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 787s # { 787s # &_test_fdpassing_method_info_hello_fd.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 787s # { 787s # { 787s # -1, 787s # (gchar *) "test.FDPassing", 787s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 787s # NULL, 787s # NULL, 787s # NULL 787s # }, 787s # "test-fdpassing", 787s # }; 787s # 787s # 787s # /** 787s # * test_fdpassing_interface_info: 787s # * 787s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 787s # * 787s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 787s # */ 787s # GDBusInterfaceInfo * 787s # test_fdpassing_interface_info (void) 787s # { 787s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 787s # } 787s # 787s # /** 787s # * test_fdpassing_override_properties: 787s # * @klass: The class structure for a #GObject derived class. 787s # * @property_id_begin: The property id to assign to the first overridden property. 787s # * 787s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 787s # * The properties are overridden in the order they are defined. 787s # * 787s # * Returns: The last property id. 787s # */ 787s # guint 787s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 787s # { 787s # return property_id_begin - 1; 787s # } 787s # 787s # 787s # inline static void 787s # test_fdpassing_method_marshal_hello_fd ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # 787s # /** 787s # * TestFDPassing: 787s # * 787s # * Abstract interface type for the D-Bus interface test.FDPassing. 787s # */ 787s # 787s # /** 787s # * TestFDPassingIface: 787s # * @parent_iface: The parent interface. 787s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 787s # * 787s # * Virtual table for the D-Bus interface test.FDPassing. 787s # */ 787s # 787s # typedef TestFDPassingIface TestFDPassingInterface; 787s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 787s # 787s # static void 787s # test_fdpassing_default_init (TestFDPassingIface *iface) 787s # { 787s # /* GObject signals for incoming D-Bus method calls: */ 787s # /** 787s # * TestFDPassing::handle-hello-fd: 787s # * @object: A #TestFDPassing. 787s # * @invocation: A #GDBusMethodInvocation. 787s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 787s # * @arg_greeting: Argument passed by remote caller. 787s # * 787s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 787s # * 787s # * 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. 787s # * 787s # * 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. 787s # */ 787s # g_signal_new ("handle-hello-fd", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 787s # g_signal_accumulator_true_handled, 787s # NULL, 787s # test_fdpassing_method_marshal_hello_fd, 787s # G_TYPE_BOOLEAN, 787s # 3, 787s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 787s # 787s # } 787s # 787s # /** 787s # * test_fdpassing_call_hello_fd: 787s # * @proxy: A #TestFDPassingProxy. 787s # * @arg_greeting: Argument to pass with the method invocation. 787s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 787s # * 787s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 787s # */ 787s # void 787s # test_fdpassing_call_hello_fd ( 787s # TestFDPassing *proxy, 787s # const gchar *arg_greeting, 787s # GUnixFDList *fd_list, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 787s # "HelloFD", 787s # g_variant_new ("(s)", 787s # arg_greeting), 787s # G_DBUS_CALL_FLAGS_NONE, 787s # -1, 787s # fd_list, 787s # cancellable, 787s # callback, 787s # user_data); 787s # } 787s # 787s # /** 787s # * test_fdpassing_call_hello_fd_finish: 787s # * @proxy: A #TestFDPassingProxy. 787s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 787s # * @error: Return location for error or %NULL. 787s # * 787s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 787s # * 787s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 787s # */ 787s # gboolean 787s # test_fdpassing_call_hello_fd_finish ( 787s # TestFDPassing *proxy, 787s # gchar **out_response, 787s # GUnixFDList **out_fd_list, 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GVariant *_ret; 787s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 787s # if (_ret == NULL) 787s # goto _out; 787s # g_variant_get (_ret, 787s # "(s)", 787s # out_response); 787s # g_variant_unref (_ret); 787s # _out: 787s # return _ret != NULL; 787s # } 787s # 787s # /** 787s # * test_fdpassing_call_hello_fd_sync: 787s # * @proxy: A #TestFDPassingProxy. 787s # * @arg_greeting: Argument to pass with the method invocation. 787s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 787s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 787s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL. 787s # * 787s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 787s # * 787s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 787s # * 787s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 787s # */ 787s # gboolean 787s # test_fdpassing_call_hello_fd_sync ( 787s # TestFDPassing *proxy, 787s # const gchar *arg_greeting, 787s # GUnixFDList *fd_list, 787s # gchar **out_response, 787s # GUnixFDList **out_fd_list, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GVariant *_ret; 787s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 787s # "HelloFD", 787s # g_variant_new ("(s)", 787s # arg_greeting), 787s # G_DBUS_CALL_FLAGS_NONE, 787s # -1, 787s # fd_list, 787s # out_fd_list, 787s # cancellable, 787s # error); 787s # if (_ret == NULL) 787s # goto _out; 787s # g_variant_get (_ret, 787s # "(s)", 787s # out_response); 787s # g_variant_unref (_ret); 787s # _out: 787s # return _ret != NULL; 787s # } 787s # 787s # /** 787s # * test_fdpassing_complete_hello_fd: 787s # * @object: A #TestFDPassing. 787s # * @invocation: (transfer full): A #GDBusMethodInvocation. 787s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 787s # * @response: Parameter to return. 787s # * 787s # * 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. 787s # * 787s # * This method will free @invocation, you cannot use it afterwards. 787s # */ 787s # void 787s # test_fdpassing_complete_hello_fd ( 787s # TestFDPassing *object G_GNUC_UNUSED, 787s # GDBusMethodInvocation *invocation, 787s # GUnixFDList *fd_list, 787s # const gchar *response) 787s # { 787s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 787s # g_variant_new ("(s)", 787s # response), 787s # fd_list); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * TestFDPassingProxy: 787s # * 787s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * TestFDPassingProxyClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #TestFDPassingProxy. 787s # */ 787s # 787s # struct _TestFDPassingProxyPrivate 787s # { 787s # GData *qdata; 787s # }; 787s # 787s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 787s # G_ADD_PRIVATE (TestFDPassingProxy) 787s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 787s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 787s # 787s # #endif 787s # static void 787s # test_fdpassing_proxy_finalize (GObject *object) 787s # { 787s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 787s # g_datalist_clear (&proxy->priv->qdata); 787s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # const GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 787s # const gchar *sender_name G_GNUC_UNUSED, 787s # const gchar *signal_name, 787s # GVariant *parameters) 787s # { 787s # _ExtendedGDBusSignalInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # gsize n; 787s # guint signal_id; 787s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 787s # if (info == NULL) 787s # return; 787s # num_params = g_variant_n_children (parameters); 787s # paramv = g_new0 (GValue, num_params + 1); 787s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 787s # g_value_set_object (¶mv[0], proxy); 787s # g_variant_iter_init (&iter, parameters); 787s # n = 1; 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 787s # g_signal_emitv (paramv, signal_id, 0, NULL); 787s # for (n = 0; n < num_params + 1; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static void 787s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 787s # GVariant *changed_properties, 787s # const gchar *const *invalidated_properties) 787s # { 787s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 787s # guint n; 787s # const gchar *key; 787s # GVariantIter *iter; 787s # _ExtendedGDBusPropertyInfo *info; 787s # g_variant_get (changed_properties, "a{sv}", &iter); 787s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 787s # g_datalist_remove_data (&proxy->priv->qdata, key); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # g_variant_iter_free (iter); 787s # for (n = 0; invalidated_properties[n] != NULL; n++) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 787s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # } 787s # 787s # static void 787s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 787s # #else 787s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 787s # #endif 787s # 787s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 787s # } 787s # 787s # static void 787s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusProxyClass *proxy_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = test_fdpassing_proxy_finalize; 787s # gobject_class->get_property = test_fdpassing_proxy_get_property; 787s # gobject_class->set_property = test_fdpassing_proxy_set_property; 787s # 787s # proxy_class = G_DBUS_PROXY_CLASS (klass); 787s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 787s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # /** 787s # * test_fdpassing_proxy_new: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 787s # * 787s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # test_fdpassing_proxy_new ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # 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); 787s # } 787s # 787s # /** 787s # * test_fdpassing_proxy_new_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with test_fdpassing_proxy_new(). 787s # * 787s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # TestFDPassing * 787s # test_fdpassing_proxy_new_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return TEST_FDPASSING (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * test_fdpassing_proxy_new_sync: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # TestFDPassing * 787s # test_fdpassing_proxy_new_sync ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return TEST_FDPASSING (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /** 787s # * test_fdpassing_proxy_new_for_bus: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 787s # * 787s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # test_fdpassing_proxy_new_for_bus ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # 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); 787s # } 787s # 787s # /** 787s # * test_fdpassing_proxy_new_for_bus_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 787s # * 787s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # TestFDPassing * 787s # test_fdpassing_proxy_new_for_bus_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return TEST_FDPASSING (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * test_fdpassing_proxy_new_for_bus_sync: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # TestFDPassing * 787s # test_fdpassing_proxy_new_for_bus_sync ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return TEST_FDPASSING (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * TestFDPassingSkeleton: 787s # * 787s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * TestFDPassingSkeletonClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #TestFDPassingSkeleton. 787s # */ 787s # 787s # struct _TestFDPassingSkeletonPrivate 787s # { 787s # GValue *properties; 787s # GList *changed_properties; 787s # GSource *changed_properties_idle_source; 787s # GMainContext *context; 787s # GMutex lock; 787s # }; 787s # 787s # static void 787s # _test_fdpassing_skeleton_handle_method_call ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name, 787s # const gchar *method_name, 787s # GVariant *parameters, 787s # GDBusMethodInvocation *invocation, 787s # gpointer user_data) 787s # { 787s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 787s # _ExtendedGDBusMethodInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # guint num_extra; 787s # gsize n; 787s # guint signal_id; 787s # GValue return_value = G_VALUE_INIT; 787s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 787s # g_assert (info != NULL); 787s # num_params = g_variant_n_children (parameters); 787s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 787s # n = 0; 787s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 787s # g_value_set_object (¶mv[n++], skeleton); 787s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 787s # g_value_set_object (¶mv[n++], invocation); 787s # if (info->pass_fdlist) 787s # { 787s # #ifdef G_OS_UNIX 787s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 787s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 787s # #else 787s # g_assert_not_reached (); 787s # #endif 787s # } 787s # g_variant_iter_init (&iter, parameters); 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 787s # g_value_init (&return_value, G_TYPE_BOOLEAN); 787s # g_signal_emitv (paramv, signal_id, 0, &return_value); 787s # if (!g_value_get_boolean (&return_value)) 787s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 787s # g_value_unset (&return_value); 787s # for (n = 0; n < num_params + num_extra; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static GVariant * 787s # _test_fdpassing_skeleton_handle_get_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # GVariant *ret; 787s # ret = NULL; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # g_value_init (&value, pspec->value_type); 787s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 787s # g_value_unset (&value); 787s # } 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _test_fdpassing_skeleton_handle_set_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GVariant *variant, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # gboolean ret; 787s # ret = FALSE; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # if (info->use_gvariant) 787s # g_value_set_variant (&value, variant); 787s # else 787s # g_dbus_gvariant_to_gvalue (variant, &value); 787s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # g_value_unset (&value); 787s # ret = TRUE; 787s # } 787s # return ret; 787s # } 787s # 787s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 787s # { 787s # _test_fdpassing_skeleton_handle_method_call, 787s # _test_fdpassing_skeleton_handle_get_property, 787s # _test_fdpassing_skeleton_handle_set_property, 787s # {NULL} 787s # }; 787s # 787s # static GDBusInterfaceInfo * 787s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return test_fdpassing_interface_info (); 787s # } 787s # 787s # static GDBusInterfaceVTable * 787s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 787s # } 787s # 787s # static GVariant * 787s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 787s # { 787s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 787s # 787s # GVariantBuilder builder; 787s # guint n; 787s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 787s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 787s # goto out; 787s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 787s # { 787s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 787s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 787s # { 787s # GVariant *value; 787s # 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); 787s # if (value != NULL) 787s # { 787s # g_variant_take_ref (value); 787s # g_variant_builder_add (&builder, "{sv}", info->name, value); 787s # g_variant_unref (value); 787s # } 787s # } 787s # } 787s # out: 787s # return g_variant_builder_end (&builder); 787s # } 787s # 787s # static void 787s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_ADD_PRIVATE (TestFDPassingSkeleton) 787s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 787s # 787s # #endif 787s # static void 787s # test_fdpassing_skeleton_finalize (GObject *object) 787s # { 787s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 787s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 787s # if (skeleton->priv->changed_properties_idle_source != NULL) 787s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 787s # g_main_context_unref (skeleton->priv->context); 787s # g_mutex_clear (&skeleton->priv->lock); 787s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 787s # #else 787s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 787s # #endif 787s # 787s # g_mutex_init (&skeleton->priv->lock); 787s # skeleton->priv->context = g_main_context_ref_thread_default (); 787s # } 787s # 787s # static void 787s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusInterfaceSkeletonClass *skeleton_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 787s # 787s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 787s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 787s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 787s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 787s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # /** 787s # * test_fdpassing_skeleton_new: 787s # * 787s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 787s # * 787s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 787s # */ 787s # TestFDPassing * 787s # test_fdpassing_skeleton_new (void) 787s # { 787s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 787s # } 787s ok 15 __main__.TestCodegen.test_generate_rst 787s # tmpdir: /tmp/tmpacvorl28 787s # codegen: /usr/bin/gdbus-codegen 787s # /tmp/tmpacvorl28/tmpu3y97bz5.xml: 787s # 787s # 787s # 787s # 787s # 787s # 787s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpacvorl28/tmpu3y97bz5.xml', '--generate-rst', 'test'] 787s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 787s # Output: 787s ok 16 __main__.TestCodegen.test_generate_rst_method 787s # tmpdir: /tmp/tmpde5vapjo 787s # codegen: /usr/bin/gdbus-codegen 787s # /tmp/tmpde5vapjo/tmpfd1_x0ml.xml: 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpde5vapjo/tmpfd1_x0ml.xml', '--generate-rst', 'test'] 787s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 787s # Output: 787s ok 17 __main__.TestCodegen.test_generate_rst_property 787s # tmpdir: /tmp/tmpspxqss2d 787s # codegen: /usr/bin/gdbus-codegen 787s # /tmp/tmpspxqss2d/tmpahm7xb05.xml: 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpspxqss2d/tmpahm7xb05.xml', '--generate-rst', 'test'] 787s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 787s # Output: 787s ok 18 __main__.TestCodegen.test_generate_rst_signal 787s # tmpdir: /tmp/tmp8zz5ac1c 787s # codegen: /usr/bin/gdbus-codegen 787s # /tmp/tmp8zz5ac1c/tmpythheof0.xml: 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8zz5ac1c/tmpythheof0.xml', '--generate-rst', 'test'] 787s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 787s # Output: 787s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 787s # tmpdir: /tmp/tmpdpr9qgkg 787s # codegen: /usr/bin/gdbus-codegen 787s # /tmp/tmpdpr9qgkg/tmpws4q_s_w.xml: 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdpr9qgkg/tmpws4q_s_w.xml', '--output', '-', '--body'] 787s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 787s # Output: /* 787s # * This file is generated by gdbus-codegen, do not modify it. 787s # * 787s # * The license of this code is the same as for the D-Bus interface description 787s # * it was derived from. Note that it links to GLib, so must comply with the 787s # * LGPL linking clauses. 787s # */ 787s # 787s # #ifdef HAVE_CONFIG_H 787s # # include "config.h" 787s # #endif 787s # 787s # #include 787s # #ifdef G_OS_UNIX 787s # # include 787s # #endif 787s # 787s # #ifdef G_ENABLE_DEBUG 787s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 787s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 787s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 787s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 787s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 787s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 787s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 787s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 787s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 787s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 787s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 787s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 787s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 787s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 787s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 787s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 787s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 787s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 787s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 787s # #else /* !G_ENABLE_DEBUG */ 787s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 787s # * Do not access GValues directly in your code. Instead, use the 787s # * g_value_get_*() functions 787s # */ 787s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 787s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 787s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 787s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 787s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 787s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 787s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 787s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 787s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 787s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 787s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 787s # #endif /* !G_ENABLE_DEBUG */ 787s # 787s # typedef struct 787s # { 787s # GDBusArgInfo parent_struct; 787s # gboolean use_gvariant; 787s # } _ExtendedGDBusArgInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusMethodInfo parent_struct; 787s # const gchar *signal_name; 787s # gboolean pass_fdlist; 787s # } _ExtendedGDBusMethodInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusSignalInfo parent_struct; 787s # const gchar *signal_name; 787s # } _ExtendedGDBusSignalInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusPropertyInfo parent_struct; 787s # const gchar *hyphen_name; 787s # guint use_gvariant : 1; 787s # guint emits_changed_signal : 1; 787s # } _ExtendedGDBusPropertyInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusInterfaceInfo parent_struct; 787s # const gchar *hyphen_name; 787s # } _ExtendedGDBusInterfaceInfo; 787s # 787s # typedef struct 787s # { 787s # const _ExtendedGDBusPropertyInfo *info; 787s # guint prop_id; 787s # GValue orig_value; /* the value before the change */ 787s # } ChangedProperty; 787s # 787s # static void 787s # _changed_property_free (ChangedProperty *data) 787s # { 787s # g_value_unset (&data->orig_value); 787s # g_free (data); 787s # } 787s # 787s # static gboolean 787s # _g_strv_equal0 (gchar **a, gchar **b) 787s # { 787s # gboolean ret = FALSE; 787s # guint n; 787s # if (a == NULL && b == NULL) 787s # { 787s # ret = TRUE; 787s # goto out; 787s # } 787s # if (a == NULL || b == NULL) 787s # goto out; 787s # if (g_strv_length (a) != g_strv_length (b)) 787s # goto out; 787s # for (n = 0; a[n] != NULL; n++) 787s # if (g_strcmp0 (a[n], b[n]) != 0) 787s # goto out; 787s # ret = TRUE; 787s # out: 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _g_variant_equal0 (GVariant *a, GVariant *b) 787s # { 787s # gboolean ret = FALSE; 787s # if (a == NULL && b == NULL) 787s # { 787s # ret = TRUE; 787s # goto out; 787s # } 787s # if (a == NULL || b == NULL) 787s # goto out; 787s # ret = g_variant_equal (a, b); 787s # out: 787s # return ret; 787s # } 787s # 787s # G_GNUC_UNUSED static gboolean 787s # _g_value_equal (const GValue *a, const GValue *b) 787s # { 787s # gboolean ret = FALSE; 787s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 787s # switch (G_VALUE_TYPE (a)) 787s # { 787s # case G_TYPE_BOOLEAN: 787s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 787s # break; 787s # case G_TYPE_UCHAR: 787s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 787s # break; 787s # case G_TYPE_INT: 787s # ret = (g_value_get_int (a) == g_value_get_int (b)); 787s # break; 787s # case G_TYPE_UINT: 787s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 787s # break; 787s # case G_TYPE_INT64: 787s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 787s # break; 787s # case G_TYPE_UINT64: 787s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 787s # break; 787s # case G_TYPE_DOUBLE: 787s # { 787s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 787s # gdouble da = g_value_get_double (a); 787s # gdouble db = g_value_get_double (b); 787s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 787s # } 787s # break; 787s # case G_TYPE_STRING: 787s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 787s # break; 787s # case G_TYPE_VARIANT: 787s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 787s # break; 787s # default: 787s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 787s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 787s # else 787s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 787s # break; 787s # } 787s # return ret; 787s # } 787s # 787s # static void 787s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 787s # GClosure *closure, 787s # GValue *return_value G_GNUC_UNUSED, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint G_GNUC_UNUSED, 787s # void *marshal_data) 787s # { 787s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 787s # (void *data1, 787s # gboolean arg_an_b, 787s # guchar arg_an_y, 787s # gint16 arg_an_n, 787s # guint16 arg_an_q, 787s # gint arg_an_i, 787s # guint arg_an_u, 787s # gint64 arg_an_x, 787s # guint64 arg_an_t, 787s # gdouble arg_an_d, 787s # const gchar *arg_an_s, 787s # const gchar *arg_an_o, 787s # const gchar *arg_an_g, 787s # GVariant *arg_an_h, 787s # const gchar *arg_an_ay, 787s # const gchar *const *arg_an_as, 787s # const gchar *const *arg_an_ao, 787s # const gchar *const *arg_an_aay, 787s # GVariant *arg_an_asv, 787s # void *data2); 787s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 787s # GCClosure *cc = (GCClosure*) closure; 787s # void *data1, *data2; 787s # 787s # g_return_if_fail (n_param_values == 19); 787s # 787s # if (G_CCLOSURE_SWAP_DATA (closure)) 787s # { 787s # data1 = closure->data; 787s # data2 = g_value_peek_pointer (param_values + 0); 787s # } 787s # else 787s # { 787s # data1 = g_value_peek_pointer (param_values + 0); 787s # data2 = closure->data; 787s # } 787s # 787s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 787s # (marshal_data ? marshal_data : cc->callback); 787s # 787s # callback (data1, 787s # g_marshal_value_peek_boolean (param_values + 1), 787s # g_marshal_value_peek_uchar (param_values + 2), 787s # g_marshal_value_peek_int (param_values + 3), 787s # g_marshal_value_peek_uint (param_values + 4), 787s # g_marshal_value_peek_int (param_values + 5), 787s # g_marshal_value_peek_uint (param_values + 6), 787s # g_marshal_value_peek_int64 (param_values + 7), 787s # g_marshal_value_peek_uint64 (param_values + 8), 787s # g_marshal_value_peek_double (param_values + 9), 787s # g_marshal_value_peek_string (param_values + 10), 787s # g_marshal_value_peek_string (param_values + 11), 787s # g_marshal_value_peek_string (param_values + 12), 787s # g_marshal_value_peek_variant (param_values + 13), 787s # g_marshal_value_peek_string (param_values + 14), 787s # g_marshal_value_peek_boxed (param_values + 15), 787s # g_marshal_value_peek_boxed (param_values + 16), 787s # g_marshal_value_peek_boxed (param_values + 17), 787s # g_marshal_value_peek_variant (param_values + 18), 787s # data2); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ 787s # * Code for interface org.project.SignalingIface 787s # * ------------------------------------------------------------------------ 787s # */ 787s # 787s # /** 787s # * SECTION:OrgProjectSignalingIface 787s # * @title: OrgProjectSignalingIface 787s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 787s # * 787s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 787s # */ 787s # 787s # enum 787s # { 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 787s # }; 787s # 787s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 787s # 787s # /* ---- Introspection data for org.project.SignalingIface ---- */ 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_b", 787s # (gchar *) "b", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_y", 787s # (gchar *) "y", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_n", 787s # (gchar *) "n", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_q", 787s # (gchar *) "q", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_i", 787s # (gchar *) "i", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_u", 787s # (gchar *) "u", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_x", 787s # (gchar *) "x", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_t", 787s # (gchar *) "t", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_d", 787s # (gchar *) "d", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_s", 787s # (gchar *) "s", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_o", 787s # (gchar *) "o", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_g", 787s # (gchar *) "g", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_h", 787s # (gchar *) "h", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_ay", 787s # (gchar *) "ay", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_as", 787s # (gchar *) "as", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_ao", 787s # (gchar *) "ao", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_aay", 787s # (gchar *) "aay", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_asv", 787s # (gchar *) "a{sv}", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 787s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 787s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 787s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 787s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 787s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 787s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 787s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 787s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 787s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 787s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 787s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 787s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 787s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 787s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 787s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 787s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 787s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SignalWithManyArgs", 787s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 787s # NULL 787s # }, 787s # "signal-with-many-args" 787s # }; 787s # 787s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 787s # { 787s # { 787s # -1, 787s # (gchar *) "org.project.SignalingIface", 787s # NULL, 787s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 787s # NULL, 787s # NULL 787s # }, 787s # "org-project-signaling-iface", 787s # }; 787s # 787s # 787s # /** 787s # * org_project_signaling_iface_interface_info: 787s # * 787s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 787s # * 787s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 787s # */ 787s # GDBusInterfaceInfo * 787s # org_project_signaling_iface_interface_info (void) 787s # { 787s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_override_properties: 787s # * @klass: The class structure for a #GObject derived class. 787s # * @property_id_begin: The property id to assign to the first overridden property. 787s # * 787s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 787s # * The properties are overridden in the order they are defined. 787s # * 787s # * Returns: The last property id. 787s # */ 787s # guint 787s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 787s # { 787s # return property_id_begin - 1; 787s # } 787s # 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # 787s # /** 787s # * OrgProjectSignalingIface: 787s # * 787s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 787s # */ 787s # 787s # /** 787s # * OrgProjectSignalingIfaceIface: 787s # * @parent_iface: The parent interface. 787s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 787s # * 787s # * Virtual table for the D-Bus interface org.project.SignalingIface. 787s # */ 787s # 787s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 787s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 787s # 787s # static void 787s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 787s # { 787s # /* GObject signals for received D-Bus signals: */ 787s # /** 787s # * OrgProjectSignalingIface::signal-with-many-args: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_b: Argument. 787s # * @arg_an_y: Argument. 787s # * @arg_an_n: Argument. 787s # * @arg_an_q: Argument. 787s # * @arg_an_i: Argument. 787s # * @arg_an_u: Argument. 787s # * @arg_an_x: Argument. 787s # * @arg_an_t: Argument. 787s # * @arg_an_d: Argument. 787s # * @arg_an_s: Argument. 787s # * @arg_an_o: Argument. 787s # * @arg_an_g: Argument. 787s # * @arg_an_h: Argument. 787s # * @arg_an_ay: Argument. 787s # * @arg_an_as: Argument. 787s # * @arg_an_ao: Argument. 787s # * @arg_an_aay: Argument. 787s # * @arg_an_asv: Argument. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 787s # g_signal_new ("signal-with-many-args", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 787s # G_TYPE_NONE, 787s # 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); 787s # 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_signal_with_many_args: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_b: Argument to pass with the signal. 787s # * @arg_an_y: Argument to pass with the signal. 787s # * @arg_an_n: Argument to pass with the signal. 787s # * @arg_an_q: Argument to pass with the signal. 787s # * @arg_an_i: Argument to pass with the signal. 787s # * @arg_an_u: Argument to pass with the signal. 787s # * @arg_an_x: Argument to pass with the signal. 787s # * @arg_an_t: Argument to pass with the signal. 787s # * @arg_an_d: Argument to pass with the signal. 787s # * @arg_an_s: Argument to pass with the signal. 787s # * @arg_an_o: Argument to pass with the signal. 787s # * @arg_an_g: Argument to pass with the signal. 787s # * @arg_an_h: Argument to pass with the signal. 787s # * @arg_an_ay: Argument to pass with the signal. 787s # * @arg_an_as: Argument to pass with the signal. 787s # * @arg_an_ao: Argument to pass with the signal. 787s # * @arg_an_aay: Argument to pass with the signal. 787s # * @arg_an_asv: Argument to pass with the signal. 787s # * 787s # * Emits the "SignalWithManyArgs" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_signal_with_many_args ( 787s # OrgProjectSignalingIface *object, 787s # gboolean arg_an_b, 787s # guchar arg_an_y, 787s # gint16 arg_an_n, 787s # guint16 arg_an_q, 787s # gint arg_an_i, 787s # guint arg_an_u, 787s # gint64 arg_an_x, 787s # guint64 arg_an_t, 787s # gdouble arg_an_d, 787s # const gchar *arg_an_s, 787s # const gchar *arg_an_o, 787s # const gchar *arg_an_g, 787s # GVariant *arg_an_h, 787s # const gchar *arg_an_ay, 787s # const gchar *const *arg_an_as, 787s # const gchar *const *arg_an_ao, 787s # const gchar *const *arg_an_aay, 787s # GVariant *arg_an_asv) 787s # { 787s # 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); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectSignalingIfaceProxy: 787s # * 787s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectSignalingIfaceProxyClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectSignalingIfaceProxy. 787s # */ 787s # 787s # struct _OrgProjectSignalingIfaceProxyPrivate 787s # { 787s # GData *qdata; 787s # }; 787s # 787s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 787s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_signaling_iface_proxy_finalize (GObject *object) 787s # { 787s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 787s # g_datalist_clear (&proxy->priv->qdata); 787s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # const GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 787s # const gchar *sender_name G_GNUC_UNUSED, 787s # const gchar *signal_name, 787s # GVariant *parameters) 787s # { 787s # _ExtendedGDBusSignalInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # gsize n; 787s # guint signal_id; 787s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 787s # if (info == NULL) 787s # return; 787s # num_params = g_variant_n_children (parameters); 787s # paramv = g_new0 (GValue, num_params + 1); 787s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 787s # g_value_set_object (¶mv[0], proxy); 787s # g_variant_iter_init (&iter, parameters); 787s # n = 1; 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 787s # g_signal_emitv (paramv, signal_id, 0, NULL); 787s # for (n = 0; n < num_params + 1; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 787s # GVariant *changed_properties, 787s # const gchar *const *invalidated_properties) 787s # { 787s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 787s # guint n; 787s # const gchar *key; 787s # GVariantIter *iter; 787s # _ExtendedGDBusPropertyInfo *info; 787s # g_variant_get (changed_properties, "a{sv}", &iter); 787s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 787s # g_datalist_remove_data (&proxy->priv->qdata, key); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # g_variant_iter_free (iter); 787s # for (n = 0; invalidated_properties[n] != NULL; n++) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 787s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 787s # #else 787s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 787s # #endif 787s # 787s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusProxyClass *proxy_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 787s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 787s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 787s # 787s # proxy_class = G_DBUS_PROXY_CLASS (klass); 787s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 787s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_proxy_new: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 787s # * 787s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_signaling_iface_proxy_new ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # 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); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_proxy_new_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectSignalingIface * 787s # org_project_signaling_iface_proxy_new_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_SIGNALING_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_proxy_new_sync: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectSignalingIface * 787s # org_project_signaling_iface_proxy_new_sync ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_SIGNALING_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /** 787s # * org_project_signaling_iface_proxy_new_for_bus: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 787s # * 787s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_signaling_iface_proxy_new_for_bus ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # 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); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_proxy_new_for_bus_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectSignalingIface * 787s # org_project_signaling_iface_proxy_new_for_bus_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_SIGNALING_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_proxy_new_for_bus_sync: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectSignalingIface * 787s # org_project_signaling_iface_proxy_new_for_bus_sync ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_SIGNALING_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectSignalingIfaceSkeleton: 787s # * 787s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectSignalingIfaceSkeletonClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 787s # */ 787s # 787s # struct _OrgProjectSignalingIfaceSkeletonPrivate 787s # { 787s # GValue *properties; 787s # GList *changed_properties; 787s # GSource *changed_properties_idle_source; 787s # GMainContext *context; 787s # GMutex lock; 787s # }; 787s # 787s # static void 787s # _org_project_signaling_iface_skeleton_handle_method_call ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name, 787s # const gchar *method_name, 787s # GVariant *parameters, 787s # GDBusMethodInvocation *invocation, 787s # gpointer user_data) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 787s # _ExtendedGDBusMethodInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # guint num_extra; 787s # gsize n; 787s # guint signal_id; 787s # GValue return_value = G_VALUE_INIT; 787s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 787s # g_assert (info != NULL); 787s # num_params = g_variant_n_children (parameters); 787s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 787s # n = 0; 787s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 787s # g_value_set_object (¶mv[n++], skeleton); 787s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 787s # g_value_set_object (¶mv[n++], invocation); 787s # if (info->pass_fdlist) 787s # { 787s # #ifdef G_OS_UNIX 787s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 787s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 787s # #else 787s # g_assert_not_reached (); 787s # #endif 787s # } 787s # g_variant_iter_init (&iter, parameters); 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 787s # g_value_init (&return_value, G_TYPE_BOOLEAN); 787s # g_signal_emitv (paramv, signal_id, 0, &return_value); 787s # if (!g_value_get_boolean (&return_value)) 787s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 787s # g_value_unset (&return_value); 787s # for (n = 0; n < num_params + num_extra; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static GVariant * 787s # _org_project_signaling_iface_skeleton_handle_get_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # GVariant *ret; 787s # ret = NULL; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # g_value_init (&value, pspec->value_type); 787s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 787s # g_value_unset (&value); 787s # } 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _org_project_signaling_iface_skeleton_handle_set_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GVariant *variant, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # gboolean ret; 787s # ret = FALSE; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # if (info->use_gvariant) 787s # g_value_set_variant (&value, variant); 787s # else 787s # g_dbus_gvariant_to_gvalue (variant, &value); 787s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # g_value_unset (&value); 787s # ret = TRUE; 787s # } 787s # return ret; 787s # } 787s # 787s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 787s # { 787s # _org_project_signaling_iface_skeleton_handle_method_call, 787s # _org_project_signaling_iface_skeleton_handle_get_property, 787s # _org_project_signaling_iface_skeleton_handle_set_property, 787s # {NULL} 787s # }; 787s # 787s # static GDBusInterfaceInfo * 787s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return org_project_signaling_iface_interface_info (); 787s # } 787s # 787s # static GDBusInterfaceVTable * 787s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 787s # } 787s # 787s # static GVariant * 787s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 787s # 787s # GVariantBuilder builder; 787s # guint n; 787s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 787s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 787s # goto out; 787s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 787s # { 787s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 787s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 787s # { 787s # GVariant *value; 787s # 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); 787s # if (value != NULL) 787s # { 787s # g_variant_take_ref (value); 787s # g_variant_builder_add (&builder, "{sv}", info->name, value); 787s # g_variant_unref (value); 787s # } 787s # } 787s # } 787s # out: 787s # return g_variant_builder_end (&builder); 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 787s # OrgProjectSignalingIface *object, 787s # gboolean arg_an_b, 787s # guchar arg_an_y, 787s # gint16 arg_an_n, 787s # guint16 arg_an_q, 787s # gint arg_an_i, 787s # guint arg_an_u, 787s # gint64 arg_an_x, 787s # guint64 arg_an_t, 787s # gdouble arg_an_d, 787s # const gchar *arg_an_s, 787s # const gchar *arg_an_o, 787s # const gchar *arg_an_g, 787s # GVariant *arg_an_h, 787s # const gchar *arg_an_ay, 787s # const gchar *const *arg_an_as, 787s # const gchar *const *arg_an_ao, 787s # const gchar *const *arg_an_aay, 787s # GVariant *arg_an_asv) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 787s # arg_an_b, 787s # arg_an_y, 787s # arg_an_n, 787s # arg_an_q, 787s # arg_an_i, 787s # arg_an_u, 787s # arg_an_x, 787s # arg_an_t, 787s # arg_an_d, 787s # arg_an_s, 787s # arg_an_o, 787s # arg_an_g, 787s # arg_an_h, 787s # arg_an_ay, 787s # arg_an_as, 787s # arg_an_ao, 787s # arg_an_aay, 787s # arg_an_asv)); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_signaling_iface_skeleton_finalize (GObject *object) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 787s # if (skeleton->priv->changed_properties_idle_source != NULL) 787s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 787s # g_main_context_unref (skeleton->priv->context); 787s # g_mutex_clear (&skeleton->priv->lock); 787s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 787s # #else 787s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 787s # #endif 787s # 787s # g_mutex_init (&skeleton->priv->lock); 787s # skeleton->priv->context = g_main_context_ref_thread_default (); 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusInterfaceSkeletonClass *skeleton_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 787s # 787s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 787s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 787s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 787s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 787s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 787s # { 787s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_skeleton_new: 787s # * 787s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 787s # * 787s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 787s # */ 787s # OrgProjectSignalingIface * 787s # org_project_signaling_iface_skeleton_new (void) 787s # { 787s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 787s # } 787s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 787s # tmpdir: /tmp/tmpryusoog2 787s # codegen: /usr/bin/gdbus-codegen 787s # /tmp/tmpryusoog2/tmpm0g1qxyc.xml: 787s # 787s # 787s # 787s # 787s # 787s # 787s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpryusoog2/tmpm0g1qxyc.xml', '--output', '-', '--body'] 787s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 787s # Output: /* 787s # * This file is generated by gdbus-codegen, do not modify it. 787s # * 787s # * The license of this code is the same as for the D-Bus interface description 787s # * it was derived from. Note that it links to GLib, so must comply with the 787s # * LGPL linking clauses. 787s # */ 787s # 787s # #ifdef HAVE_CONFIG_H 787s # # include "config.h" 787s # #endif 787s # 787s # #include 787s # #ifdef G_OS_UNIX 787s # # include 787s # #endif 787s # 787s # #ifdef G_ENABLE_DEBUG 787s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 787s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 787s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 787s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 787s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 787s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 787s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 787s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 787s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 787s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 787s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 787s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 787s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 787s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 787s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 787s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 787s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 787s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 787s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 787s # #else /* !G_ENABLE_DEBUG */ 787s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 787s # * Do not access GValues directly in your code. Instead, use the 787s # * g_value_get_*() functions 787s # */ 787s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 787s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 787s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 787s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 787s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 787s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 787s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 787s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 787s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 787s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 787s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 787s # #endif /* !G_ENABLE_DEBUG */ 787s # 787s # typedef struct 787s # { 787s # GDBusArgInfo parent_struct; 787s # gboolean use_gvariant; 787s # } _ExtendedGDBusArgInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusMethodInfo parent_struct; 787s # const gchar *signal_name; 787s # gboolean pass_fdlist; 787s # } _ExtendedGDBusMethodInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusSignalInfo parent_struct; 787s # const gchar *signal_name; 787s # } _ExtendedGDBusSignalInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusPropertyInfo parent_struct; 787s # const gchar *hyphen_name; 787s # guint use_gvariant : 1; 787s # guint emits_changed_signal : 1; 787s # } _ExtendedGDBusPropertyInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusInterfaceInfo parent_struct; 787s # const gchar *hyphen_name; 787s # } _ExtendedGDBusInterfaceInfo; 787s # 787s # typedef struct 787s # { 787s # const _ExtendedGDBusPropertyInfo *info; 787s # guint prop_id; 787s # GValue orig_value; /* the value before the change */ 787s # } ChangedProperty; 787s # 787s # static void 787s # _changed_property_free (ChangedProperty *data) 787s # { 787s # g_value_unset (&data->orig_value); 787s # g_free (data); 787s # } 787s # 787s # static gboolean 787s # _g_strv_equal0 (gchar **a, gchar **b) 787s # { 787s # gboolean ret = FALSE; 787s # guint n; 787s # if (a == NULL && b == NULL) 787s # { 787s # ret = TRUE; 787s # goto out; 787s # } 787s # if (a == NULL || b == NULL) 787s # goto out; 787s # if (g_strv_length (a) != g_strv_length (b)) 787s # goto out; 787s # for (n = 0; a[n] != NULL; n++) 787s # if (g_strcmp0 (a[n], b[n]) != 0) 787s # goto out; 787s # ret = TRUE; 787s # out: 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _g_variant_equal0 (GVariant *a, GVariant *b) 787s # { 787s # gboolean ret = FALSE; 787s # if (a == NULL && b == NULL) 787s # { 787s # ret = TRUE; 787s # goto out; 787s # } 787s # if (a == NULL || b == NULL) 787s # goto out; 787s # ret = g_variant_equal (a, b); 787s # out: 787s # return ret; 787s # } 787s # 787s # G_GNUC_UNUSED static gboolean 787s # _g_value_equal (const GValue *a, const GValue *b) 787s # { 787s # gboolean ret = FALSE; 787s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 787s # switch (G_VALUE_TYPE (a)) 787s # { 787s # case G_TYPE_BOOLEAN: 787s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 787s # break; 787s # case G_TYPE_UCHAR: 787s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 787s # break; 787s # case G_TYPE_INT: 787s # ret = (g_value_get_int (a) == g_value_get_int (b)); 787s # break; 787s # case G_TYPE_UINT: 787s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 787s # break; 787s # case G_TYPE_INT64: 787s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 787s # break; 787s # case G_TYPE_UINT64: 787s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 787s # break; 787s # case G_TYPE_DOUBLE: 787s # { 787s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 787s # gdouble da = g_value_get_double (a); 787s # gdouble db = g_value_get_double (b); 787s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 787s # } 787s # break; 787s # case G_TYPE_STRING: 787s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 787s # break; 787s # case G_TYPE_VARIANT: 787s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 787s # break; 787s # default: 787s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 787s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 787s # else 787s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 787s # break; 787s # } 787s # return ret; 787s # } 787s # 787s # static void 787s # _g_dbus_codegen_marshal_VOID__INT64 ( 787s # GClosure *closure, 787s # GValue *return_value G_GNUC_UNUSED, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint G_GNUC_UNUSED, 787s # void *marshal_data) 787s # { 787s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 787s # (void *data1, 787s # gint64 arg_an_x, 787s # void *data2); 787s # _GDbusCodegenMarshalVoid_Int64Func callback; 787s # GCClosure *cc = (GCClosure*) closure; 787s # void *data1, *data2; 787s # 787s # g_return_if_fail (n_param_values == 2); 787s # 787s # if (G_CCLOSURE_SWAP_DATA (closure)) 787s # { 787s # data1 = closure->data; 787s # data2 = g_value_peek_pointer (param_values + 0); 787s # } 787s # else 787s # { 787s # data1 = g_value_peek_pointer (param_values + 0); 787s # data2 = closure->data; 787s # } 787s # 787s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 787s # (marshal_data ? marshal_data : cc->callback); 787s # 787s # callback (data1, 787s # g_marshal_value_peek_int64 (param_values + 1), 787s # data2); 787s # } 787s # 787s # static void 787s # _g_dbus_codegen_marshal_VOID__UINT64 ( 787s # GClosure *closure, 787s # GValue *return_value G_GNUC_UNUSED, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint G_GNUC_UNUSED, 787s # void *marshal_data) 787s # { 787s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 787s # (void *data1, 787s # guint64 arg_an_t, 787s # void *data2); 787s # _GDbusCodegenMarshalVoid_Uint64Func callback; 787s # GCClosure *cc = (GCClosure*) closure; 787s # void *data1, *data2; 787s # 787s # g_return_if_fail (n_param_values == 2); 787s # 787s # if (G_CCLOSURE_SWAP_DATA (closure)) 787s # { 787s # data1 = closure->data; 787s # data2 = g_value_peek_pointer (param_values + 0); 787s # } 787s # else 787s # { 787s # data1 = g_value_peek_pointer (param_values + 0); 787s # data2 = closure->data; 787s # } 787s # 787s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 787s # (marshal_data ? marshal_data : cc->callback); 787s # 787s # callback (data1, 787s # g_marshal_value_peek_uint64 (param_values + 1), 787s # data2); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ 787s # * Code for interface org.project.SignalingIface 787s # * ------------------------------------------------------------------------ 787s # */ 787s # 787s # /** 787s # * SECTION:OrgProjectSignalingIface 787s # * @title: OrgProjectSignalingIface 787s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 787s # * 787s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 787s # */ 787s # 787s # enum 787s # { 787s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 787s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 787s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 787s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 787s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 787s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 787s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 787s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 787s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 787s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 787s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 787s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 787s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 787s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 787s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 787s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 787s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 787s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 787s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 787s # }; 787s # 787s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 787s # 787s # /* ---- Introspection data for org.project.SignalingIface ---- */ 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 787s # { 787s # { 787s # -1, 787s # (gchar *) "NoArgSignal", 787s # NULL, 787s # NULL 787s # }, 787s # "no-arg-signal" 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_b", 787s # (gchar *) "b", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgSignalB", 787s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 787s # NULL 787s # }, 787s # "single-arg-signal-b" 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_y", 787s # (gchar *) "y", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgSignalY", 787s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 787s # NULL 787s # }, 787s # "single-arg-signal-y" 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_n", 787s # (gchar *) "n", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgSignalN", 787s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 787s # NULL 787s # }, 787s # "single-arg-signal-n" 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_q", 787s # (gchar *) "q", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgSignalQ", 787s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 787s # NULL 787s # }, 787s # "single-arg-signal-q" 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_i", 787s # (gchar *) "i", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgSignalI", 787s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 787s # NULL 787s # }, 787s # "single-arg-signal-i" 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_u", 787s # (gchar *) "u", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgSignalU", 787s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 787s # NULL 787s # }, 787s # "single-arg-signal-u" 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_x", 787s # (gchar *) "x", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgSignalX", 787s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 787s # NULL 787s # }, 787s # "single-arg-signal-x" 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_t", 787s # (gchar *) "t", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgSignalT", 787s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 787s # NULL 787s # }, 787s # "single-arg-signal-t" 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_d", 787s # (gchar *) "d", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgSignalD", 787s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 787s # NULL 787s # }, 787s # "single-arg-signal-d" 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_s", 787s # (gchar *) "s", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgSignalS", 787s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 787s # NULL 787s # }, 787s # "single-arg-signal-s" 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_o", 787s # (gchar *) "o", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgSignalO", 787s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 787s # NULL 787s # }, 787s # "single-arg-signal-o" 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_g", 787s # (gchar *) "g", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgSignalG", 787s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 787s # NULL 787s # }, 787s # "single-arg-signal-g" 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_h", 787s # (gchar *) "h", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgSignalH", 787s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 787s # NULL 787s # }, 787s # "single-arg-signal-h" 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_ay", 787s # (gchar *) "ay", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgSignalAY", 787s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 787s # NULL 787s # }, 787s # "single-arg-signal-ay" 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_as", 787s # (gchar *) "as", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgSignalAS", 787s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 787s # NULL 787s # }, 787s # "single-arg-signal-as" 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_ao", 787s # (gchar *) "ao", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgSignalAO", 787s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 787s # NULL 787s # }, 787s # "single-arg-signal-ao" 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_aay", 787s # (gchar *) "aay", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgSignalAAY", 787s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 787s # NULL 787s # }, 787s # "single-arg-signal-aay" 787s # }; 787s # 787s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 787s # { 787s # { 787s # -1, 787s # (gchar *) "an_asv", 787s # (gchar *) "a{sv}", 787s # NULL 787s # }, 787s # FALSE 787s # }; 787s # 787s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SingleArgSignalASV", 787s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 787s # NULL 787s # }, 787s # "single-arg-signal-asv" 787s # }; 787s # 787s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 787s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 787s # { 787s # { 787s # -1, 787s # (gchar *) "org.project.SignalingIface", 787s # NULL, 787s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 787s # NULL, 787s # NULL 787s # }, 787s # "org-project-signaling-iface", 787s # }; 787s # 787s # 787s # /** 787s # * org_project_signaling_iface_interface_info: 787s # * 787s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 787s # * 787s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 787s # */ 787s # GDBusInterfaceInfo * 787s # org_project_signaling_iface_interface_info (void) 787s # { 787s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_override_properties: 787s # * @klass: The class structure for a #GObject derived class. 787s # * @property_id_begin: The property id to assign to the first overridden property. 787s # * 787s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 787s # * The properties are overridden in the order they are defined. 787s # * 787s # * Returns: The last property id. 787s # */ 787s # guint 787s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 787s # { 787s # return property_id_begin - 1; 787s # } 787s # 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__VOID (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__BOOLEAN (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__UCHAR (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__INT (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__UINT (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__INT (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__UINT (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__DOUBLE (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__STRING (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__STRING (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__STRING (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__VARIANT (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__STRING (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__BOXED (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__BOXED (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__BOXED (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__VARIANT (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # 787s # /** 787s # * OrgProjectSignalingIface: 787s # * 787s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 787s # */ 787s # 787s # /** 787s # * OrgProjectSignalingIfaceIface: 787s # * @parent_iface: The parent interface. 787s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 787s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 787s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 787s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 787s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 787s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 787s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 787s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 787s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 787s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 787s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 787s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 787s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 787s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 787s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 787s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 787s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 787s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 787s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 787s # * 787s # * Virtual table for the D-Bus interface org.project.SignalingIface. 787s # */ 787s # 787s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 787s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 787s # 787s # static void 787s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 787s # { 787s # /* GObject signals for received D-Bus signals: */ 787s # /** 787s # * OrgProjectSignalingIface::no-arg-signal: 787s # * @object: A #OrgProjectSignalingIface. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 787s # g_signal_new ("no-arg-signal", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_no_arg_signal, 787s # G_TYPE_NONE, 787s # 0); 787s # 787s # /** 787s # * OrgProjectSignalingIface::single-arg-signal-b: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_b: Argument. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 787s # g_signal_new ("single-arg-signal-b", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 787s # G_TYPE_NONE, 787s # 1, G_TYPE_BOOLEAN); 787s # 787s # /** 787s # * OrgProjectSignalingIface::single-arg-signal-y: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_y: Argument. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 787s # g_signal_new ("single-arg-signal-y", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 787s # G_TYPE_NONE, 787s # 1, G_TYPE_UCHAR); 787s # 787s # /** 787s # * OrgProjectSignalingIface::single-arg-signal-n: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_n: Argument. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 787s # g_signal_new ("single-arg-signal-n", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 787s # G_TYPE_NONE, 787s # 1, G_TYPE_INT); 787s # 787s # /** 787s # * OrgProjectSignalingIface::single-arg-signal-q: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_q: Argument. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 787s # g_signal_new ("single-arg-signal-q", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 787s # G_TYPE_NONE, 787s # 1, G_TYPE_UINT); 787s # 787s # /** 787s # * OrgProjectSignalingIface::single-arg-signal-i: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_i: Argument. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 787s # g_signal_new ("single-arg-signal-i", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 787s # G_TYPE_NONE, 787s # 1, G_TYPE_INT); 787s # 787s # /** 787s # * OrgProjectSignalingIface::single-arg-signal-u: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_u: Argument. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 787s # g_signal_new ("single-arg-signal-u", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 787s # G_TYPE_NONE, 787s # 1, G_TYPE_UINT); 787s # 787s # /** 787s # * OrgProjectSignalingIface::single-arg-signal-x: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_x: Argument. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 787s # g_signal_new ("single-arg-signal-x", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 787s # G_TYPE_NONE, 787s # 1, G_TYPE_INT64); 787s # 787s # /** 787s # * OrgProjectSignalingIface::single-arg-signal-t: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_t: Argument. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 787s # g_signal_new ("single-arg-signal-t", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 787s # G_TYPE_NONE, 787s # 1, G_TYPE_UINT64); 787s # 787s # /** 787s # * OrgProjectSignalingIface::single-arg-signal-d: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_d: Argument. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 787s # g_signal_new ("single-arg-signal-d", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 787s # G_TYPE_NONE, 787s # 1, G_TYPE_DOUBLE); 787s # 787s # /** 787s # * OrgProjectSignalingIface::single-arg-signal-s: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_s: Argument. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 787s # g_signal_new ("single-arg-signal-s", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 787s # G_TYPE_NONE, 787s # 1, G_TYPE_STRING); 787s # 787s # /** 787s # * OrgProjectSignalingIface::single-arg-signal-o: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_o: Argument. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 787s # g_signal_new ("single-arg-signal-o", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 787s # G_TYPE_NONE, 787s # 1, G_TYPE_STRING); 787s # 787s # /** 787s # * OrgProjectSignalingIface::single-arg-signal-g: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_g: Argument. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 787s # g_signal_new ("single-arg-signal-g", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 787s # G_TYPE_NONE, 787s # 1, G_TYPE_STRING); 787s # 787s # /** 787s # * OrgProjectSignalingIface::single-arg-signal-h: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_h: Argument. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 787s # g_signal_new ("single-arg-signal-h", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 787s # G_TYPE_NONE, 787s # 1, G_TYPE_VARIANT); 787s # 787s # /** 787s # * OrgProjectSignalingIface::single-arg-signal-ay: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_ay: Argument. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 787s # g_signal_new ("single-arg-signal-ay", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 787s # G_TYPE_NONE, 787s # 1, G_TYPE_STRING); 787s # 787s # /** 787s # * OrgProjectSignalingIface::single-arg-signal-as: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_as: Argument. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 787s # g_signal_new ("single-arg-signal-as", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 787s # G_TYPE_NONE, 787s # 1, G_TYPE_STRV); 787s # 787s # /** 787s # * OrgProjectSignalingIface::single-arg-signal-ao: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_ao: Argument. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 787s # g_signal_new ("single-arg-signal-ao", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 787s # G_TYPE_NONE, 787s # 1, G_TYPE_STRV); 787s # 787s # /** 787s # * OrgProjectSignalingIface::single-arg-signal-aay: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_aay: Argument. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 787s # g_signal_new ("single-arg-signal-aay", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 787s # G_TYPE_NONE, 787s # 1, G_TYPE_STRV); 787s # 787s # /** 787s # * OrgProjectSignalingIface::single-arg-signal-asv: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_asv: Argument. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 787s # g_signal_new ("single-arg-signal-asv", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 787s # G_TYPE_NONE, 787s # 1, G_TYPE_VARIANT); 787s # 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_no_arg_signal: 787s # * @object: A #OrgProjectSignalingIface. 787s # * 787s # * Emits the "NoArgSignal" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_no_arg_signal ( 787s # OrgProjectSignalingIface *object) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_single_arg_signal_b: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_b: Argument to pass with the signal. 787s # * 787s # * Emits the "SingleArgSignalB" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_single_arg_signal_b ( 787s # OrgProjectSignalingIface *object, 787s # gboolean arg_an_b) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_single_arg_signal_y: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_y: Argument to pass with the signal. 787s # * 787s # * Emits the "SingleArgSignalY" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_single_arg_signal_y ( 787s # OrgProjectSignalingIface *object, 787s # guchar arg_an_y) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_single_arg_signal_n: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_n: Argument to pass with the signal. 787s # * 787s # * Emits the "SingleArgSignalN" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_single_arg_signal_n ( 787s # OrgProjectSignalingIface *object, 787s # gint16 arg_an_n) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_single_arg_signal_q: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_q: Argument to pass with the signal. 787s # * 787s # * Emits the "SingleArgSignalQ" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_single_arg_signal_q ( 787s # OrgProjectSignalingIface *object, 787s # guint16 arg_an_q) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_single_arg_signal_i: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_i: Argument to pass with the signal. 787s # * 787s # * Emits the "SingleArgSignalI" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_single_arg_signal_i ( 787s # OrgProjectSignalingIface *object, 787s # gint arg_an_i) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_single_arg_signal_u: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_u: Argument to pass with the signal. 787s # * 787s # * Emits the "SingleArgSignalU" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_single_arg_signal_u ( 787s # OrgProjectSignalingIface *object, 787s # guint arg_an_u) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_single_arg_signal_x: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_x: Argument to pass with the signal. 787s # * 787s # * Emits the "SingleArgSignalX" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_single_arg_signal_x ( 787s # OrgProjectSignalingIface *object, 787s # gint64 arg_an_x) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_single_arg_signal_t: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_t: Argument to pass with the signal. 787s # * 787s # * Emits the "SingleArgSignalT" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_single_arg_signal_t ( 787s # OrgProjectSignalingIface *object, 787s # guint64 arg_an_t) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_single_arg_signal_d: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_d: Argument to pass with the signal. 787s # * 787s # * Emits the "SingleArgSignalD" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_single_arg_signal_d ( 787s # OrgProjectSignalingIface *object, 787s # gdouble arg_an_d) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_single_arg_signal_s: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_s: Argument to pass with the signal. 787s # * 787s # * Emits the "SingleArgSignalS" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_single_arg_signal_s ( 787s # OrgProjectSignalingIface *object, 787s # const gchar *arg_an_s) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_single_arg_signal_o: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_o: Argument to pass with the signal. 787s # * 787s # * Emits the "SingleArgSignalO" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_single_arg_signal_o ( 787s # OrgProjectSignalingIface *object, 787s # const gchar *arg_an_o) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_single_arg_signal_g: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_g: Argument to pass with the signal. 787s # * 787s # * Emits the "SingleArgSignalG" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_single_arg_signal_g ( 787s # OrgProjectSignalingIface *object, 787s # const gchar *arg_an_g) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_single_arg_signal_h: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_h: Argument to pass with the signal. 787s # * 787s # * Emits the "SingleArgSignalH" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_single_arg_signal_h ( 787s # OrgProjectSignalingIface *object, 787s # GVariant *arg_an_h) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_single_arg_signal_ay: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_ay: Argument to pass with the signal. 787s # * 787s # * Emits the "SingleArgSignalAY" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_single_arg_signal_ay ( 787s # OrgProjectSignalingIface *object, 787s # const gchar *arg_an_ay) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_single_arg_signal_as: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_as: Argument to pass with the signal. 787s # * 787s # * Emits the "SingleArgSignalAS" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_single_arg_signal_as ( 787s # OrgProjectSignalingIface *object, 787s # const gchar *const *arg_an_as) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_single_arg_signal_ao: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_ao: Argument to pass with the signal. 787s # * 787s # * Emits the "SingleArgSignalAO" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_single_arg_signal_ao ( 787s # OrgProjectSignalingIface *object, 787s # const gchar *const *arg_an_ao) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_single_arg_signal_aay: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_aay: Argument to pass with the signal. 787s # * 787s # * Emits the "SingleArgSignalAAY" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_single_arg_signal_aay ( 787s # OrgProjectSignalingIface *object, 787s # const gchar *const *arg_an_aay) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_single_arg_signal_asv: 787s # * @object: A #OrgProjectSignalingIface. 787s # * @arg_an_asv: Argument to pass with the signal. 787s # * 787s # * Emits the "SingleArgSignalASV" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_single_arg_signal_asv ( 787s # OrgProjectSignalingIface *object, 787s # GVariant *arg_an_asv) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectSignalingIfaceProxy: 787s # * 787s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectSignalingIfaceProxyClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectSignalingIfaceProxy. 787s # */ 787s # 787s # struct _OrgProjectSignalingIfaceProxyPrivate 787s # { 787s # GData *qdata; 787s # }; 787s # 787s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 787s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_signaling_iface_proxy_finalize (GObject *object) 787s # { 787s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 787s # g_datalist_clear (&proxy->priv->qdata); 787s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # const GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 787s # const gchar *sender_name G_GNUC_UNUSED, 787s # const gchar *signal_name, 787s # GVariant *parameters) 787s # { 787s # _ExtendedGDBusSignalInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # gsize n; 787s # guint signal_id; 787s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 787s # if (info == NULL) 787s # return; 787s # num_params = g_variant_n_children (parameters); 787s # paramv = g_new0 (GValue, num_params + 1); 787s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 787s # g_value_set_object (¶mv[0], proxy); 787s # g_variant_iter_init (&iter, parameters); 787s # n = 1; 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 787s # g_signal_emitv (paramv, signal_id, 0, NULL); 787s # for (n = 0; n < num_params + 1; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 787s # GVariant *changed_properties, 787s # const gchar *const *invalidated_properties) 787s # { 787s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 787s # guint n; 787s # const gchar *key; 787s # GVariantIter *iter; 787s # _ExtendedGDBusPropertyInfo *info; 787s # g_variant_get (changed_properties, "a{sv}", &iter); 787s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 787s # g_datalist_remove_data (&proxy->priv->qdata, key); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # g_variant_iter_free (iter); 787s # for (n = 0; invalidated_properties[n] != NULL; n++) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 787s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 787s # #else 787s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 787s # #endif 787s # 787s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusProxyClass *proxy_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 787s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 787s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 787s # 787s # proxy_class = G_DBUS_PROXY_CLASS (klass); 787s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 787s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_proxy_new: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 787s # * 787s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_signaling_iface_proxy_new ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # 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); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_proxy_new_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectSignalingIface * 787s # org_project_signaling_iface_proxy_new_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_SIGNALING_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_proxy_new_sync: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectSignalingIface * 787s # org_project_signaling_iface_proxy_new_sync ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_SIGNALING_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /** 787s # * org_project_signaling_iface_proxy_new_for_bus: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 787s # * 787s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_signaling_iface_proxy_new_for_bus ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # 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); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_proxy_new_for_bus_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectSignalingIface * 787s # org_project_signaling_iface_proxy_new_for_bus_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_SIGNALING_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_proxy_new_for_bus_sync: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectSignalingIface * 787s # org_project_signaling_iface_proxy_new_for_bus_sync ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_SIGNALING_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectSignalingIfaceSkeleton: 787s # * 787s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectSignalingIfaceSkeletonClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 787s # */ 787s # 787s # struct _OrgProjectSignalingIfaceSkeletonPrivate 787s # { 787s # GValue *properties; 787s # GList *changed_properties; 787s # GSource *changed_properties_idle_source; 787s # GMainContext *context; 787s # GMutex lock; 787s # }; 787s # 787s # static void 787s # _org_project_signaling_iface_skeleton_handle_method_call ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name, 787s # const gchar *method_name, 787s # GVariant *parameters, 787s # GDBusMethodInvocation *invocation, 787s # gpointer user_data) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 787s # _ExtendedGDBusMethodInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # guint num_extra; 787s # gsize n; 787s # guint signal_id; 787s # GValue return_value = G_VALUE_INIT; 787s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 787s # g_assert (info != NULL); 787s # num_params = g_variant_n_children (parameters); 787s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 787s # n = 0; 787s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 787s # g_value_set_object (¶mv[n++], skeleton); 787s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 787s # g_value_set_object (¶mv[n++], invocation); 787s # if (info->pass_fdlist) 787s # { 787s # #ifdef G_OS_UNIX 787s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 787s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 787s # #else 787s # g_assert_not_reached (); 787s # #endif 787s # } 787s # g_variant_iter_init (&iter, parameters); 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 787s # g_value_init (&return_value, G_TYPE_BOOLEAN); 787s # g_signal_emitv (paramv, signal_id, 0, &return_value); 787s # if (!g_value_get_boolean (&return_value)) 787s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 787s # g_value_unset (&return_value); 787s # for (n = 0; n < num_params + num_extra; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static GVariant * 787s # _org_project_signaling_iface_skeleton_handle_get_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # GVariant *ret; 787s # ret = NULL; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # g_value_init (&value, pspec->value_type); 787s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 787s # g_value_unset (&value); 787s # } 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _org_project_signaling_iface_skeleton_handle_set_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GVariant *variant, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # gboolean ret; 787s # ret = FALSE; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # if (info->use_gvariant) 787s # g_value_set_variant (&value, variant); 787s # else 787s # g_dbus_gvariant_to_gvalue (variant, &value); 787s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # g_value_unset (&value); 787s # ret = TRUE; 787s # } 787s # return ret; 787s # } 787s # 787s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 787s # { 787s # _org_project_signaling_iface_skeleton_handle_method_call, 787s # _org_project_signaling_iface_skeleton_handle_get_property, 787s # _org_project_signaling_iface_skeleton_handle_set_property, 787s # {NULL} 787s # }; 787s # 787s # static GDBusInterfaceInfo * 787s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return org_project_signaling_iface_interface_info (); 787s # } 787s # 787s # static GDBusInterfaceVTable * 787s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 787s # } 787s # 787s # static GVariant * 787s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 787s # 787s # GVariantBuilder builder; 787s # guint n; 787s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 787s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 787s # goto out; 787s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 787s # { 787s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 787s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 787s # { 787s # GVariant *value; 787s # 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); 787s # if (value != NULL) 787s # { 787s # g_variant_take_ref (value); 787s # g_variant_builder_add (&builder, "{sv}", info->name, value); 787s # g_variant_unref (value); 787s # } 787s # } 787s # } 787s # out: 787s # return g_variant_builder_end (&builder); 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_no_arg_signal ( 787s # OrgProjectSignalingIface *object) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 787s # OrgProjectSignalingIface *object, 787s # gboolean arg_an_b) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 787s # arg_an_b)); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 787s # OrgProjectSignalingIface *object, 787s # guchar arg_an_y) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 787s # arg_an_y)); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 787s # OrgProjectSignalingIface *object, 787s # gint16 arg_an_n) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 787s # arg_an_n)); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 787s # OrgProjectSignalingIface *object, 787s # guint16 arg_an_q) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 787s # arg_an_q)); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 787s # OrgProjectSignalingIface *object, 787s # gint arg_an_i) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 787s # arg_an_i)); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 787s # OrgProjectSignalingIface *object, 787s # guint arg_an_u) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 787s # arg_an_u)); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 787s # OrgProjectSignalingIface *object, 787s # gint64 arg_an_x) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 787s # arg_an_x)); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 787s # OrgProjectSignalingIface *object, 787s # guint64 arg_an_t) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 787s # arg_an_t)); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 787s # OrgProjectSignalingIface *object, 787s # gdouble arg_an_d) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 787s # arg_an_d)); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 787s # OrgProjectSignalingIface *object, 787s # const gchar *arg_an_s) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 787s # arg_an_s)); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 787s # OrgProjectSignalingIface *object, 787s # const gchar *arg_an_o) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 787s # arg_an_o)); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 787s # OrgProjectSignalingIface *object, 787s # const gchar *arg_an_g) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 787s # arg_an_g)); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 787s # OrgProjectSignalingIface *object, 787s # GVariant *arg_an_h) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 787s # arg_an_h)); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 787s # OrgProjectSignalingIface *object, 787s # const gchar *arg_an_ay) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 787s # arg_an_ay)); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 787s # OrgProjectSignalingIface *object, 787s # const gchar *const *arg_an_as) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 787s # arg_an_as)); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 787s # OrgProjectSignalingIface *object, 787s # const gchar *const *arg_an_ao) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 787s # arg_an_ao)); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 787s # OrgProjectSignalingIface *object, 787s # const gchar *const *arg_an_aay) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 787s # arg_an_aay)); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 787s # OrgProjectSignalingIface *object, 787s # GVariant *arg_an_asv) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 787s # arg_an_asv)); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_signaling_iface_skeleton_finalize (GObject *object) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 787s # if (skeleton->priv->changed_properties_idle_source != NULL) 787s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 787s # g_main_context_unref (skeleton->priv->context); 787s # g_mutex_clear (&skeleton->priv->lock); 787s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 787s # #else 787s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 787s # #endif 787s # 787s # g_mutex_init (&skeleton->priv->lock); 787s # skeleton->priv->context = g_main_context_ref_thread_default (); 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusInterfaceSkeletonClass *skeleton_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 787s # 787s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 787s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 787s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 787s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 787s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 787s # { 787s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 787s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 787s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 787s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 787s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 787s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 787s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 787s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 787s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 787s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 787s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 787s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 787s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 787s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 787s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 787s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 787s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 787s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 787s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_skeleton_new: 787s # * 787s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 787s # * 787s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 787s # */ 787s # OrgProjectSignalingIface * 787s # org_project_signaling_iface_skeleton_new (void) 787s # { 787s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 787s # } 787s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 787s # tmpdir: /tmp/tmp71977bgl 787s # codegen: /usr/bin/gdbus-codegen 787s # /tmp/tmp71977bgl/tmps7dh8vn3.xml: 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp71977bgl/tmps7dh8vn3.xml', '--output', '-', '--body'] 787s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 787s # Output: /* 787s # * This file is generated by gdbus-codegen, do not modify it. 787s # * 787s # * The license of this code is the same as for the D-Bus interface description 787s # * it was derived from. Note that it links to GLib, so must comply with the 787s # * LGPL linking clauses. 787s # */ 787s # 787s # #ifdef HAVE_CONFIG_H 787s # # include "config.h" 787s # #endif 787s # 787s # #include 787s # #ifdef G_OS_UNIX 787s # # include 787s # #endif 787s # 787s # #ifdef G_ENABLE_DEBUG 787s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 787s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 787s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 787s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 787s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 787s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 787s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 787s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 787s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 787s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 787s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 787s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 787s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 787s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 787s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 787s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 787s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 787s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 787s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 787s # #else /* !G_ENABLE_DEBUG */ 787s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 787s # * Do not access GValues directly in your code. Instead, use the 787s # * g_value_get_*() functions 787s # */ 787s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 787s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 787s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 787s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 787s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 787s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 787s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 787s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 787s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 787s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 787s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 787s # #endif /* !G_ENABLE_DEBUG */ 787s # 787s # typedef struct 787s # { 787s # GDBusArgInfo parent_struct; 787s # gboolean use_gvariant; 787s # } _ExtendedGDBusArgInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusMethodInfo parent_struct; 787s # const gchar *signal_name; 787s # gboolean pass_fdlist; 787s # } _ExtendedGDBusMethodInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusSignalInfo parent_struct; 787s # const gchar *signal_name; 787s # } _ExtendedGDBusSignalInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusPropertyInfo parent_struct; 787s # const gchar *hyphen_name; 787s # guint use_gvariant : 1; 787s # guint emits_changed_signal : 1; 787s # } _ExtendedGDBusPropertyInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusInterfaceInfo parent_struct; 787s # const gchar *hyphen_name; 787s # } _ExtendedGDBusInterfaceInfo; 787s # 787s # typedef struct 787s # { 787s # const _ExtendedGDBusPropertyInfo *info; 787s # guint prop_id; 787s # GValue orig_value; /* the value before the change */ 787s # } ChangedProperty; 787s # 787s # static void 787s # _changed_property_free (ChangedProperty *data) 787s # { 787s # g_value_unset (&data->orig_value); 787s # g_free (data); 787s # } 787s # 787s # static gboolean 787s # _g_strv_equal0 (gchar **a, gchar **b) 787s # { 787s # gboolean ret = FALSE; 787s # guint n; 787s # if (a == NULL && b == NULL) 787s # { 787s # ret = TRUE; 787s # goto out; 787s # } 787s # if (a == NULL || b == NULL) 787s # goto out; 787s # if (g_strv_length (a) != g_strv_length (b)) 787s # goto out; 787s # for (n = 0; a[n] != NULL; n++) 787s # if (g_strcmp0 (a[n], b[n]) != 0) 787s # goto out; 787s # ret = TRUE; 787s # out: 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _g_variant_equal0 (GVariant *a, GVariant *b) 787s # { 787s # gboolean ret = FALSE; 787s # if (a == NULL && b == NULL) 787s # { 787s # ret = TRUE; 787s # goto out; 787s # } 787s # if (a == NULL || b == NULL) 787s # goto out; 787s # ret = g_variant_equal (a, b); 787s # out: 787s # return ret; 787s # } 787s # 787s # G_GNUC_UNUSED static gboolean 787s # _g_value_equal (const GValue *a, const GValue *b) 787s # { 787s # gboolean ret = FALSE; 787s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 787s # switch (G_VALUE_TYPE (a)) 787s # { 787s # case G_TYPE_BOOLEAN: 787s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 787s # break; 787s # case G_TYPE_UCHAR: 787s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 787s # break; 787s # case G_TYPE_INT: 787s # ret = (g_value_get_int (a) == g_value_get_int (b)); 787s # break; 787s # case G_TYPE_UINT: 787s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 787s # break; 787s # case G_TYPE_INT64: 787s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 787s # break; 787s # case G_TYPE_UINT64: 787s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 787s # break; 787s # case G_TYPE_DOUBLE: 787s # { 787s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 787s # gdouble da = g_value_get_double (a); 787s # gdouble db = g_value_get_double (b); 787s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 787s # } 787s # break; 787s # case G_TYPE_STRING: 787s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 787s # break; 787s # case G_TYPE_VARIANT: 787s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 787s # break; 787s # default: 787s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 787s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 787s # else 787s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 787s # break; 787s # } 787s # return ret; 787s # } 787s # 787s # /* ------------------------------------------------------------------------ 787s # * Code for interface org.project.UsefulInterface 787s # * ------------------------------------------------------------------------ 787s # */ 787s # 787s # /** 787s # * SECTION:OrgProjectUsefulInterface 787s # * @title: OrgProjectUsefulInterface 787s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 787s # * 787s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 787s # */ 787s # 787s # enum 787s # { 787s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 787s # }; 787s # 787s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 787s # 787s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SimpleSignal", 787s # NULL, 787s # NULL 787s # }, 787s # "simple-signal" 787s # }; 787s # 787s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 787s # { 787s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 787s # { 787s # { 787s # -1, 787s # (gchar *) "org.project.UsefulInterface", 787s # NULL, 787s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 787s # NULL, 787s # NULL 787s # }, 787s # "org-project-useful-interface", 787s # }; 787s # 787s # 787s # /** 787s # * org_project_useful_interface_interface_info: 787s # * 787s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 787s # * 787s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 787s # */ 787s # GDBusInterfaceInfo * 787s # org_project_useful_interface_interface_info (void) 787s # { 787s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_override_properties: 787s # * @klass: The class structure for a #GObject derived class. 787s # * @property_id_begin: The property id to assign to the first overridden property. 787s # * 787s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 787s # * The properties are overridden in the order they are defined. 787s # * 787s # * Returns: The last property id. 787s # */ 787s # guint 787s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 787s # { 787s # return property_id_begin - 1; 787s # } 787s # 787s # 787s # inline static void 787s # org_project_useful_interface_signal_marshal_simple_signal ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__VOID (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # 787s # /** 787s # * OrgProjectUsefulInterface: 787s # * 787s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 787s # */ 787s # 787s # /** 787s # * OrgProjectUsefulInterfaceIface: 787s # * @parent_iface: The parent interface. 787s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 787s # * 787s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 787s # */ 787s # 787s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 787s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 787s # 787s # static void 787s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 787s # { 787s # /* GObject signals for received D-Bus signals: */ 787s # /** 787s # * OrgProjectUsefulInterface::simple-signal: 787s # * @object: A #OrgProjectUsefulInterface. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 787s # g_signal_new ("simple-signal", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 787s # NULL, 787s # NULL, 787s # org_project_useful_interface_signal_marshal_simple_signal, 787s # G_TYPE_NONE, 787s # 0); 787s # 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_emit_simple_signal: 787s # * @object: A #OrgProjectUsefulInterface. 787s # * 787s # * Emits the "SimpleSignal" D-Bus signal. 787s # */ 787s # void 787s # org_project_useful_interface_emit_simple_signal ( 787s # OrgProjectUsefulInterface *object) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectUsefulInterfaceProxy: 787s # * 787s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectUsefulInterfaceProxyClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectUsefulInterfaceProxy. 787s # */ 787s # 787s # struct _OrgProjectUsefulInterfaceProxyPrivate 787s # { 787s # GData *qdata; 787s # }; 787s # 787s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 787s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_useful_interface_proxy_finalize (GObject *object) 787s # { 787s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 787s # g_datalist_clear (&proxy->priv->qdata); 787s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # const GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 787s # const gchar *sender_name G_GNUC_UNUSED, 787s # const gchar *signal_name, 787s # GVariant *parameters) 787s # { 787s # _ExtendedGDBusSignalInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # gsize n; 787s # guint signal_id; 787s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 787s # if (info == NULL) 787s # return; 787s # num_params = g_variant_n_children (parameters); 787s # paramv = g_new0 (GValue, num_params + 1); 787s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 787s # g_value_set_object (¶mv[0], proxy); 787s # g_variant_iter_init (&iter, parameters); 787s # n = 1; 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 787s # g_signal_emitv (paramv, signal_id, 0, NULL); 787s # for (n = 0; n < num_params + 1; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 787s # GVariant *changed_properties, 787s # const gchar *const *invalidated_properties) 787s # { 787s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 787s # guint n; 787s # const gchar *key; 787s # GVariantIter *iter; 787s # _ExtendedGDBusPropertyInfo *info; 787s # g_variant_get (changed_properties, "a{sv}", &iter); 787s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 787s # g_datalist_remove_data (&proxy->priv->qdata, key); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # g_variant_iter_free (iter); 787s # for (n = 0; invalidated_properties[n] != NULL; n++) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 787s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 787s # #else 787s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 787s # #endif 787s # 787s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusProxyClass *proxy_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 787s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 787s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 787s # 787s # proxy_class = G_DBUS_PROXY_CLASS (klass); 787s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 787s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_proxy_new: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 787s # * 787s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_useful_interface_proxy_new ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # g_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); 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_proxy_new_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectUsefulInterface * 787s # org_project_useful_interface_proxy_new_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_proxy_new_sync: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectUsefulInterface * 787s # org_project_useful_interface_proxy_new_sync ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /** 787s # * org_project_useful_interface_proxy_new_for_bus: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 787s # * 787s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_useful_interface_proxy_new_for_bus ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # g_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); 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_proxy_new_for_bus_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectUsefulInterface * 787s # org_project_useful_interface_proxy_new_for_bus_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_proxy_new_for_bus_sync: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectUsefulInterface * 787s # org_project_useful_interface_proxy_new_for_bus_sync ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectUsefulInterfaceSkeleton: 787s # * 787s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectUsefulInterfaceSkeletonClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 787s # */ 787s # 787s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 787s # { 787s # GValue *properties; 787s # GList *changed_properties; 787s # GSource *changed_properties_idle_source; 787s # GMainContext *context; 787s # GMutex lock; 787s # }; 787s # 787s # static void 787s # _org_project_useful_interface_skeleton_handle_method_call ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name, 787s # const gchar *method_name, 787s # GVariant *parameters, 787s # GDBusMethodInvocation *invocation, 787s # gpointer user_data) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 787s # _ExtendedGDBusMethodInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # guint num_extra; 787s # gsize n; 787s # guint signal_id; 787s # GValue return_value = G_VALUE_INIT; 787s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 787s # g_assert (info != NULL); 787s # num_params = g_variant_n_children (parameters); 787s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 787s # n = 0; 787s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 787s # g_value_set_object (¶mv[n++], skeleton); 787s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 787s # g_value_set_object (¶mv[n++], invocation); 787s # if (info->pass_fdlist) 787s # { 787s # #ifdef G_OS_UNIX 787s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 787s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 787s # #else 787s # g_assert_not_reached (); 787s # #endif 787s # } 787s # g_variant_iter_init (&iter, parameters); 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 787s # g_value_init (&return_value, G_TYPE_BOOLEAN); 787s # g_signal_emitv (paramv, signal_id, 0, &return_value); 787s # if (!g_value_get_boolean (&return_value)) 787s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 787s # g_value_unset (&return_value); 787s # for (n = 0; n < num_params + num_extra; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static GVariant * 787s # _org_project_useful_interface_skeleton_handle_get_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # GVariant *ret; 787s # ret = NULL; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # g_value_init (&value, pspec->value_type); 787s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 787s # g_value_unset (&value); 787s # } 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _org_project_useful_interface_skeleton_handle_set_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GVariant *variant, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # gboolean ret; 787s # ret = FALSE; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # if (info->use_gvariant) 787s # g_value_set_variant (&value, variant); 787s # else 787s # g_dbus_gvariant_to_gvalue (variant, &value); 787s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # g_value_unset (&value); 787s # ret = TRUE; 787s # } 787s # return ret; 787s # } 787s # 787s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 787s # { 787s # _org_project_useful_interface_skeleton_handle_method_call, 787s # _org_project_useful_interface_skeleton_handle_get_property, 787s # _org_project_useful_interface_skeleton_handle_set_property, 787s # {NULL} 787s # }; 787s # 787s # static GDBusInterfaceInfo * 787s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return org_project_useful_interface_interface_info (); 787s # } 787s # 787s # static GDBusInterfaceVTable * 787s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 787s # } 787s # 787s # static GVariant * 787s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 787s # 787s # GVariantBuilder builder; 787s # guint n; 787s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 787s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 787s # goto out; 787s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 787s # { 787s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 787s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 787s # { 787s # GVariant *value; 787s # 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); 787s # if (value != NULL) 787s # { 787s # g_variant_take_ref (value); 787s # g_variant_builder_add (&builder, "{sv}", info->name, value); 787s # g_variant_unref (value); 787s # } 787s # } 787s # } 787s # out: 787s # return g_variant_builder_end (&builder); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # _org_project_useful_interface_on_signal_simple_signal ( 787s # OrgProjectUsefulInterface *object) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_useful_interface_skeleton_finalize (GObject *object) 787s # { 787s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 787s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 787s # if (skeleton->priv->changed_properties_idle_source != NULL) 787s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 787s # g_main_context_unref (skeleton->priv->context); 787s # g_mutex_clear (&skeleton->priv->lock); 787s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 787s # #else 787s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 787s # #endif 787s # 787s # g_mutex_init (&skeleton->priv->lock); 787s # skeleton->priv->context = g_main_context_ref_thread_default (); 787s # } 787s # 787s # static void 787s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusInterfaceSkeletonClass *skeleton_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 787s # 787s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 787s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 787s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 787s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 787s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 787s # { 787s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 787s # } 787s # 787s # /** 787s # * org_project_useful_interface_skeleton_new: 787s # * 787s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 787s # * 787s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 787s # */ 787s # OrgProjectUsefulInterface * 787s # org_project_useful_interface_skeleton_new (void) 787s # { 787s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ 787s # * Code for interface org.project.OtherIface 787s # * ------------------------------------------------------------------------ 787s # */ 787s # 787s # /** 787s # * SECTION:OrgProjectOtherIface 787s # * @title: OrgProjectOtherIface 787s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 787s # * 787s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 787s # */ 787s # 787s # enum 787s # { 787s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 787s # }; 787s # 787s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 787s # 787s # /* ---- Introspection data for org.project.OtherIface ---- */ 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SimpleSignal", 787s # NULL, 787s # NULL 787s # }, 787s # "simple-signal" 787s # }; 787s # 787s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 787s # { 787s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 787s # { 787s # { 787s # -1, 787s # (gchar *) "org.project.OtherIface", 787s # NULL, 787s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 787s # NULL, 787s # NULL 787s # }, 787s # "org-project-other-iface", 787s # }; 787s # 787s # 787s # /** 787s # * org_project_other_iface_interface_info: 787s # * 787s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 787s # * 787s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 787s # */ 787s # GDBusInterfaceInfo * 787s # org_project_other_iface_interface_info (void) 787s # { 787s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 787s # } 787s # 787s # /** 787s # * org_project_other_iface_override_properties: 787s # * @klass: The class structure for a #GObject derived class. 787s # * @property_id_begin: The property id to assign to the first overridden property. 787s # * 787s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 787s # * The properties are overridden in the order they are defined. 787s # * 787s # * Returns: The last property id. 787s # */ 787s # guint 787s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 787s # { 787s # return property_id_begin - 1; 787s # } 787s # 787s # 787s # inline static void 787s # org_project_other_iface_signal_marshal_simple_signal ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__VOID (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # 787s # /** 787s # * OrgProjectOtherIface: 787s # * 787s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 787s # */ 787s # 787s # /** 787s # * OrgProjectOtherIfaceIface: 787s # * @parent_iface: The parent interface. 787s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 787s # * 787s # * Virtual table for the D-Bus interface org.project.OtherIface. 787s # */ 787s # 787s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 787s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 787s # 787s # static void 787s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 787s # { 787s # /* GObject signals for received D-Bus signals: */ 787s # /** 787s # * OrgProjectOtherIface::simple-signal: 787s # * @object: A #OrgProjectOtherIface. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 787s # g_signal_new ("simple-signal", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 787s # NULL, 787s # NULL, 787s # org_project_other_iface_signal_marshal_simple_signal, 787s # G_TYPE_NONE, 787s # 0); 787s # 787s # } 787s # 787s # /** 787s # * org_project_other_iface_emit_simple_signal: 787s # * @object: A #OrgProjectOtherIface. 787s # * 787s # * Emits the "SimpleSignal" D-Bus signal. 787s # */ 787s # void 787s # org_project_other_iface_emit_simple_signal ( 787s # OrgProjectOtherIface *object) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectOtherIfaceProxy: 787s # * 787s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectOtherIfaceProxyClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectOtherIfaceProxy. 787s # */ 787s # 787s # struct _OrgProjectOtherIfaceProxyPrivate 787s # { 787s # GData *qdata; 787s # }; 787s # 787s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 787s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_other_iface_proxy_finalize (GObject *object) 787s # { 787s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 787s # g_datalist_clear (&proxy->priv->qdata); 787s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # const GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 787s # const gchar *sender_name G_GNUC_UNUSED, 787s # const gchar *signal_name, 787s # GVariant *parameters) 787s # { 787s # _ExtendedGDBusSignalInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # gsize n; 787s # guint signal_id; 787s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 787s # if (info == NULL) 787s # return; 787s # num_params = g_variant_n_children (parameters); 787s # paramv = g_new0 (GValue, num_params + 1); 787s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 787s # g_value_set_object (¶mv[0], proxy); 787s # g_variant_iter_init (&iter, parameters); 787s # n = 1; 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 787s # g_signal_emitv (paramv, signal_id, 0, NULL); 787s # for (n = 0; n < num_params + 1; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static void 787s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 787s # GVariant *changed_properties, 787s # const gchar *const *invalidated_properties) 787s # { 787s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 787s # guint n; 787s # const gchar *key; 787s # GVariantIter *iter; 787s # _ExtendedGDBusPropertyInfo *info; 787s # g_variant_get (changed_properties, "a{sv}", &iter); 787s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 787s # g_datalist_remove_data (&proxy->priv->qdata, key); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # g_variant_iter_free (iter); 787s # for (n = 0; invalidated_properties[n] != NULL; n++) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 787s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # } 787s # 787s # static void 787s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 787s # #else 787s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 787s # #endif 787s # 787s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 787s # } 787s # 787s # static void 787s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusProxyClass *proxy_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 787s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 787s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 787s # 787s # proxy_class = G_DBUS_PROXY_CLASS (klass); 787s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 787s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # /** 787s # * org_project_other_iface_proxy_new: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 787s # * 787s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_other_iface_proxy_new ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # 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); 787s # } 787s # 787s # /** 787s # * org_project_other_iface_proxy_new_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_other_iface_proxy_new(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectOtherIface * 787s # org_project_other_iface_proxy_new_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_OTHER_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_other_iface_proxy_new_sync: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectOtherIface * 787s # org_project_other_iface_proxy_new_sync ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_OTHER_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /** 787s # * org_project_other_iface_proxy_new_for_bus: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 787s # * 787s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_other_iface_proxy_new_for_bus ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # 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); 787s # } 787s # 787s # /** 787s # * org_project_other_iface_proxy_new_for_bus_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectOtherIface * 787s # org_project_other_iface_proxy_new_for_bus_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_OTHER_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_other_iface_proxy_new_for_bus_sync: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectOtherIface * 787s # org_project_other_iface_proxy_new_for_bus_sync ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_OTHER_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectOtherIfaceSkeleton: 787s # * 787s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectOtherIfaceSkeletonClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectOtherIfaceSkeleton. 787s # */ 787s # 787s # struct _OrgProjectOtherIfaceSkeletonPrivate 787s # { 787s # GValue *properties; 787s # GList *changed_properties; 787s # GSource *changed_properties_idle_source; 787s # GMainContext *context; 787s # GMutex lock; 787s # }; 787s # 787s # static void 787s # _org_project_other_iface_skeleton_handle_method_call ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name, 787s # const gchar *method_name, 787s # GVariant *parameters, 787s # GDBusMethodInvocation *invocation, 787s # gpointer user_data) 787s # { 787s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 787s # _ExtendedGDBusMethodInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # guint num_extra; 787s # gsize n; 787s # guint signal_id; 787s # GValue return_value = G_VALUE_INIT; 787s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 787s # g_assert (info != NULL); 787s # num_params = g_variant_n_children (parameters); 787s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 787s # n = 0; 787s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 787s # g_value_set_object (¶mv[n++], skeleton); 787s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 787s # g_value_set_object (¶mv[n++], invocation); 787s # if (info->pass_fdlist) 787s # { 787s # #ifdef G_OS_UNIX 787s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 787s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 787s # #else 787s # g_assert_not_reached (); 787s # #endif 787s # } 787s # g_variant_iter_init (&iter, parameters); 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 787s # g_value_init (&return_value, G_TYPE_BOOLEAN); 787s # g_signal_emitv (paramv, signal_id, 0, &return_value); 787s # if (!g_value_get_boolean (&return_value)) 787s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 787s # g_value_unset (&return_value); 787s # for (n = 0; n < num_params + num_extra; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static GVariant * 787s # _org_project_other_iface_skeleton_handle_get_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # GVariant *ret; 787s # ret = NULL; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # g_value_init (&value, pspec->value_type); 787s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 787s # g_value_unset (&value); 787s # } 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _org_project_other_iface_skeleton_handle_set_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GVariant *variant, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # gboolean ret; 787s # ret = FALSE; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # if (info->use_gvariant) 787s # g_value_set_variant (&value, variant); 787s # else 787s # g_dbus_gvariant_to_gvalue (variant, &value); 787s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # g_value_unset (&value); 787s # ret = TRUE; 787s # } 787s # return ret; 787s # } 787s # 787s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 787s # { 787s # _org_project_other_iface_skeleton_handle_method_call, 787s # _org_project_other_iface_skeleton_handle_get_property, 787s # _org_project_other_iface_skeleton_handle_set_property, 787s # {NULL} 787s # }; 787s # 787s # static GDBusInterfaceInfo * 787s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return org_project_other_iface_interface_info (); 787s # } 787s # 787s # static GDBusInterfaceVTable * 787s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 787s # } 787s # 787s # static GVariant * 787s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 787s # { 787s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 787s # 787s # GVariantBuilder builder; 787s # guint n; 787s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 787s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 787s # goto out; 787s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 787s # { 787s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 787s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 787s # { 787s # GVariant *value; 787s # 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); 787s # if (value != NULL) 787s # { 787s # g_variant_take_ref (value); 787s # g_variant_builder_add (&builder, "{sv}", info->name, value); 787s # g_variant_unref (value); 787s # } 787s # } 787s # } 787s # out: 787s # return g_variant_builder_end (&builder); 787s # } 787s # 787s # static void 787s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # _org_project_other_iface_on_signal_simple_signal ( 787s # OrgProjectOtherIface *object) 787s # { 787s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_other_iface_skeleton_finalize (GObject *object) 787s # { 787s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 787s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 787s # if (skeleton->priv->changed_properties_idle_source != NULL) 787s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 787s # g_main_context_unref (skeleton->priv->context); 787s # g_mutex_clear (&skeleton->priv->lock); 787s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 787s # #else 787s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 787s # #endif 787s # 787s # g_mutex_init (&skeleton->priv->lock); 787s # skeleton->priv->context = g_main_context_ref_thread_default (); 787s # } 787s # 787s # static void 787s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusInterfaceSkeletonClass *skeleton_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 787s # 787s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 787s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 787s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 787s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 787s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 787s # { 787s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 787s # } 787s # 787s # /** 787s # * org_project_other_iface_skeleton_new: 787s # * 787s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 787s # * 787s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 787s # */ 787s # OrgProjectOtherIface * 787s # org_project_other_iface_skeleton_new (void) 787s # { 787s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 787s # } 787s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 787s # tmpdir: /tmp/tmp067ls0d0 787s # codegen: /usr/bin/gdbus-codegen 787s # /tmp/tmp067ls0d0/tmpb15_w6ds.xml: 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # 787s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp067ls0d0/tmpb15_w6ds.xml', '--output', '-', '--body'] 787s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 787s # Output: /* 787s # * This file is generated by gdbus-codegen, do not modify it. 787s # * 787s # * The license of this code is the same as for the D-Bus interface description 787s # * it was derived from. Note that it links to GLib, so must comply with the 787s # * LGPL linking clauses. 787s # */ 787s # 787s # #ifdef HAVE_CONFIG_H 787s # # include "config.h" 787s # #endif 787s # 787s # #include 787s # #ifdef G_OS_UNIX 787s # # include 787s # #endif 787s # 787s # #ifdef G_ENABLE_DEBUG 787s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 787s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 787s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 787s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 787s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 787s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 787s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 787s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 787s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 787s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 787s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 787s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 787s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 787s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 787s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 787s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 787s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 787s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 787s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 787s # #else /* !G_ENABLE_DEBUG */ 787s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 787s # * Do not access GValues directly in your code. Instead, use the 787s # * g_value_get_*() functions 787s # */ 787s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 787s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 787s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 787s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 787s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 787s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 787s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 787s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 787s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 787s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 787s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 787s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 787s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 787s # #endif /* !G_ENABLE_DEBUG */ 787s # 787s # typedef struct 787s # { 787s # GDBusArgInfo parent_struct; 787s # gboolean use_gvariant; 787s # } _ExtendedGDBusArgInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusMethodInfo parent_struct; 787s # const gchar *signal_name; 787s # gboolean pass_fdlist; 787s # } _ExtendedGDBusMethodInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusSignalInfo parent_struct; 787s # const gchar *signal_name; 787s # } _ExtendedGDBusSignalInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusPropertyInfo parent_struct; 787s # const gchar *hyphen_name; 787s # guint use_gvariant : 1; 787s # guint emits_changed_signal : 1; 787s # } _ExtendedGDBusPropertyInfo; 787s # 787s # typedef struct 787s # { 787s # GDBusInterfaceInfo parent_struct; 787s # const gchar *hyphen_name; 787s # } _ExtendedGDBusInterfaceInfo; 787s # 787s # typedef struct 787s # { 787s # const _ExtendedGDBusPropertyInfo *info; 787s # guint prop_id; 787s # GValue orig_value; /* the value before the change */ 787s # } ChangedProperty; 787s # 787s # static void 787s # _changed_property_free (ChangedProperty *data) 787s # { 787s # g_value_unset (&data->orig_value); 787s # g_free (data); 787s # } 787s # 787s # static gboolean 787s # _g_strv_equal0 (gchar **a, gchar **b) 787s # { 787s # gboolean ret = FALSE; 787s # guint n; 787s # if (a == NULL && b == NULL) 787s # { 787s # ret = TRUE; 787s # goto out; 787s # } 787s # if (a == NULL || b == NULL) 787s # goto out; 787s # if (g_strv_length (a) != g_strv_length (b)) 787s # goto out; 787s # for (n = 0; a[n] != NULL; n++) 787s # if (g_strcmp0 (a[n], b[n]) != 0) 787s # goto out; 787s # ret = TRUE; 787s # out: 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _g_variant_equal0 (GVariant *a, GVariant *b) 787s # { 787s # gboolean ret = FALSE; 787s # if (a == NULL && b == NULL) 787s # { 787s # ret = TRUE; 787s # goto out; 787s # } 787s # if (a == NULL || b == NULL) 787s # goto out; 787s # ret = g_variant_equal (a, b); 787s # out: 787s # return ret; 787s # } 787s # 787s # G_GNUC_UNUSED static gboolean 787s # _g_value_equal (const GValue *a, const GValue *b) 787s # { 787s # gboolean ret = FALSE; 787s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 787s # switch (G_VALUE_TYPE (a)) 787s # { 787s # case G_TYPE_BOOLEAN: 787s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 787s # break; 787s # case G_TYPE_UCHAR: 787s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 787s # break; 787s # case G_TYPE_INT: 787s # ret = (g_value_get_int (a) == g_value_get_int (b)); 787s # break; 787s # case G_TYPE_UINT: 787s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 787s # break; 787s # case G_TYPE_INT64: 787s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 787s # break; 787s # case G_TYPE_UINT64: 787s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 787s # break; 787s # case G_TYPE_DOUBLE: 787s # { 787s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 787s # gdouble da = g_value_get_double (a); 787s # gdouble db = g_value_get_double (b); 787s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 787s # } 787s # break; 787s # case G_TYPE_STRING: 787s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 787s # break; 787s # case G_TYPE_VARIANT: 787s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 787s # break; 787s # default: 787s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 787s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 787s # else 787s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 787s # break; 787s # } 787s # return ret; 787s # } 787s # 787s # /* ------------------------------------------------------------------------ 787s # * Code for interface org.project.SignalingIface 787s # * ------------------------------------------------------------------------ 787s # */ 787s # 787s # /** 787s # * SECTION:OrgProjectSignalingIface 787s # * @title: OrgProjectSignalingIface 787s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 787s # * 787s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 787s # */ 787s # 787s # enum 787s # { 787s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 787s # }; 787s # 787s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 787s # 787s # /* ---- Introspection data for org.project.SignalingIface ---- */ 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SimpleSignal", 787s # NULL, 787s # NULL 787s # }, 787s # "simple-signal" 787s # }; 787s # 787s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 787s # { 787s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 787s # { 787s # { 787s # -1, 787s # (gchar *) "org.project.SignalingIface", 787s # NULL, 787s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 787s # NULL, 787s # NULL 787s # }, 787s # "org-project-signaling-iface", 787s # }; 787s # 787s # 787s # /** 787s # * org_project_signaling_iface_interface_info: 787s # * 787s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 787s # * 787s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 787s # */ 787s # GDBusInterfaceInfo * 787s # org_project_signaling_iface_interface_info (void) 787s # { 787s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_override_properties: 787s # * @klass: The class structure for a #GObject derived class. 787s # * @property_id_begin: The property id to assign to the first overridden property. 787s # * 787s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 787s # * The properties are overridden in the order they are defined. 787s # * 787s # * Returns: The last property id. 787s # */ 787s # guint 787s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 787s # { 787s # return property_id_begin - 1; 787s # } 787s # 787s # 787s # inline static void 787s # org_project_signaling_iface_signal_marshal_simple_signal ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__VOID (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # 787s # /** 787s # * OrgProjectSignalingIface: 787s # * 787s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 787s # */ 787s # 787s # /** 787s # * OrgProjectSignalingIfaceIface: 787s # * @parent_iface: The parent interface. 787s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 787s # * 787s # * Virtual table for the D-Bus interface org.project.SignalingIface. 787s # */ 787s # 787s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 787s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 787s # 787s # static void 787s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 787s # { 787s # /* GObject signals for received D-Bus signals: */ 787s # /** 787s # * OrgProjectSignalingIface::simple-signal: 787s # * @object: A #OrgProjectSignalingIface. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 787s # g_signal_new ("simple-signal", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 787s # NULL, 787s # NULL, 787s # org_project_signaling_iface_signal_marshal_simple_signal, 787s # G_TYPE_NONE, 787s # 0); 787s # 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_emit_simple_signal: 787s # * @object: A #OrgProjectSignalingIface. 787s # * 787s # * Emits the "SimpleSignal" D-Bus signal. 787s # */ 787s # void 787s # org_project_signaling_iface_emit_simple_signal ( 787s # OrgProjectSignalingIface *object) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectSignalingIfaceProxy: 787s # * 787s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectSignalingIfaceProxyClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectSignalingIfaceProxy. 787s # */ 787s # 787s # struct _OrgProjectSignalingIfaceProxyPrivate 787s # { 787s # GData *qdata; 787s # }; 787s # 787s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 787s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_signaling_iface_proxy_finalize (GObject *object) 787s # { 787s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 787s # g_datalist_clear (&proxy->priv->qdata); 787s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # const GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 787s # const gchar *sender_name G_GNUC_UNUSED, 787s # const gchar *signal_name, 787s # GVariant *parameters) 787s # { 787s # _ExtendedGDBusSignalInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # gsize n; 787s # guint signal_id; 787s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 787s # if (info == NULL) 787s # return; 787s # num_params = g_variant_n_children (parameters); 787s # paramv = g_new0 (GValue, num_params + 1); 787s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 787s # g_value_set_object (¶mv[0], proxy); 787s # g_variant_iter_init (&iter, parameters); 787s # n = 1; 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 787s # g_signal_emitv (paramv, signal_id, 0, NULL); 787s # for (n = 0; n < num_params + 1; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 787s # GVariant *changed_properties, 787s # const gchar *const *invalidated_properties) 787s # { 787s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 787s # guint n; 787s # const gchar *key; 787s # GVariantIter *iter; 787s # _ExtendedGDBusPropertyInfo *info; 787s # g_variant_get (changed_properties, "a{sv}", &iter); 787s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 787s # g_datalist_remove_data (&proxy->priv->qdata, key); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # g_variant_iter_free (iter); 787s # for (n = 0; invalidated_properties[n] != NULL; n++) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 787s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 787s # #else 787s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 787s # #endif 787s # 787s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusProxyClass *proxy_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 787s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 787s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 787s # 787s # proxy_class = G_DBUS_PROXY_CLASS (klass); 787s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 787s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_proxy_new: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 787s # * 787s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_signaling_iface_proxy_new ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # 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); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_proxy_new_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectSignalingIface * 787s # org_project_signaling_iface_proxy_new_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_SIGNALING_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_proxy_new_sync: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectSignalingIface * 787s # org_project_signaling_iface_proxy_new_sync ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_SIGNALING_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /** 787s # * org_project_signaling_iface_proxy_new_for_bus: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 787s # * 787s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_signaling_iface_proxy_new_for_bus ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # 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); 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_proxy_new_for_bus_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectSignalingIface * 787s # org_project_signaling_iface_proxy_new_for_bus_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_SIGNALING_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_proxy_new_for_bus_sync: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectSignalingIface * 787s # org_project_signaling_iface_proxy_new_for_bus_sync ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_SIGNALING_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectSignalingIfaceSkeleton: 787s # * 787s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectSignalingIfaceSkeletonClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 787s # */ 787s # 787s # struct _OrgProjectSignalingIfaceSkeletonPrivate 787s # { 787s # GValue *properties; 787s # GList *changed_properties; 787s # GSource *changed_properties_idle_source; 787s # GMainContext *context; 787s # GMutex lock; 787s # }; 787s # 787s # static void 787s # _org_project_signaling_iface_skeleton_handle_method_call ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name, 787s # const gchar *method_name, 787s # GVariant *parameters, 787s # GDBusMethodInvocation *invocation, 787s # gpointer user_data) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 787s # _ExtendedGDBusMethodInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # guint num_extra; 787s # gsize n; 787s # guint signal_id; 787s # GValue return_value = G_VALUE_INIT; 787s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 787s # g_assert (info != NULL); 787s # num_params = g_variant_n_children (parameters); 787s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 787s # n = 0; 787s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 787s # g_value_set_object (¶mv[n++], skeleton); 787s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 787s # g_value_set_object (¶mv[n++], invocation); 787s # if (info->pass_fdlist) 787s # { 787s # #ifdef G_OS_UNIX 787s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 787s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 787s # #else 787s # g_assert_not_reached (); 787s # #endif 787s # } 787s # g_variant_iter_init (&iter, parameters); 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 787s # g_value_init (&return_value, G_TYPE_BOOLEAN); 787s # g_signal_emitv (paramv, signal_id, 0, &return_value); 787s # if (!g_value_get_boolean (&return_value)) 787s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 787s # g_value_unset (&return_value); 787s # for (n = 0; n < num_params + num_extra; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static GVariant * 787s # _org_project_signaling_iface_skeleton_handle_get_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # GVariant *ret; 787s # ret = NULL; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # g_value_init (&value, pspec->value_type); 787s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 787s # g_value_unset (&value); 787s # } 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _org_project_signaling_iface_skeleton_handle_set_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GVariant *variant, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # gboolean ret; 787s # ret = FALSE; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # if (info->use_gvariant) 787s # g_value_set_variant (&value, variant); 787s # else 787s # g_dbus_gvariant_to_gvalue (variant, &value); 787s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # g_value_unset (&value); 787s # ret = TRUE; 787s # } 787s # return ret; 787s # } 787s # 787s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 787s # { 787s # _org_project_signaling_iface_skeleton_handle_method_call, 787s # _org_project_signaling_iface_skeleton_handle_get_property, 787s # _org_project_signaling_iface_skeleton_handle_set_property, 787s # {NULL} 787s # }; 787s # 787s # static GDBusInterfaceInfo * 787s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return org_project_signaling_iface_interface_info (); 787s # } 787s # 787s # static GDBusInterfaceVTable * 787s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 787s # } 787s # 787s # static GVariant * 787s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 787s # 787s # GVariantBuilder builder; 787s # guint n; 787s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 787s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 787s # goto out; 787s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 787s # { 787s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 787s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 787s # { 787s # GVariant *value; 787s # 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); 787s # if (value != NULL) 787s # { 787s # g_variant_take_ref (value); 787s # g_variant_builder_add (&builder, "{sv}", info->name, value); 787s # g_variant_unref (value); 787s # } 787s # } 787s # } 787s # out: 787s # return g_variant_builder_end (&builder); 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # _org_project_signaling_iface_on_signal_simple_signal ( 787s # OrgProjectSignalingIface *object) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_signaling_iface_skeleton_finalize (GObject *object) 787s # { 787s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 787s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 787s # if (skeleton->priv->changed_properties_idle_source != NULL) 787s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 787s # g_main_context_unref (skeleton->priv->context); 787s # g_mutex_clear (&skeleton->priv->lock); 787s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 787s # #else 787s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 787s # #endif 787s # 787s # g_mutex_init (&skeleton->priv->lock); 787s # skeleton->priv->context = g_main_context_ref_thread_default (); 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusInterfaceSkeletonClass *skeleton_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 787s # 787s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 787s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 787s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 787s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 787s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 787s # { 787s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 787s # } 787s # 787s # /** 787s # * org_project_signaling_iface_skeleton_new: 787s # * 787s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 787s # * 787s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 787s # */ 787s # OrgProjectSignalingIface * 787s # org_project_signaling_iface_skeleton_new (void) 787s # { 787s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ 787s # * Code for interface org.project.OtherSignalingIface 787s # * ------------------------------------------------------------------------ 787s # */ 787s # 787s # /** 787s # * SECTION:OrgProjectOtherSignalingIface 787s # * @title: OrgProjectOtherSignalingIface 787s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 787s # * 787s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 787s # */ 787s # 787s # enum 787s # { 787s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 787s # }; 787s # 787s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 787s # 787s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 787s # 787s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 787s # { 787s # { 787s # -1, 787s # (gchar *) "SimpleSignal", 787s # NULL, 787s # NULL 787s # }, 787s # "simple-signal" 787s # }; 787s # 787s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 787s # { 787s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 787s # NULL 787s # }; 787s # 787s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 787s # { 787s # { 787s # -1, 787s # (gchar *) "org.project.OtherSignalingIface", 787s # NULL, 787s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 787s # NULL, 787s # NULL 787s # }, 787s # "org-project-other-signaling-iface", 787s # }; 787s # 787s # 787s # /** 787s # * org_project_other_signaling_iface_interface_info: 787s # * 787s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 787s # * 787s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 787s # */ 787s # GDBusInterfaceInfo * 787s # org_project_other_signaling_iface_interface_info (void) 787s # { 787s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 787s # } 787s # 787s # /** 787s # * org_project_other_signaling_iface_override_properties: 787s # * @klass: The class structure for a #GObject derived class. 787s # * @property_id_begin: The property id to assign to the first overridden property. 787s # * 787s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 787s # * The properties are overridden in the order they are defined. 787s # * 787s # * Returns: The last property id. 787s # */ 787s # guint 787s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 787s # { 787s # return property_id_begin - 1; 787s # } 787s # 787s # 787s # inline static void 787s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 787s # GClosure *closure, 787s # GValue *return_value, 787s # unsigned int n_param_values, 787s # const GValue *param_values, 787s # void *invocation_hint, 787s # void *marshal_data) 787s # { 787s # g_cclosure_marshal_VOID__VOID (closure, 787s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 787s # } 787s # 787s # 787s # /** 787s # * OrgProjectOtherSignalingIface: 787s # * 787s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 787s # */ 787s # 787s # /** 787s # * OrgProjectOtherSignalingIfaceIface: 787s # * @parent_iface: The parent interface. 787s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 787s # * 787s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 787s # */ 787s # 787s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 787s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 787s # 787s # static void 787s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 787s # { 787s # /* GObject signals for received D-Bus signals: */ 787s # /** 787s # * OrgProjectOtherSignalingIface::simple-signal: 787s # * @object: A #OrgProjectOtherSignalingIface. 787s # * 787s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 787s # * 787s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 787s # */ 787s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 787s # g_signal_new ("simple-signal", 787s # G_TYPE_FROM_INTERFACE (iface), 787s # G_SIGNAL_RUN_LAST, 787s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 787s # NULL, 787s # NULL, 787s # org_project_other_signaling_iface_signal_marshal_simple_signal, 787s # G_TYPE_NONE, 787s # 0); 787s # 787s # } 787s # 787s # /** 787s # * org_project_other_signaling_iface_emit_simple_signal: 787s # * @object: A #OrgProjectOtherSignalingIface. 787s # * 787s # * Emits the "SimpleSignal" D-Bus signal. 787s # */ 787s # void 787s # org_project_other_signaling_iface_emit_simple_signal ( 787s # OrgProjectOtherSignalingIface *object) 787s # { 787s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 787s # } 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectOtherSignalingIfaceProxy: 787s # * 787s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectOtherSignalingIfaceProxyClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 787s # */ 787s # 787s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 787s # { 787s # GData *qdata; 787s # }; 787s # 787s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 787s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 787s # { 787s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 787s # g_datalist_clear (&proxy->priv->qdata); 787s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 787s # guint prop_id G_GNUC_UNUSED, 787s # const GValue *value G_GNUC_UNUSED, 787s # GParamSpec *pspec G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 787s # const gchar *sender_name G_GNUC_UNUSED, 787s # const gchar *signal_name, 787s # GVariant *parameters) 787s # { 787s # _ExtendedGDBusSignalInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # gsize n; 787s # guint signal_id; 787s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 787s # if (info == NULL) 787s # return; 787s # num_params = g_variant_n_children (parameters); 787s # paramv = g_new0 (GValue, num_params + 1); 787s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 787s # g_value_set_object (¶mv[0], proxy); 787s # g_variant_iter_init (&iter, parameters); 787s # n = 1; 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 787s # g_signal_emitv (paramv, signal_id, 0, NULL); 787s # for (n = 0; n < num_params + 1; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static void 787s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 787s # GVariant *changed_properties, 787s # const gchar *const *invalidated_properties) 787s # { 787s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 787s # guint n; 787s # const gchar *key; 787s # GVariantIter *iter; 787s # _ExtendedGDBusPropertyInfo *info; 787s # g_variant_get (changed_properties, "a{sv}", &iter); 787s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 787s # g_datalist_remove_data (&proxy->priv->qdata, key); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # g_variant_iter_free (iter); 787s # for (n = 0; invalidated_properties[n] != NULL; n++) 787s # { 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 787s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 787s # if (info != NULL) 787s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 787s # } 787s # } 787s # 787s # static void 787s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 787s # #else 787s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 787s # #endif 787s # 787s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 787s # } 787s # 787s # static void 787s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusProxyClass *proxy_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 787s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 787s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 787s # 787s # proxy_class = G_DBUS_PROXY_CLASS (klass); 787s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 787s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # /** 787s # * org_project_other_signaling_iface_proxy_new: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 787s # * 787s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_other_signaling_iface_proxy_new ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # 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); 787s # } 787s # 787s # /** 787s # * org_project_other_signaling_iface_proxy_new_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectOtherSignalingIface * 787s # org_project_other_signaling_iface_proxy_new_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_other_signaling_iface_proxy_new_sync: 787s # * @connection: A #GDBusConnection. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectOtherSignalingIface * 787s # org_project_other_signaling_iface_proxy_new_sync ( 787s # GDBusConnection *connection, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /** 787s # * org_project_other_signaling_iface_proxy_new_for_bus: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 787s # * @user_data: User data to pass to @callback. 787s # * 787s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 787s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 787s # * 787s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 787s # */ 787s # void 787s # org_project_other_signaling_iface_proxy_new_for_bus ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GAsyncReadyCallback callback, 787s # gpointer user_data) 787s # { 787s # 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); 787s # } 787s # 787s # /** 787s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 787s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 787s # * @error: Return location for error or %NULL 787s # * 787s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 787s # * 787s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectOtherSignalingIface * 787s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 787s # GAsyncResult *res, 787s # GError **error) 787s # { 787s # GObject *ret; 787s # GObject *source_object; 787s # source_object = g_async_result_get_source_object (res); 787s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 787s # g_object_unref (source_object); 787s # if (ret != NULL) 787s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # /** 787s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 787s # * @bus_type: A #GBusType. 787s # * @flags: Flags from the #GDBusProxyFlags enumeration. 787s # * @name: A bus name (well-known or unique). 787s # * @object_path: An object path. 787s # * @cancellable: (nullable): A #GCancellable or %NULL. 787s # * @error: Return location for error or %NULL 787s # * 787s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 787s # * 787s # * The calling thread is blocked until a reply is received. 787s # * 787s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 787s # * 787s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 787s # */ 787s # OrgProjectOtherSignalingIface * 787s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 787s # GBusType bus_type, 787s # GDBusProxyFlags flags, 787s # const gchar *name, 787s # const gchar *object_path, 787s # GCancellable *cancellable, 787s # GError **error) 787s # { 787s # GInitable *ret; 787s # 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); 787s # if (ret != NULL) 787s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 787s # else 787s # return NULL; 787s # } 787s # 787s # 787s # /* ------------------------------------------------------------------------ */ 787s # 787s # /** 787s # * OrgProjectOtherSignalingIfaceSkeleton: 787s # * 787s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 787s # */ 787s # 787s # /** 787s # * OrgProjectOtherSignalingIfaceSkeletonClass: 787s # * @parent_class: The parent class. 787s # * 787s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 787s # */ 787s # 787s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 787s # { 787s # GValue *properties; 787s # GList *changed_properties; 787s # GSource *changed_properties_idle_source; 787s # GMainContext *context; 787s # GMutex lock; 787s # }; 787s # 787s # static void 787s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name, 787s # const gchar *method_name, 787s # GVariant *parameters, 787s # GDBusMethodInvocation *invocation, 787s # gpointer user_data) 787s # { 787s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 787s # _ExtendedGDBusMethodInfo *info; 787s # GVariantIter iter; 787s # GVariant *child; 787s # GValue *paramv; 787s # gsize num_params; 787s # guint num_extra; 787s # gsize n; 787s # guint signal_id; 787s # GValue return_value = G_VALUE_INIT; 787s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 787s # g_assert (info != NULL); 787s # num_params = g_variant_n_children (parameters); 787s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 787s # n = 0; 787s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 787s # g_value_set_object (¶mv[n++], skeleton); 787s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 787s # g_value_set_object (¶mv[n++], invocation); 787s # if (info->pass_fdlist) 787s # { 787s # #ifdef G_OS_UNIX 787s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 787s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 787s # #else 787s # g_assert_not_reached (); 787s # #endif 787s # } 787s # g_variant_iter_init (&iter, parameters); 787s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 787s # { 787s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 787s # if (arg_info->use_gvariant) 787s # { 787s # g_value_init (¶mv[n], G_TYPE_VARIANT); 787s # g_value_set_variant (¶mv[n], child); 787s # n++; 787s # } 787s # else 787s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 787s # g_variant_unref (child); 787s # } 787s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 787s # g_value_init (&return_value, G_TYPE_BOOLEAN); 787s # g_signal_emitv (paramv, signal_id, 0, &return_value); 787s # if (!g_value_get_boolean (&return_value)) 787s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 787s # g_value_unset (&return_value); 787s # for (n = 0; n < num_params + num_extra; n++) 787s # g_value_unset (¶mv[n]); 787s # g_free (paramv); 787s # } 787s # 787s # static GVariant * 787s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # GVariant *ret; 787s # ret = NULL; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # g_value_init (&value, pspec->value_type); 787s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 787s # g_value_unset (&value); 787s # } 787s # return ret; 787s # } 787s # 787s # static gboolean 787s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 787s # GDBusConnection *connection G_GNUC_UNUSED, 787s # const gchar *sender G_GNUC_UNUSED, 787s # const gchar *object_path G_GNUC_UNUSED, 787s # const gchar *interface_name G_GNUC_UNUSED, 787s # const gchar *property_name, 787s # GVariant *variant, 787s # GError **error, 787s # gpointer user_data) 787s # { 787s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 787s # GValue value = G_VALUE_INIT; 787s # GParamSpec *pspec; 787s # _ExtendedGDBusPropertyInfo *info; 787s # gboolean ret; 787s # ret = FALSE; 787s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 787s # g_assert (info != NULL); 787s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 787s # if (pspec == NULL) 787s # { 787s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 787s # } 787s # else 787s # { 787s # if (info->use_gvariant) 787s # g_value_set_variant (&value, variant); 787s # else 787s # g_dbus_gvariant_to_gvalue (variant, &value); 787s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 787s # g_value_unset (&value); 787s # ret = TRUE; 787s # } 787s # return ret; 787s # } 787s # 787s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 787s # { 787s # _org_project_other_signaling_iface_skeleton_handle_method_call, 787s # _org_project_other_signaling_iface_skeleton_handle_get_property, 787s # _org_project_other_signaling_iface_skeleton_handle_set_property, 787s # {NULL} 787s # }; 787s # 787s # static GDBusInterfaceInfo * 787s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return org_project_other_signaling_iface_interface_info (); 787s # } 787s # 787s # static GDBusInterfaceVTable * 787s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 787s # { 787s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 787s # } 787s # 787s # static GVariant * 787s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 787s # { 787s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 787s # 787s # GVariantBuilder builder; 787s # guint n; 787s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 787s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 787s # goto out; 787s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 787s # { 787s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 787s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 787s # { 787s # GVariant *value; 787s # 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); 787s # if (value != NULL) 787s # { 787s # g_variant_take_ref (value); 787s # g_variant_builder_add (&builder, "{sv}", info->name, value); 787s # g_variant_unref (value); 787s # } 787s # } 787s # } 787s # out: 787s # return g_variant_builder_end (&builder); 787s # } 787s # 787s # static void 787s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 787s # { 787s # } 787s # 787s # static void 787s # _org_project_other_signaling_iface_on_signal_simple_signal ( 787s # OrgProjectOtherSignalingIface *object) 787s # { 787s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 787s # 787s # GList *connections, *l; 787s # GVariant *signal_variant; 787s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 787s # 787s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 787s # for (l = connections; l != NULL; l = l->next) 787s # { 787s # GDBusConnection *connection = l->data; 787s # g_dbus_connection_emit_signal (connection, 787s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 787s # signal_variant, NULL); 787s # } 787s # g_variant_unref (signal_variant); 787s # g_list_free_full (connections, g_object_unref); 787s # } 787s # 787s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 787s # 787s # #else 787s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 787s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 787s # 787s # #endif 787s # static void 787s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 787s # { 787s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 787s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 787s # if (skeleton->priv->changed_properties_idle_source != NULL) 787s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 787s # g_main_context_unref (skeleton->priv->context); 787s # g_mutex_clear (&skeleton->priv->lock); 787s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 787s # } 787s # 787s # static void 787s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 787s # { 787s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 787s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 787s # #else 787s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 787s # #endif 787s # 787s # g_mutex_init (&skeleton->priv->lock); 787s # skeleton->priv->context = g_main_context_ref_thread_default (); 787s # } 787s # 787s # static void 787s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 787s # { 787s # GObjectClass *gobject_class; 787s # GDBusInterfaceSkeletonClass *skeleton_class; 787s # 787s # gobject_class = G_OBJECT_CLASS (klass); 787s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 787s # 787s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 787s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 787s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 787s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 787s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 787s # 787s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 787s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 787s # #endif 787s # } 787s # 787s # static void 787s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 787s # { 787s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 787s # } 787s # 787s # /** 787s # * org_project_other_signaling_iface_skeleton_new: 787s # * 787s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 787s # * 787s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 787s # */ 787s # OrgProjectOtherSignalingIface * 787s # org_project_other_signaling_iface_skeleton_new (void) 787s # { 787s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 787s # } 788s # Executing: glib/codegen.py.test 788s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 788s # tmpdir: /tmp/tmpm6yz_g2t 788s # codegen: /usr/bin/gdbus-codegen 788s # /tmp/tmpm6yz_g2t/tmpq5nd2pau.xml: 788s # 788s # 788s # 788s # 788s # 788s # 788s # 788s # 788s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6yz_g2t/tmpq5nd2pau.xml', '--output', '-', '--body'] 788s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 788s # Output: /* 788s # * This file is generated by gdbus-codegen, do not modify it. 788s # * 788s # * The license of this code is the same as for the D-Bus interface description 788s # * it was derived from. Note that it links to GLib, so must comply with the 788s # * LGPL linking clauses. 788s # */ 788s # 788s # #ifdef HAVE_CONFIG_H 788s # # include "config.h" 788s # #endif 788s # 788s # #include 788s # #ifdef G_OS_UNIX 788s # # include 788s # #endif 788s # 788s # #ifdef G_ENABLE_DEBUG 788s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 788s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 788s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 788s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 788s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 788s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 788s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 788s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 788s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 788s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 788s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 788s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 788s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 788s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 788s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 788s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 788s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 788s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 788s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 788s # #else /* !G_ENABLE_DEBUG */ 788s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 788s # * Do not access GValues directly in your code. Instead, use the 788s # * g_value_get_*() functions 788s # */ 788s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 788s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 788s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 788s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 788s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 788s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 788s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 788s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 788s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 788s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 788s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 788s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 788s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 788s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 788s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 788s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 788s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 788s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 788s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 788s # #endif /* !G_ENABLE_DEBUG */ 788s # 788s # typedef struct 788s # { 788s # GDBusArgInfo parent_struct; 788s # gboolean use_gvariant; 788s # } _ExtendedGDBusArgInfo; 788s # 788s # typedef struct 788s # { 788s # GDBusMethodInfo parent_struct; 788s # const gchar *signal_name; 788s # gboolean pass_fdlist; 788s # } _ExtendedGDBusMethodInfo; 788s # 788s # typedef struct 788s # { 788s # GDBusSignalInfo parent_struct; 788s # const gchar *signal_name; 788s # } _ExtendedGDBusSignalInfo; 788s # 788s # typedef struct 788s # { 788s # GDBusPropertyInfo parent_struct; 788s # const gchar *hyphen_name; 788s # guint use_gvariant : 1; 788s # guint emits_changed_signal : 1; 788s # } _ExtendedGDBusPropertyInfo; 788s # 788s # typedef struct 788s # { 788s # GDBusInterfaceInfo parent_struct; 788s # const gchar *hyphen_name; 788s # } _ExtendedGDBusInterfaceInfo; 788s # 788s # typedef struct 788s # { 788s # const _ExtendedGDBusPropertyInfo *info; 788s # guint prop_id; 788s # GValue orig_value; /* the value before the change */ 788s # } ChangedProperty; 788s # 788s # static void 788s # _changed_property_free (ChangedProperty *data) 788s # { 788s # g_value_unset (&data->orig_value); 788s # g_free (data); 788s # } 788s # 788s # static gboolean 788s # _g_strv_equal0 (gchar **a, gchar **b) 788s # { 788s # gboolean ret = FALSE; 788s # guint n; 788s # if (a == NULL && b == NULL) 788s # { 788s # ret = TRUE; 788s # goto out; 788s # } 788s # if (a == NULL || b == NULL) 788s # goto out; 788s # if (g_strv_length (a) != g_strv_length (b)) 788s # goto out; 788s # for (n = 0; a[n] != NULL; n++) 788s # if (g_strcmp0 (a[n], b[n]) != 0) 788s # goto out; 788s # ret = TRUE; 788s # out: 788s # return ret; 788s # } 788s # 788s # static gboolean 788s # _g_variant_equal0 (GVariant *a, GVariant *b) 788s # { 788s # gboolean ret = FALSE; 788s # if (a == NULL && b == NULL) 788s # { 788s # ret = TRUE; 788s # goto out; 788s # } 788s # if (a == NULL || b == NULL) 788s # goto out; 788s # ret = g_variant_equal (a, b); 788s # out: 788s # return ret; 788s # } 788s # 788s # G_GNUC_UNUSED static gboolean 788s # _g_value_equal (const GValue *a, const GValue *b) 788s # { 788s # gboolean ret = FALSE; 788s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 788s # switch (G_VALUE_TYPE (a)) 788s # { 788s # case G_TYPE_BOOLEAN: 788s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 788s # break; 788s # case G_TYPE_UCHAR: 788s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 788s # break; 788s # case G_TYPE_INT: 788s # ret = (g_value_get_int (a) == g_value_get_int (b)); 788s # break; 788s # case G_TYPE_UINT: 788s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 788s # break; 788s # case G_TYPE_INT64: 788s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 788s # break; 788s # case G_TYPE_UINT64: 788s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 788s # break; 788s # case G_TYPE_DOUBLE: 788s # { 788s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 788s # gdouble da = g_value_get_double (a); 788s # gdouble db = g_value_get_double (b); 788s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 788s # } 788s # break; 788s # case G_TYPE_STRING: 788s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 788s # break; 788s # case G_TYPE_VARIANT: 788s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 788s # break; 788s # default: 788s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 788s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 788s # else 788s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 788s # break; 788s # } 788s # return ret; 788s # } 788s # 788s # /* ------------------------------------------------------------------------ 788s # * Code for interface org.project.SignalingIface 788s # * ------------------------------------------------------------------------ 788s # */ 788s # 788s # /** 788s # * SECTION:OrgProjectSignalingIface 788s # * @title: OrgProjectSignalingIface 788s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 788s # * 788s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 788s # */ 788s # 788s # enum 788s # { 788s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 788s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 788s # }; 788s # 788s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 788s # 788s # /* ---- Introspection data for org.project.SignalingIface ---- */ 788s # 788s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 788s # { 788s # { 788s # -1, 788s # (gchar *) "SimpleSignal", 788s # NULL, 788s # NULL 788s # }, 788s # "simple-signal" 788s # }; 788s # 788s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 788s # { 788s # { 788s # -1, 788s # (gchar *) "arg_b", 788s # (gchar *) "b", 788s # NULL 788s # }, 788s # FALSE 788s # }; 788s # 788s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 788s # { 788s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 788s # NULL 788s # }; 788s # 788s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 788s # { 788s # { 788s # -1, 788s # (gchar *) "SingleArgSignalB", 788s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 788s # NULL 788s # }, 788s # "single-arg-signal-b" 788s # }; 788s # 788s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 788s # { 788s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 788s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 788s # NULL 788s # }; 788s # 788s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 788s # { 788s # { 788s # -1, 788s # (gchar *) "org.project.SignalingIface", 788s # NULL, 788s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 788s # NULL, 788s # NULL 788s # }, 788s # "org-project-signaling-iface", 788s # }; 788s # 788s # 788s # /** 788s # * org_project_signaling_iface_interface_info: 788s # * 788s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 788s # * 788s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 788s # */ 788s # GDBusInterfaceInfo * 788s # org_project_signaling_iface_interface_info (void) 788s # { 788s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 788s # } 788s # 788s # /** 788s # * org_project_signaling_iface_override_properties: 788s # * @klass: The class structure for a #GObject derived class. 788s # * @property_id_begin: The property id to assign to the first overridden property. 788s # * 788s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 788s # * The properties are overridden in the order they are defined. 788s # * 788s # * Returns: The last property id. 788s # */ 788s # guint 788s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 788s # { 788s # return property_id_begin - 1; 788s # } 788s # 788s # 788s # inline static void 788s # org_project_signaling_iface_signal_marshal_simple_signal ( 788s # GClosure *closure, 788s # GValue *return_value, 788s # unsigned int n_param_values, 788s # const GValue *param_values, 788s # void *invocation_hint, 788s # void *marshal_data) 788s # { 788s # g_cclosure_marshal_VOID__VOID (closure, 788s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 788s # } 788s # 788s # inline static void 788s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 788s # GClosure *closure, 788s # GValue *return_value, 788s # unsigned int n_param_values, 788s # const GValue *param_values, 788s # void *invocation_hint, 788s # void *marshal_data) 788s # { 788s # g_cclosure_marshal_VOID__BOOLEAN (closure, 788s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 788s # } 788s # 788s # 788s # /** 788s # * OrgProjectSignalingIface: 788s # * 788s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 788s # */ 788s # 788s # /** 788s # * OrgProjectSignalingIfaceIface: 788s # * @parent_iface: The parent interface. 788s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 788s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 788s # * 788s # * Virtual table for the D-Bus interface org.project.SignalingIface. 788s # */ 788s # 788s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 788s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 788s # 788s # static void 788s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 788s # { 788s # /* GObject signals for received D-Bus signals: */ 788s # /** 788s # * OrgProjectSignalingIface::simple-signal: 788s # * @object: A #OrgProjectSignalingIface. 788s # * 788s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 788s # * 788s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 788s # */ 788s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 788s # g_signal_new ("simple-signal", 788s # G_TYPE_FROM_INTERFACE (iface), 788s # G_SIGNAL_RUN_LAST, 788s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 788s # NULL, 788s # NULL, 788s # org_project_signaling_iface_signal_marshal_simple_signal, 788s # G_TYPE_NONE, 788s # 0); 788s # 788s # /** 788s # * OrgProjectSignalingIface::single-arg-signal-b: 788s # * @object: A #OrgProjectSignalingIface. 788s # * @arg_arg_b: Argument. 788s # * 788s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 788s # * 788s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 788s # */ 788s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 788s # g_signal_new ("single-arg-signal-b", 788s # G_TYPE_FROM_INTERFACE (iface), 788s # G_SIGNAL_RUN_LAST, 788s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 788s # NULL, 788s # NULL, 788s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 788s # G_TYPE_NONE, 788s # 1, G_TYPE_BOOLEAN); 788s # 788s # } 788s # 788s # /** 788s # * org_project_signaling_iface_emit_simple_signal: 788s # * @object: A #OrgProjectSignalingIface. 788s # * 788s # * Emits the "SimpleSignal" D-Bus signal. 788s # */ 788s # void 788s # org_project_signaling_iface_emit_simple_signal ( 788s # OrgProjectSignalingIface *object) 788s # { 788s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 788s # } 788s # 788s # /** 788s # * org_project_signaling_iface_emit_single_arg_signal_b: 788s # * @object: A #OrgProjectSignalingIface. 788s # * @arg_arg_b: Argument to pass with the signal. 788s # * 788s # * Emits the "SingleArgSignalB" D-Bus signal. 788s # */ 788s # void 788s # org_project_signaling_iface_emit_single_arg_signal_b ( 788s # OrgProjectSignalingIface *object, 788s # gboolean arg_arg_b) 788s # { 788s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 788s # } 788s # 788s # /* ------------------------------------------------------------------------ */ 788s # 788s # /** 788s # * OrgProjectSignalingIfaceProxy: 788s # * 788s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 788s # */ 788s # 788s # /** 788s # * OrgProjectSignalingIfaceProxyClass: 788s # * @parent_class: The parent class. 788s # * 788s # * Class structure for #OrgProjectSignalingIfaceProxy. 788s # */ 788s # 788s # struct _OrgProjectSignalingIfaceProxyPrivate 788s # { 788s # GData *qdata; 788s # }; 788s # 788s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 788s # 788s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 788s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 788s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 788s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 788s # 788s # #else 788s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 788s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 788s # 788s # #endif 788s # static void 788s # org_project_signaling_iface_proxy_finalize (GObject *object) 788s # { 788s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 788s # g_datalist_clear (&proxy->priv->qdata); 788s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 788s # } 788s # 788s # static void 788s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 788s # guint prop_id G_GNUC_UNUSED, 788s # GValue *value G_GNUC_UNUSED, 788s # GParamSpec *pspec G_GNUC_UNUSED) 788s # { 788s # } 788s # 788s # static void 788s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 788s # guint prop_id G_GNUC_UNUSED, 788s # const GValue *value G_GNUC_UNUSED, 788s # GParamSpec *pspec G_GNUC_UNUSED) 788s # { 788s # } 788s # 788s # static void 788s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 788s # const gchar *sender_name G_GNUC_UNUSED, 788s # const gchar *signal_name, 788s # GVariant *parameters) 788s # { 788s # _ExtendedGDBusSignalInfo *info; 788s # GVariantIter iter; 788s # GVariant *child; 788s # GValue *paramv; 788s # gsize num_params; 788s # gsize n; 788s # guint signal_id; 788s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 788s # if (info == NULL) 788s # return; 788s # num_params = g_variant_n_children (parameters); 788s # paramv = g_new0 (GValue, num_params + 1); 788s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 788s # g_value_set_object (¶mv[0], proxy); 788s # g_variant_iter_init (&iter, parameters); 788s # n = 1; 788s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 788s # { 788s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 788s # if (arg_info->use_gvariant) 788s # { 788s # g_value_init (¶mv[n], G_TYPE_VARIANT); 788s # g_value_set_variant (¶mv[n], child); 788s # n++; 788s # } 788s # else 788s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 788s # g_variant_unref (child); 788s # } 788s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 788s # g_signal_emitv (paramv, signal_id, 0, NULL); 788s # for (n = 0; n < num_params + 1; n++) 788s # g_value_unset (¶mv[n]); 788s # g_free (paramv); 788s # } 788s # 788s # static void 788s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 788s # GVariant *changed_properties, 788s # const gchar *const *invalidated_properties) 788s # { 788s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 788s # guint n; 788s # const gchar *key; 788s # GVariantIter *iter; 788s # _ExtendedGDBusPropertyInfo *info; 788s # g_variant_get (changed_properties, "a{sv}", &iter); 788s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 788s # { 788s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 788s # g_datalist_remove_data (&proxy->priv->qdata, key); 788s # if (info != NULL) 788s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 788s # } 788s # g_variant_iter_free (iter); 788s # for (n = 0; invalidated_properties[n] != NULL; n++) 788s # { 788s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 788s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 788s # if (info != NULL) 788s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 788s # } 788s # } 788s # 788s # static void 788s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 788s # { 788s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 788s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 788s # #else 788s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 788s # #endif 788s # 788s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 788s # } 788s # 788s # static void 788s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 788s # { 788s # GObjectClass *gobject_class; 788s # GDBusProxyClass *proxy_class; 788s # 788s # gobject_class = G_OBJECT_CLASS (klass); 788s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 788s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 788s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 788s # 788s # proxy_class = G_DBUS_PROXY_CLASS (klass); 788s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 788s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 788s # 788s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 788s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 788s # #endif 788s # } 788s # 788s # static void 788s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 788s # { 788s # } 788s # 788s # /** 788s # * org_project_signaling_iface_proxy_new: 788s # * @connection: A #GDBusConnection. 788s # * @flags: Flags from the #GDBusProxyFlags enumeration. 788s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 788s # * @object_path: An object path. 788s # * @cancellable: (nullable): A #GCancellable or %NULL. 788s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 788s # * @user_data: User data to pass to @callback. 788s # * 788s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 788s # * 788s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 788s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 788s # * 788s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 788s # */ 788s # void 788s # org_project_signaling_iface_proxy_new ( 788s # GDBusConnection *connection, 788s # GDBusProxyFlags flags, 788s # const gchar *name, 788s # const gchar *object_path, 788s # GCancellable *cancellable, 788s # GAsyncReadyCallback callback, 788s # gpointer user_data) 788s # { 788s # 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); 788s # } 788s # 788s # /** 788s # * org_project_signaling_iface_proxy_new_finish: 788s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 788s # * @error: Return location for error or %NULL 788s # * 788s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 788s # * 788s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 788s # */ 788s # OrgProjectSignalingIface * 788s # org_project_signaling_iface_proxy_new_finish ( 788s # GAsyncResult *res, 788s # GError **error) 788s # { 788s # GObject *ret; 788s # GObject *source_object; 788s # source_object = g_async_result_get_source_object (res); 788s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 788s # g_object_unref (source_object); 788s # if (ret != NULL) 788s # return ORG_PROJECT_SIGNALING_IFACE (ret); 788s # else 788s # return NULL; 788s # } 788s # 788s # /** 788s # * org_project_signaling_iface_proxy_new_sync: 788s # * @connection: A #GDBusConnection. 788s # * @flags: Flags from the #GDBusProxyFlags enumeration. 788s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 788s # * @object_path: An object path. 788s # * @cancellable: (nullable): A #GCancellable or %NULL. 788s # * @error: Return location for error or %NULL 788s # * 788s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 788s # * 788s # * The calling thread is blocked until a reply is received. 788s # * 788s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 788s # * 788s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 788s # */ 788s # OrgProjectSignalingIface * 788s # org_project_signaling_iface_proxy_new_sync ( 788s # GDBusConnection *connection, 788s # GDBusProxyFlags flags, 788s # const gchar *name, 788s # const gchar *object_path, 788s # GCancellable *cancellable, 788s # GError **error) 788s # { 788s # GInitable *ret; 788s # 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); 788s # if (ret != NULL) 788s # return ORG_PROJECT_SIGNALING_IFACE (ret); 788s # else 788s # return NULL; 788s # } 788s # 788s # 788s # /** 788s # * org_project_signaling_iface_proxy_new_for_bus: 788s # * @bus_type: A #GBusType. 788s # * @flags: Flags from the #GDBusProxyFlags enumeration. 788s # * @name: A bus name (well-known or unique). 788s # * @object_path: An object path. 788s # * @cancellable: (nullable): A #GCancellable or %NULL. 788s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 788s # * @user_data: User data to pass to @callback. 788s # * 788s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 788s # * 788s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 788s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 788s # * 788s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 788s # */ 788s # void 788s # org_project_signaling_iface_proxy_new_for_bus ( 788s # GBusType bus_type, 788s # GDBusProxyFlags flags, 788s # const gchar *name, 788s # const gchar *object_path, 788s # GCancellable *cancellable, 788s # GAsyncReadyCallback callback, 788s # gpointer user_data) 788s # { 788s # 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); 788s # } 788s # 788s # /** 788s # * org_project_signaling_iface_proxy_new_for_bus_finish: 788s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 788s # * @error: Return location for error or %NULL 788s # * 788s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 788s # * 788s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 788s # */ 788s # OrgProjectSignalingIface * 788s # org_project_signaling_iface_proxy_new_for_bus_finish ( 788s # GAsyncResult *res, 788s # GError **error) 788s # { 788s # GObject *ret; 788s # GObject *source_object; 788s # source_object = g_async_result_get_source_object (res); 788s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 788s # g_object_unref (source_object); 788s # if (ret != NULL) 788s # return ORG_PROJECT_SIGNALING_IFACE (ret); 788s # else 788s # return NULL; 788s # } 788s # 788s # /** 788s # * org_project_signaling_iface_proxy_new_for_bus_sync: 788s # * @bus_type: A #GBusType. 788s # * @flags: Flags from the #GDBusProxyFlags enumeration. 788s # * @name: A bus name (well-known or unique). 788s # * @object_path: An object path. 788s # * @cancellable: (nullable): A #GCancellable or %NULL. 788s # * @error: Return location for error or %NULL 788s # * 788s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 788s # * 788s # * The calling thread is blocked until a reply is received. 788s # * 788s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 788s # * 788s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 788s # */ 788s # OrgProjectSignalingIface * 788s # org_project_signaling_iface_proxy_new_for_bus_sync ( 788s # GBusType bus_type, 788s # GDBusProxyFlags flags, 788s # const gchar *name, 788s # const gchar *object_path, 788s # GCancellable *cancellable, 788s # GError **error) 788s # { 788s # GInitable *ret; 788s # 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); 788s # if (ret != NULL) 788s # return ORG_PROJECT_SIGNALING_IFACE (ret); 788s # else 788s # return NULL; 788s # } 788s # 788s # 788s # /* ------------------------------------------------------------------------ */ 788s # 788s # /** 788s # * OrgProjectSignalingIfaceSkeleton: 788s # * 788s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 788s # */ 788s # 788s # /** 789s # * OrgProjectSignalingIfaceSkeletonClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceSkeletonPrivate 789s # { 789s # GValue *properties; 789s # GList *changed_properties; 789s # GSource *changed_properties_idle_source; 789s # GMainContext *context; 789s # GMutex lock; 789s # }; 789s # 789s # static void 789s # _org_project_signaling_iface_skeleton_handle_method_call ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name, 789s # const gchar *method_name, 789s # GVariant *parameters, 789s # GDBusMethodInvocation *invocation, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # _ExtendedGDBusMethodInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # guint num_extra; 789s # gsize n; 789s # guint signal_id; 789s # GValue return_value = G_VALUE_INIT; 789s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 789s # g_assert (info != NULL); 789s # num_params = g_variant_n_children (parameters); 789s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 789s # n = 0; 789s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[n++], skeleton); 789s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 789s # g_value_set_object (¶mv[n++], invocation); 789s # if (info->pass_fdlist) 789s # { 789s # #ifdef G_OS_UNIX 789s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 789s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 789s # #else 789s # g_assert_not_reached (); 789s # #endif 789s # } 789s # g_variant_iter_init (&iter, parameters); 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_init (&return_value, G_TYPE_BOOLEAN); 789s # g_signal_emitv (paramv, signal_id, 0, &return_value); 789s # if (!g_value_get_boolean (&return_value)) 789s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 789s # g_value_unset (&return_value); 789s # for (n = 0; n < num_params + num_extra; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static GVariant * 789s # _org_project_signaling_iface_skeleton_handle_get_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # GVariant *ret; 789s # ret = NULL; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # g_value_init (&value, pspec->value_type); 789s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 789s # g_value_unset (&value); 789s # } 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _org_project_signaling_iface_skeleton_handle_set_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GVariant *variant, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # gboolean ret; 789s # ret = FALSE; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # if (info->use_gvariant) 789s # g_value_set_variant (&value, variant); 789s # else 789s # g_dbus_gvariant_to_gvalue (variant, &value); 789s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # g_value_unset (&value); 789s # ret = TRUE; 789s # } 789s # return ret; 789s # } 789s # 789s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 789s # { 789s # _org_project_signaling_iface_skeleton_handle_method_call, 789s # _org_project_signaling_iface_skeleton_handle_get_property, 789s # _org_project_signaling_iface_skeleton_handle_set_property, 789s # {NULL} 789s # }; 789s # 789s # static GDBusInterfaceInfo * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return org_project_signaling_iface_interface_info (); 789s # } 789s # 789s # static GDBusInterfaceVTable * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 789s # } 789s # 789s # static GVariant * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 789s # 789s # GVariantBuilder builder; 789s # guint n; 789s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 789s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 789s # goto out; 789s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 789s # { 789s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 789s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 789s # { 789s # GVariant *value; 789s # 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); 789s # if (value != NULL) 789s # { 789s # g_variant_take_ref (value); 789s # g_variant_builder_add (&builder, "{sv}", info->name, value); 789s # g_variant_unref (value); 789s # } 789s # } 789s # } 789s # out: 789s # return g_variant_builder_end (&builder); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 789s # OrgProjectSignalingIface *object, 789s # gboolean arg_arg_b) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 789s # arg_arg_b)); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_skeleton_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 789s # if (skeleton->priv->changed_properties_idle_source != NULL) 789s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 789s # g_main_context_unref (skeleton->priv->context); 789s # g_mutex_clear (&skeleton->priv->lock); 789s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 789s # #else 789s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 789s # #endif 789s # 789s # g_mutex_init (&skeleton->priv->lock); 789s # skeleton->priv->context = g_main_context_ref_thread_default (); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusInterfaceSkeletonClass *skeleton_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 789s # 789s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 789s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 789s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 789s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 789s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 789s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_skeleton_new: 789s # * 789s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_skeleton_new (void) 789s # { 789s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 789s # } 789s # /tmp/tmpm6yz_g2t/tmp42naniiu.xml: 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6yz_g2t/tmp42naniiu.xml', '--output', '-', '--body'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifdef HAVE_CONFIG_H 789s # # include "config.h" 789s # #endif 789s # 789s # #include 789s # #ifdef G_OS_UNIX 789s # # include 789s # #endif 789s # 789s # #ifdef G_ENABLE_DEBUG 789s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 789s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 789s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 789s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 789s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 789s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 789s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 789s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 789s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 789s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 789s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 789s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 789s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 789s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 789s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 789s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 789s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 789s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 789s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 789s # #else /* !G_ENABLE_DEBUG */ 789s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 789s # * Do not access GValues directly in your code. Instead, use the 789s # * g_value_get_*() functions 789s # */ 789s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 789s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 789s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 789s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 789s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 789s # #endif /* !G_ENABLE_DEBUG */ 789s # 789s # typedef struct 789s # { 789s # GDBusArgInfo parent_struct; 789s # gboolean use_gvariant; 789s # } _ExtendedGDBusArgInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusMethodInfo parent_struct; 789s # const gchar *signal_name; 789s # gboolean pass_fdlist; 789s # } _ExtendedGDBusMethodInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusSignalInfo parent_struct; 789s # const gchar *signal_name; 789s # } _ExtendedGDBusSignalInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusPropertyInfo parent_struct; 789s # const gchar *hyphen_name; 789s # guint use_gvariant : 1; 789s # guint emits_changed_signal : 1; 789s # } _ExtendedGDBusPropertyInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusInterfaceInfo parent_struct; 789s # const gchar *hyphen_name; 789s # } _ExtendedGDBusInterfaceInfo; 789s # 789s # typedef struct 789s # { 789s # const _ExtendedGDBusPropertyInfo *info; 789s # guint prop_id; 789s # GValue orig_value; /* the value before the change */ 789s # } ChangedProperty; 789s # 789s # static void 789s # _changed_property_free (ChangedProperty *data) 789s # { 789s # g_value_unset (&data->orig_value); 789s # g_free (data); 789s # } 789s # 789s # static gboolean 789s # _g_strv_equal0 (gchar **a, gchar **b) 789s # { 789s # gboolean ret = FALSE; 789s # guint n; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # if (g_strv_length (a) != g_strv_length (b)) 789s # goto out; 789s # for (n = 0; a[n] != NULL; n++) 789s # if (g_strcmp0 (a[n], b[n]) != 0) 789s # goto out; 789s # ret = TRUE; 789s # out: 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _g_variant_equal0 (GVariant *a, GVariant *b) 789s # { 789s # gboolean ret = FALSE; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # ret = g_variant_equal (a, b); 789s # out: 789s # return ret; 789s # } 789s # 789s # G_GNUC_UNUSED static gboolean 789s # _g_value_equal (const GValue *a, const GValue *b) 789s # { 789s # gboolean ret = FALSE; 789s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 789s # switch (G_VALUE_TYPE (a)) 789s # { 789s # case G_TYPE_BOOLEAN: 789s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 789s # break; 789s # case G_TYPE_UCHAR: 789s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 789s # break; 789s # case G_TYPE_INT: 789s # ret = (g_value_get_int (a) == g_value_get_int (b)); 789s # break; 789s # case G_TYPE_UINT: 789s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 789s # break; 789s # case G_TYPE_INT64: 789s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 789s # break; 789s # case G_TYPE_UINT64: 789s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 789s # break; 789s # case G_TYPE_DOUBLE: 789s # { 789s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 789s # gdouble da = g_value_get_double (a); 789s # gdouble db = g_value_get_double (b); 789s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 789s # } 789s # break; 789s # case G_TYPE_STRING: 789s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 789s # break; 789s # case G_TYPE_VARIANT: 789s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 789s # break; 789s # default: 789s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 789s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 789s # else 789s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 789s # break; 789s # } 789s # return ret; 789s # } 789s # 789s # /* ------------------------------------------------------------------------ 789s # * Code for interface org.project.SignalingIface 789s # * ------------------------------------------------------------------------ 789s # */ 789s # 789s # /** 789s # * SECTION:OrgProjectSignalingIface 789s # * @title: OrgProjectSignalingIface 789s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 789s # * 789s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 789s # */ 789s # 789s # enum 789s # { 789s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 789s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 789s # }; 789s # 789s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 789s # 789s # /* ---- Introspection data for org.project.SignalingIface ---- */ 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SimpleSignal", 789s # NULL, 789s # NULL 789s # }, 789s # "simple-signal" 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 789s # { 789s # { 789s # -1, 789s # (gchar *) "arg_y", 789s # (gchar *) "y", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SingleArgSignalY", 789s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 789s # NULL 789s # }, 789s # "single-arg-signal-y" 789s # }; 789s # 789s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 789s # { 789s # { 789s # -1, 789s # (gchar *) "org.project.SignalingIface", 789s # NULL, 789s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 789s # NULL, 789s # NULL 789s # }, 789s # "org-project-signaling-iface", 789s # }; 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_interface_info: 789s # * 789s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 789s # * 789s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 789s # */ 789s # GDBusInterfaceInfo * 789s # org_project_signaling_iface_interface_info (void) 789s # { 789s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_override_properties: 789s # * @klass: The class structure for a #GObject derived class. 789s # * @property_id_begin: The property id to assign to the first overridden property. 789s # * 789s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 789s # * The properties are overridden in the order they are defined. 789s # * 789s # * Returns: The last property id. 789s # */ 789s # guint 789s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 789s # { 789s # return property_id_begin - 1; 789s # } 789s # 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_simple_signal ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VOID (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__UCHAR (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # 789s # /** 789s # * OrgProjectSignalingIface: 789s # * 789s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceIface: 789s # * @parent_iface: The parent interface. 789s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 789s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 789s # * 789s # * Virtual table for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 789s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 789s # 789s # static void 789s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # /* GObject signals for received D-Bus signals: */ 789s # /** 789s # * OrgProjectSignalingIface::simple-signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 789s # g_signal_new ("simple-signal", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_simple_signal, 789s # G_TYPE_NONE, 789s # 0); 789s # 789s # /** 789s # * OrgProjectSignalingIface::single-arg-signal-y: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_y: Argument. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 789s # g_signal_new ("single-arg-signal-y", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 789s # G_TYPE_NONE, 789s # 1, G_TYPE_UCHAR); 789s # 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_simple_signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * Emits the "SimpleSignal" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_single_arg_signal_y: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_y: Argument to pass with the signal. 789s # * 789s # * Emits the "SingleArgSignalY" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_single_arg_signal_y ( 789s # OrgProjectSignalingIface *object, 789s # guchar arg_arg_y) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxy: 789s # * 789s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxyClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceProxy. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceProxyPrivate 789s # { 789s # GData *qdata; 789s # }; 789s # 789s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_proxy_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 789s # g_datalist_clear (&proxy->priv->qdata); 789s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # const GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 789s # const gchar *sender_name G_GNUC_UNUSED, 789s # const gchar *signal_name, 789s # GVariant *parameters) 789s # { 789s # _ExtendedGDBusSignalInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # gsize n; 789s # guint signal_id; 789s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 789s # if (info == NULL) 789s # return; 789s # num_params = g_variant_n_children (parameters); 789s # paramv = g_new0 (GValue, num_params + 1); 789s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[0], proxy); 789s # g_variant_iter_init (&iter, parameters); 789s # n = 1; 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_signal_emitv (paramv, signal_id, 0, NULL); 789s # for (n = 0; n < num_params + 1; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 789s # GVariant *changed_properties, 789s # const gchar *const *invalidated_properties) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 789s # guint n; 789s # const gchar *key; 789s # GVariantIter *iter; 789s # _ExtendedGDBusPropertyInfo *info; 789s # g_variant_get (changed_properties, "a{sv}", &iter); 789s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 789s # g_datalist_remove_data (&proxy->priv->qdata, key); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # g_variant_iter_free (iter); 789s # for (n = 0; invalidated_properties[n] != NULL; n++) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 789s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 789s # #else 789s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 789s # #endif 789s # 789s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusProxyClass *proxy_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 789s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 789s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 789s # 789s # proxy_class = G_DBUS_PROXY_CLASS (klass); 789s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 789s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_sync: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_sync ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new_for_bus ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_sync: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_sync ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeleton: 789s # * 789s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeletonClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceSkeletonPrivate 789s # { 789s # GValue *properties; 789s # GList *changed_properties; 789s # GSource *changed_properties_idle_source; 789s # GMainContext *context; 789s # GMutex lock; 789s # }; 789s # 789s # static void 789s # _org_project_signaling_iface_skeleton_handle_method_call ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name, 789s # const gchar *method_name, 789s # GVariant *parameters, 789s # GDBusMethodInvocation *invocation, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # _ExtendedGDBusMethodInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # guint num_extra; 789s # gsize n; 789s # guint signal_id; 789s # GValue return_value = G_VALUE_INIT; 789s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 789s # g_assert (info != NULL); 789s # num_params = g_variant_n_children (parameters); 789s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 789s # n = 0; 789s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[n++], skeleton); 789s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 789s # g_value_set_object (¶mv[n++], invocation); 789s # if (info->pass_fdlist) 789s # { 789s # #ifdef G_OS_UNIX 789s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 789s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 789s # #else 789s # g_assert_not_reached (); 789s # #endif 789s # } 789s # g_variant_iter_init (&iter, parameters); 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_init (&return_value, G_TYPE_BOOLEAN); 789s # g_signal_emitv (paramv, signal_id, 0, &return_value); 789s # if (!g_value_get_boolean (&return_value)) 789s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 789s # g_value_unset (&return_value); 789s # for (n = 0; n < num_params + num_extra; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static GVariant * 789s # _org_project_signaling_iface_skeleton_handle_get_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # GVariant *ret; 789s # ret = NULL; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # g_value_init (&value, pspec->value_type); 789s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 789s # g_value_unset (&value); 789s # } 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _org_project_signaling_iface_skeleton_handle_set_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GVariant *variant, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # gboolean ret; 789s # ret = FALSE; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # if (info->use_gvariant) 789s # g_value_set_variant (&value, variant); 789s # else 789s # g_dbus_gvariant_to_gvalue (variant, &value); 789s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # g_value_unset (&value); 789s # ret = TRUE; 789s # } 789s # return ret; 789s # } 789s # 789s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 789s # { 789s # _org_project_signaling_iface_skeleton_handle_method_call, 789s # _org_project_signaling_iface_skeleton_handle_get_property, 789s # _org_project_signaling_iface_skeleton_handle_set_property, 789s # {NULL} 789s # }; 789s # 789s # static GDBusInterfaceInfo * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return org_project_signaling_iface_interface_info (); 789s # } 789s # 789s # static GDBusInterfaceVTable * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 789s # } 789s # 789s # static GVariant * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 789s # 789s # GVariantBuilder builder; 789s # guint n; 789s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 789s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 789s # goto out; 789s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 789s # { 789s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 789s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 789s # { 789s # GVariant *value; 789s # 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); 789s # if (value != NULL) 789s # { 789s # g_variant_take_ref (value); 789s # g_variant_builder_add (&builder, "{sv}", info->name, value); 789s # g_variant_unref (value); 789s # } 789s # } 789s # } 789s # out: 789s # return g_variant_builder_end (&builder); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 789s # OrgProjectSignalingIface *object, 789s # guchar arg_arg_y) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 789s # arg_arg_y)); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_skeleton_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 789s # if (skeleton->priv->changed_properties_idle_source != NULL) 789s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 789s # g_main_context_unref (skeleton->priv->context); 789s # g_mutex_clear (&skeleton->priv->lock); 789s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 789s # #else 789s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 789s # #endif 789s # 789s # g_mutex_init (&skeleton->priv->lock); 789s # skeleton->priv->context = g_main_context_ref_thread_default (); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusInterfaceSkeletonClass *skeleton_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 789s # 789s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 789s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 789s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 789s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 789s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 789s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_skeleton_new: 789s # * 789s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_skeleton_new (void) 789s # { 789s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 789s # } 789s # /tmp/tmpm6yz_g2t/tmpxaauy10c.xml: 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6yz_g2t/tmpxaauy10c.xml', '--output', '-', '--body'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifdef HAVE_CONFIG_H 789s # # include "config.h" 789s # #endif 789s # 789s # #include 789s # #ifdef G_OS_UNIX 789s # # include 789s # #endif 789s # 789s # #ifdef G_ENABLE_DEBUG 789s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 789s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 789s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 789s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 789s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 789s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 789s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 789s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 789s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 789s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 789s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 789s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 789s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 789s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 789s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 789s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 789s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 789s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 789s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 789s # #else /* !G_ENABLE_DEBUG */ 789s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 789s # * Do not access GValues directly in your code. Instead, use the 789s # * g_value_get_*() functions 789s # */ 789s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 789s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 789s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 789s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 789s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 789s # #endif /* !G_ENABLE_DEBUG */ 789s # 789s # typedef struct 789s # { 789s # GDBusArgInfo parent_struct; 789s # gboolean use_gvariant; 789s # } _ExtendedGDBusArgInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusMethodInfo parent_struct; 789s # const gchar *signal_name; 789s # gboolean pass_fdlist; 789s # } _ExtendedGDBusMethodInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusSignalInfo parent_struct; 789s # const gchar *signal_name; 789s # } _ExtendedGDBusSignalInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusPropertyInfo parent_struct; 789s # const gchar *hyphen_name; 789s # guint use_gvariant : 1; 789s # guint emits_changed_signal : 1; 789s # } _ExtendedGDBusPropertyInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusInterfaceInfo parent_struct; 789s # const gchar *hyphen_name; 789s # } _ExtendedGDBusInterfaceInfo; 789s # 789s # typedef struct 789s # { 789s # const _ExtendedGDBusPropertyInfo *info; 789s # guint prop_id; 789s # GValue orig_value; /* the value before the change */ 789s # } ChangedProperty; 789s # 789s # static void 789s # _changed_property_free (ChangedProperty *data) 789s # { 789s # g_value_unset (&data->orig_value); 789s # g_free (data); 789s # } 789s # 789s # static gboolean 789s # _g_strv_equal0 (gchar **a, gchar **b) 789s # { 789s # gboolean ret = FALSE; 789s # guint n; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # if (g_strv_length (a) != g_strv_length (b)) 789s # goto out; 789s # for (n = 0; a[n] != NULL; n++) 789s # if (g_strcmp0 (a[n], b[n]) != 0) 789s # goto out; 789s # ret = TRUE; 789s # out: 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _g_variant_equal0 (GVariant *a, GVariant *b) 789s # { 789s # gboolean ret = FALSE; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # ret = g_variant_equal (a, b); 789s # out: 789s # return ret; 789s # } 789s # 789s # G_GNUC_UNUSED static gboolean 789s # _g_value_equal (const GValue *a, const GValue *b) 789s # { 789s # gboolean ret = FALSE; 789s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 789s # switch (G_VALUE_TYPE (a)) 789s # { 789s # case G_TYPE_BOOLEAN: 789s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 789s # break; 789s # case G_TYPE_UCHAR: 789s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 789s # break; 789s # case G_TYPE_INT: 789s # ret = (g_value_get_int (a) == g_value_get_int (b)); 789s # break; 789s # case G_TYPE_UINT: 789s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 789s # break; 789s # case G_TYPE_INT64: 789s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 789s # break; 789s # case G_TYPE_UINT64: 789s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 789s # break; 789s # case G_TYPE_DOUBLE: 789s # { 789s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 789s # gdouble da = g_value_get_double (a); 789s # gdouble db = g_value_get_double (b); 789s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 789s # } 789s # break; 789s # case G_TYPE_STRING: 789s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 789s # break; 789s # case G_TYPE_VARIANT: 789s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 789s # break; 789s # default: 789s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 789s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 789s # else 789s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 789s # break; 789s # } 789s # return ret; 789s # } 789s # 789s # /* ------------------------------------------------------------------------ 789s # * Code for interface org.project.SignalingIface 789s # * ------------------------------------------------------------------------ 789s # */ 789s # 789s # /** 789s # * SECTION:OrgProjectSignalingIface 789s # * @title: OrgProjectSignalingIface 789s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 789s # * 789s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 789s # */ 789s # 789s # enum 789s # { 789s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 789s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 789s # }; 789s # 789s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 789s # 789s # /* ---- Introspection data for org.project.SignalingIface ---- */ 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SimpleSignal", 789s # NULL, 789s # NULL 789s # }, 789s # "simple-signal" 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 789s # { 789s # { 789s # -1, 789s # (gchar *) "arg_n", 789s # (gchar *) "n", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SingleArgSignalN", 789s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 789s # NULL 789s # }, 789s # "single-arg-signal-n" 789s # }; 789s # 789s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 789s # { 789s # { 789s # -1, 789s # (gchar *) "org.project.SignalingIface", 789s # NULL, 789s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 789s # NULL, 789s # NULL 789s # }, 789s # "org-project-signaling-iface", 789s # }; 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_interface_info: 789s # * 789s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 789s # * 789s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 789s # */ 789s # GDBusInterfaceInfo * 789s # org_project_signaling_iface_interface_info (void) 789s # { 789s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_override_properties: 789s # * @klass: The class structure for a #GObject derived class. 789s # * @property_id_begin: The property id to assign to the first overridden property. 789s # * 789s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 789s # * The properties are overridden in the order they are defined. 789s # * 789s # * Returns: The last property id. 789s # */ 789s # guint 789s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 789s # { 789s # return property_id_begin - 1; 789s # } 789s # 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_simple_signal ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VOID (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__INT (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # 789s # /** 789s # * OrgProjectSignalingIface: 789s # * 789s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceIface: 789s # * @parent_iface: The parent interface. 789s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 789s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 789s # * 789s # * Virtual table for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 789s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 789s # 789s # static void 789s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # /* GObject signals for received D-Bus signals: */ 789s # /** 789s # * OrgProjectSignalingIface::simple-signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 789s # g_signal_new ("simple-signal", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_simple_signal, 789s # G_TYPE_NONE, 789s # 0); 789s # 789s # /** 789s # * OrgProjectSignalingIface::single-arg-signal-n: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_n: Argument. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 789s # g_signal_new ("single-arg-signal-n", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 789s # G_TYPE_NONE, 789s # 1, G_TYPE_INT); 789s # 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_simple_signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * Emits the "SimpleSignal" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_single_arg_signal_n: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_n: Argument to pass with the signal. 789s # * 789s # * Emits the "SingleArgSignalN" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_single_arg_signal_n ( 789s # OrgProjectSignalingIface *object, 789s # gint16 arg_arg_n) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxy: 789s # * 789s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxyClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceProxy. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceProxyPrivate 789s # { 789s # GData *qdata; 789s # }; 789s # 789s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_proxy_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 789s # g_datalist_clear (&proxy->priv->qdata); 789s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # const GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 789s # const gchar *sender_name G_GNUC_UNUSED, 789s # const gchar *signal_name, 789s # GVariant *parameters) 789s # { 789s # _ExtendedGDBusSignalInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # gsize n; 789s # guint signal_id; 789s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 789s # if (info == NULL) 789s # return; 789s # num_params = g_variant_n_children (parameters); 789s # paramv = g_new0 (GValue, num_params + 1); 789s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[0], proxy); 789s # g_variant_iter_init (&iter, parameters); 789s # n = 1; 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_signal_emitv (paramv, signal_id, 0, NULL); 789s # for (n = 0; n < num_params + 1; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 789s # GVariant *changed_properties, 789s # const gchar *const *invalidated_properties) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 789s # guint n; 789s # const gchar *key; 789s # GVariantIter *iter; 789s # _ExtendedGDBusPropertyInfo *info; 789s # g_variant_get (changed_properties, "a{sv}", &iter); 789s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 789s # g_datalist_remove_data (&proxy->priv->qdata, key); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # g_variant_iter_free (iter); 789s # for (n = 0; invalidated_properties[n] != NULL; n++) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 789s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 789s # #else 789s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 789s # #endif 789s # 789s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusProxyClass *proxy_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 789s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 789s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 789s # 789s # proxy_class = G_DBUS_PROXY_CLASS (klass); 789s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 789s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_sync: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_sync ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new_for_bus ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_sync: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_sync ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeleton: 789s # * 789s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeletonClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceSkeletonPrivate 789s # { 789s # GValue *properties; 789s # GList *changed_properties; 789s # GSource *changed_properties_idle_source; 789s # GMainContext *context; 789s # GMutex lock; 789s # }; 789s # 789s # static void 789s # _org_project_signaling_iface_skeleton_handle_method_call ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name, 789s # const gchar *method_name, 789s # GVariant *parameters, 789s # GDBusMethodInvocation *invocation, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # _ExtendedGDBusMethodInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # guint num_extra; 789s # gsize n; 789s # guint signal_id; 789s # GValue return_value = G_VALUE_INIT; 789s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 789s # g_assert (info != NULL); 789s # num_params = g_variant_n_children (parameters); 789s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 789s # n = 0; 789s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[n++], skeleton); 789s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 789s # g_value_set_object (¶mv[n++], invocation); 789s # if (info->pass_fdlist) 789s # { 789s # #ifdef G_OS_UNIX 789s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 789s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 789s # #else 789s # g_assert_not_reached (); 789s # #endif 789s # } 789s # g_variant_iter_init (&iter, parameters); 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_init (&return_value, G_TYPE_BOOLEAN); 789s # g_signal_emitv (paramv, signal_id, 0, &return_value); 789s # if (!g_value_get_boolean (&return_value)) 789s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 789s # g_value_unset (&return_value); 789s # for (n = 0; n < num_params + num_extra; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static GVariant * 789s # _org_project_signaling_iface_skeleton_handle_get_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # GVariant *ret; 789s # ret = NULL; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # g_value_init (&value, pspec->value_type); 789s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 789s # g_value_unset (&value); 789s # } 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _org_project_signaling_iface_skeleton_handle_set_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GVariant *variant, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # gboolean ret; 789s # ret = FALSE; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # if (info->use_gvariant) 789s # g_value_set_variant (&value, variant); 789s # else 789s # g_dbus_gvariant_to_gvalue (variant, &value); 789s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # g_value_unset (&value); 789s # ret = TRUE; 789s # } 789s # return ret; 789s # } 789s # 789s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 789s # { 789s # _org_project_signaling_iface_skeleton_handle_method_call, 789s # _org_project_signaling_iface_skeleton_handle_get_property, 789s # _org_project_signaling_iface_skeleton_handle_set_property, 789s # {NULL} 789s # }; 789s # 789s # static GDBusInterfaceInfo * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return org_project_signaling_iface_interface_info (); 789s # } 789s # 789s # static GDBusInterfaceVTable * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 789s # } 789s # 789s # static GVariant * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 789s # 789s # GVariantBuilder builder; 789s # guint n; 789s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 789s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 789s # goto out; 789s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 789s # { 789s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 789s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 789s # { 789s # GVariant *value; 789s # 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); 789s # if (value != NULL) 789s # { 789s # g_variant_take_ref (value); 789s # g_variant_builder_add (&builder, "{sv}", info->name, value); 789s # g_variant_unref (value); 789s # } 789s # } 789s # } 789s # out: 789s # return g_variant_builder_end (&builder); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 789s # OrgProjectSignalingIface *object, 789s # gint16 arg_arg_n) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 789s # arg_arg_n)); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_skeleton_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 789s # if (skeleton->priv->changed_properties_idle_source != NULL) 789s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 789s # g_main_context_unref (skeleton->priv->context); 789s # g_mutex_clear (&skeleton->priv->lock); 789s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 789s # #else 789s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 789s # #endif 789s # 789s # g_mutex_init (&skeleton->priv->lock); 789s # skeleton->priv->context = g_main_context_ref_thread_default (); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusInterfaceSkeletonClass *skeleton_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 789s # 789s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 789s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 789s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 789s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 789s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 789s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_skeleton_new: 789s # * 789s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_skeleton_new (void) 789s # { 789s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 789s # } 789s # /tmp/tmpm6yz_g2t/tmpqvhxg6st.xml: 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6yz_g2t/tmpqvhxg6st.xml', '--output', '-', '--body'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifdef HAVE_CONFIG_H 789s # # include "config.h" 789s # #endif 789s # 789s # #include 789s # #ifdef G_OS_UNIX 789s # # include 789s # #endif 789s # 789s # #ifdef G_ENABLE_DEBUG 789s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 789s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 789s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 789s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 789s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 789s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 789s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 789s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 789s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 789s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 789s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 789s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 789s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 789s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 789s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 789s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 789s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 789s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 789s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 789s # #else /* !G_ENABLE_DEBUG */ 789s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 789s # * Do not access GValues directly in your code. Instead, use the 789s # * g_value_get_*() functions 789s # */ 789s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 789s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 789s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 789s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 789s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 789s # #endif /* !G_ENABLE_DEBUG */ 789s # 789s # typedef struct 789s # { 789s # GDBusArgInfo parent_struct; 789s # gboolean use_gvariant; 789s # } _ExtendedGDBusArgInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusMethodInfo parent_struct; 789s # const gchar *signal_name; 789s # gboolean pass_fdlist; 789s # } _ExtendedGDBusMethodInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusSignalInfo parent_struct; 789s # const gchar *signal_name; 789s # } _ExtendedGDBusSignalInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusPropertyInfo parent_struct; 789s # const gchar *hyphen_name; 789s # guint use_gvariant : 1; 789s # guint emits_changed_signal : 1; 789s # } _ExtendedGDBusPropertyInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusInterfaceInfo parent_struct; 789s # const gchar *hyphen_name; 789s # } _ExtendedGDBusInterfaceInfo; 789s # 789s # typedef struct 789s # { 789s # const _ExtendedGDBusPropertyInfo *info; 789s # guint prop_id; 789s # GValue orig_value; /* the value before the change */ 789s # } ChangedProperty; 789s # 789s # static void 789s # _changed_property_free (ChangedProperty *data) 789s # { 789s # g_value_unset (&data->orig_value); 789s # g_free (data); 789s # } 789s # 789s # static gboolean 789s # _g_strv_equal0 (gchar **a, gchar **b) 789s # { 789s # gboolean ret = FALSE; 789s # guint n; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # if (g_strv_length (a) != g_strv_length (b)) 789s # goto out; 789s # for (n = 0; a[n] != NULL; n++) 789s # if (g_strcmp0 (a[n], b[n]) != 0) 789s # goto out; 789s # ret = TRUE; 789s # out: 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _g_variant_equal0 (GVariant *a, GVariant *b) 789s # { 789s # gboolean ret = FALSE; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # ret = g_variant_equal (a, b); 789s # out: 789s # return ret; 789s # } 789s # 789s # G_GNUC_UNUSED static gboolean 789s # _g_value_equal (const GValue *a, const GValue *b) 789s # { 789s # gboolean ret = FALSE; 789s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 789s # switch (G_VALUE_TYPE (a)) 789s # { 789s # case G_TYPE_BOOLEAN: 789s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 789s # break; 789s # case G_TYPE_UCHAR: 789s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 789s # break; 789s # case G_TYPE_INT: 789s # ret = (g_value_get_int (a) == g_value_get_int (b)); 789s # break; 789s # case G_TYPE_UINT: 789s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 789s # break; 789s # case G_TYPE_INT64: 789s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 789s # break; 789s # case G_TYPE_UINT64: 789s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 789s # break; 789s # case G_TYPE_DOUBLE: 789s # { 789s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 789s # gdouble da = g_value_get_double (a); 789s # gdouble db = g_value_get_double (b); 789s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 789s # } 789s # break; 789s # case G_TYPE_STRING: 789s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 789s # break; 789s # case G_TYPE_VARIANT: 789s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 789s # break; 789s # default: 789s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 789s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 789s # else 789s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 789s # break; 789s # } 789s # return ret; 789s # } 789s # 789s # /* ------------------------------------------------------------------------ 789s # * Code for interface org.project.SignalingIface 789s # * ------------------------------------------------------------------------ 789s # */ 789s # 789s # /** 789s # * SECTION:OrgProjectSignalingIface 789s # * @title: OrgProjectSignalingIface 789s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 789s # * 789s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 789s # */ 789s # 789s # enum 789s # { 789s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 789s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 789s # }; 789s # 789s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 789s # 789s # /* ---- Introspection data for org.project.SignalingIface ---- */ 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SimpleSignal", 789s # NULL, 789s # NULL 789s # }, 789s # "simple-signal" 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 789s # { 789s # { 789s # -1, 789s # (gchar *) "arg_q", 789s # (gchar *) "q", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SingleArgSignalQ", 789s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 789s # NULL 789s # }, 789s # "single-arg-signal-q" 789s # }; 789s # 789s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 789s # { 789s # { 789s # -1, 789s # (gchar *) "org.project.SignalingIface", 789s # NULL, 789s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 789s # NULL, 789s # NULL 789s # }, 789s # "org-project-signaling-iface", 789s # }; 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_interface_info: 789s # * 789s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 789s # * 789s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 789s # */ 789s # GDBusInterfaceInfo * 789s # org_project_signaling_iface_interface_info (void) 789s # { 789s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_override_properties: 789s # * @klass: The class structure for a #GObject derived class. 789s # * @property_id_begin: The property id to assign to the first overridden property. 789s # * 789s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 789s # * The properties are overridden in the order they are defined. 789s # * 789s # * Returns: The last property id. 789s # */ 789s # guint 789s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 789s # { 789s # return property_id_begin - 1; 789s # } 789s # 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_simple_signal ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VOID (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__UINT (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # 789s # /** 789s # * OrgProjectSignalingIface: 789s # * 789s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceIface: 789s # * @parent_iface: The parent interface. 789s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 789s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 789s # * 789s # * Virtual table for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 789s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 789s # 789s # static void 789s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # /* GObject signals for received D-Bus signals: */ 789s # /** 789s # * OrgProjectSignalingIface::simple-signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 789s # g_signal_new ("simple-signal", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_simple_signal, 789s # G_TYPE_NONE, 789s # 0); 789s # 789s # /** 789s # * OrgProjectSignalingIface::single-arg-signal-q: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_q: Argument. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 789s # g_signal_new ("single-arg-signal-q", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 789s # G_TYPE_NONE, 789s # 1, G_TYPE_UINT); 789s # 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_simple_signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * Emits the "SimpleSignal" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_single_arg_signal_q: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_q: Argument to pass with the signal. 789s # * 789s # * Emits the "SingleArgSignalQ" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_single_arg_signal_q ( 789s # OrgProjectSignalingIface *object, 789s # guint16 arg_arg_q) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxy: 789s # * 789s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxyClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceProxy. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceProxyPrivate 789s # { 789s # GData *qdata; 789s # }; 789s # 789s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_proxy_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 789s # g_datalist_clear (&proxy->priv->qdata); 789s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # const GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 789s # const gchar *sender_name G_GNUC_UNUSED, 789s # const gchar *signal_name, 789s # GVariant *parameters) 789s # { 789s # _ExtendedGDBusSignalInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # gsize n; 789s # guint signal_id; 789s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 789s # if (info == NULL) 789s # return; 789s # num_params = g_variant_n_children (parameters); 789s # paramv = g_new0 (GValue, num_params + 1); 789s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[0], proxy); 789s # g_variant_iter_init (&iter, parameters); 789s # n = 1; 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_signal_emitv (paramv, signal_id, 0, NULL); 789s # for (n = 0; n < num_params + 1; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 789s # GVariant *changed_properties, 789s # const gchar *const *invalidated_properties) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 789s # guint n; 789s # const gchar *key; 789s # GVariantIter *iter; 789s # _ExtendedGDBusPropertyInfo *info; 789s # g_variant_get (changed_properties, "a{sv}", &iter); 789s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 789s # g_datalist_remove_data (&proxy->priv->qdata, key); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # g_variant_iter_free (iter); 789s # for (n = 0; invalidated_properties[n] != NULL; n++) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 789s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 789s # #else 789s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 789s # #endif 789s # 789s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusProxyClass *proxy_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 789s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 789s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 789s # 789s # proxy_class = G_DBUS_PROXY_CLASS (klass); 789s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 789s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_sync: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_sync ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new_for_bus ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_sync: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_sync ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeleton: 789s # * 789s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeletonClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceSkeletonPrivate 789s # { 789s # GValue *properties; 789s # GList *changed_properties; 789s # GSource *changed_properties_idle_source; 789s # GMainContext *context; 789s # GMutex lock; 789s # }; 789s # 789s # static void 789s # _org_project_signaling_iface_skeleton_handle_method_call ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name, 789s # const gchar *method_name, 789s # GVariant *parameters, 789s # GDBusMethodInvocation *invocation, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # _ExtendedGDBusMethodInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # guint num_extra; 789s # gsize n; 789s # guint signal_id; 789s # GValue return_value = G_VALUE_INIT; 789s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 789s # g_assert (info != NULL); 789s # num_params = g_variant_n_children (parameters); 789s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 789s # n = 0; 789s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[n++], skeleton); 789s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 789s # g_value_set_object (¶mv[n++], invocation); 789s # if (info->pass_fdlist) 789s # { 789s # #ifdef G_OS_UNIX 789s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 789s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 789s # #else 789s # g_assert_not_reached (); 789s # #endif 789s # } 789s # g_variant_iter_init (&iter, parameters); 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_init (&return_value, G_TYPE_BOOLEAN); 789s # g_signal_emitv (paramv, signal_id, 0, &return_value); 789s # if (!g_value_get_boolean (&return_value)) 789s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 789s # g_value_unset (&return_value); 789s # for (n = 0; n < num_params + num_extra; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static GVariant * 789s # _org_project_signaling_iface_skeleton_handle_get_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # GVariant *ret; 789s # ret = NULL; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # g_value_init (&value, pspec->value_type); 789s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 789s # g_value_unset (&value); 789s # } 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _org_project_signaling_iface_skeleton_handle_set_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GVariant *variant, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # gboolean ret; 789s # ret = FALSE; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # if (info->use_gvariant) 789s # g_value_set_variant (&value, variant); 789s # else 789s # g_dbus_gvariant_to_gvalue (variant, &value); 789s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # g_value_unset (&value); 789s # ret = TRUE; 789s # } 789s # return ret; 789s # } 789s # 789s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 789s # { 789s # _org_project_signaling_iface_skeleton_handle_method_call, 789s # _org_project_signaling_iface_skeleton_handle_get_property, 789s # _org_project_signaling_iface_skeleton_handle_set_property, 789s # {NULL} 789s # }; 789s # 789s # static GDBusInterfaceInfo * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return org_project_signaling_iface_interface_info (); 789s # } 789s # 789s # static GDBusInterfaceVTable * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 789s # } 789s # 789s # static GVariant * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 789s # 789s # GVariantBuilder builder; 789s # guint n; 789s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 789s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 789s # goto out; 789s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 789s # { 789s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 789s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 789s # { 789s # GVariant *value; 789s # 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); 789s # if (value != NULL) 789s # { 789s # g_variant_take_ref (value); 789s # g_variant_builder_add (&builder, "{sv}", info->name, value); 789s # g_variant_unref (value); 789s # } 789s # } 789s # } 789s # out: 789s # return g_variant_builder_end (&builder); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 789s # OrgProjectSignalingIface *object, 789s # guint16 arg_arg_q) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 789s # arg_arg_q)); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_skeleton_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 789s # if (skeleton->priv->changed_properties_idle_source != NULL) 789s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 789s # g_main_context_unref (skeleton->priv->context); 789s # g_mutex_clear (&skeleton->priv->lock); 789s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 789s # #else 789s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 789s # #endif 789s # 789s # g_mutex_init (&skeleton->priv->lock); 789s # skeleton->priv->context = g_main_context_ref_thread_default (); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusInterfaceSkeletonClass *skeleton_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 789s # 789s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 789s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 789s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 789s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 789s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 789s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_skeleton_new: 789s # * 789s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_skeleton_new (void) 789s # { 789s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 789s # } 789s # /tmp/tmpm6yz_g2t/tmpsho_i4h2.xml: 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6yz_g2t/tmpsho_i4h2.xml', '--output', '-', '--body'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifdef HAVE_CONFIG_H 789s # # include "config.h" 789s # #endif 789s # 789s # #include 789s # #ifdef G_OS_UNIX 789s # # include 789s # #endif 789s # 789s # #ifdef G_ENABLE_DEBUG 789s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 789s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 789s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 789s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 789s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 789s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 789s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 789s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 789s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 789s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 789s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 789s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 789s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 789s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 789s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 789s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 789s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 789s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 789s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 789s # #else /* !G_ENABLE_DEBUG */ 789s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 789s # * Do not access GValues directly in your code. Instead, use the 789s # * g_value_get_*() functions 789s # */ 789s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 789s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 789s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 789s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 789s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 789s # #endif /* !G_ENABLE_DEBUG */ 789s # 789s # typedef struct 789s # { 789s # GDBusArgInfo parent_struct; 789s # gboolean use_gvariant; 789s # } _ExtendedGDBusArgInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusMethodInfo parent_struct; 789s # const gchar *signal_name; 789s # gboolean pass_fdlist; 789s # } _ExtendedGDBusMethodInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusSignalInfo parent_struct; 789s # const gchar *signal_name; 789s # } _ExtendedGDBusSignalInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusPropertyInfo parent_struct; 789s # const gchar *hyphen_name; 789s # guint use_gvariant : 1; 789s # guint emits_changed_signal : 1; 789s # } _ExtendedGDBusPropertyInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusInterfaceInfo parent_struct; 789s # const gchar *hyphen_name; 789s # } _ExtendedGDBusInterfaceInfo; 789s # 789s # typedef struct 789s # { 789s # const _ExtendedGDBusPropertyInfo *info; 789s # guint prop_id; 789s # GValue orig_value; /* the value before the change */ 789s # } ChangedProperty; 789s # 789s # static void 789s # _changed_property_free (ChangedProperty *data) 789s # { 789s # g_value_unset (&data->orig_value); 789s # g_free (data); 789s # } 789s # 789s # static gboolean 789s # _g_strv_equal0 (gchar **a, gchar **b) 789s # { 789s # gboolean ret = FALSE; 789s # guint n; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # if (g_strv_length (a) != g_strv_length (b)) 789s # goto out; 789s # for (n = 0; a[n] != NULL; n++) 789s # if (g_strcmp0 (a[n], b[n]) != 0) 789s # goto out; 789s # ret = TRUE; 789s # out: 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _g_variant_equal0 (GVariant *a, GVariant *b) 789s # { 789s # gboolean ret = FALSE; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # ret = g_variant_equal (a, b); 789s # out: 789s # return ret; 789s # } 789s # 789s # G_GNUC_UNUSED static gboolean 789s # _g_value_equal (const GValue *a, const GValue *b) 789s # { 789s # gboolean ret = FALSE; 789s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 789s # switch (G_VALUE_TYPE (a)) 789s # { 789s # case G_TYPE_BOOLEAN: 789s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 789s # break; 789s # case G_TYPE_UCHAR: 789s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 789s # break; 789s # case G_TYPE_INT: 789s # ret = (g_value_get_int (a) == g_value_get_int (b)); 789s # break; 789s # case G_TYPE_UINT: 789s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 789s # break; 789s # case G_TYPE_INT64: 789s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 789s # break; 789s # case G_TYPE_UINT64: 789s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 789s # break; 789s # case G_TYPE_DOUBLE: 789s # { 789s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 789s # gdouble da = g_value_get_double (a); 789s # gdouble db = g_value_get_double (b); 789s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 789s # } 789s # break; 789s # case G_TYPE_STRING: 789s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 789s # break; 789s # case G_TYPE_VARIANT: 789s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 789s # break; 789s # default: 789s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 789s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 789s # else 789s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 789s # break; 789s # } 789s # return ret; 789s # } 789s # 789s # /* ------------------------------------------------------------------------ 789s # * Code for interface org.project.SignalingIface 789s # * ------------------------------------------------------------------------ 789s # */ 789s # 789s # /** 789s # * SECTION:OrgProjectSignalingIface 789s # * @title: OrgProjectSignalingIface 789s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 789s # * 789s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 789s # */ 789s # 789s # enum 789s # { 789s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 789s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 789s # }; 789s # 789s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 789s # 789s # /* ---- Introspection data for org.project.SignalingIface ---- */ 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SimpleSignal", 789s # NULL, 789s # NULL 789s # }, 789s # "simple-signal" 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 789s # { 789s # { 789s # -1, 789s # (gchar *) "arg_i", 789s # (gchar *) "i", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SingleArgSignalI", 789s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 789s # NULL 789s # }, 789s # "single-arg-signal-i" 789s # }; 789s # 789s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 789s # { 789s # { 789s # -1, 789s # (gchar *) "org.project.SignalingIface", 789s # NULL, 789s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 789s # NULL, 789s # NULL 789s # }, 789s # "org-project-signaling-iface", 789s # }; 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_interface_info: 789s # * 789s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 789s # * 789s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 789s # */ 789s # GDBusInterfaceInfo * 789s # org_project_signaling_iface_interface_info (void) 789s # { 789s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_override_properties: 789s # * @klass: The class structure for a #GObject derived class. 789s # * @property_id_begin: The property id to assign to the first overridden property. 789s # * 789s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 789s # * The properties are overridden in the order they are defined. 789s # * 789s # * Returns: The last property id. 789s # */ 789s # guint 789s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 789s # { 789s # return property_id_begin - 1; 789s # } 789s # 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_simple_signal ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VOID (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__INT (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # 789s # /** 789s # * OrgProjectSignalingIface: 789s # * 789s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceIface: 789s # * @parent_iface: The parent interface. 789s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 789s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 789s # * 789s # * Virtual table for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 789s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 789s # 789s # static void 789s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # /* GObject signals for received D-Bus signals: */ 789s # /** 789s # * OrgProjectSignalingIface::simple-signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 789s # g_signal_new ("simple-signal", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_simple_signal, 789s # G_TYPE_NONE, 789s # 0); 789s # 789s # /** 789s # * OrgProjectSignalingIface::single-arg-signal-i: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_i: Argument. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 789s # g_signal_new ("single-arg-signal-i", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 789s # G_TYPE_NONE, 789s # 1, G_TYPE_INT); 789s # 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_simple_signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * Emits the "SimpleSignal" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_single_arg_signal_i: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_i: Argument to pass with the signal. 789s # * 789s # * Emits the "SingleArgSignalI" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_single_arg_signal_i ( 789s # OrgProjectSignalingIface *object, 789s # gint arg_arg_i) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxy: 789s # * 789s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxyClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceProxy. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceProxyPrivate 789s # { 789s # GData *qdata; 789s # }; 789s # 789s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_proxy_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 789s # g_datalist_clear (&proxy->priv->qdata); 789s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # const GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 789s # const gchar *sender_name G_GNUC_UNUSED, 789s # const gchar *signal_name, 789s # GVariant *parameters) 789s # { 789s # _ExtendedGDBusSignalInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # gsize n; 789s # guint signal_id; 789s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 789s # if (info == NULL) 789s # return; 789s # num_params = g_variant_n_children (parameters); 789s # paramv = g_new0 (GValue, num_params + 1); 789s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[0], proxy); 789s # g_variant_iter_init (&iter, parameters); 789s # n = 1; 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_signal_emitv (paramv, signal_id, 0, NULL); 789s # for (n = 0; n < num_params + 1; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 789s # GVariant *changed_properties, 789s # const gchar *const *invalidated_properties) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 789s # guint n; 789s # const gchar *key; 789s # GVariantIter *iter; 789s # _ExtendedGDBusPropertyInfo *info; 789s # g_variant_get (changed_properties, "a{sv}", &iter); 789s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 789s # g_datalist_remove_data (&proxy->priv->qdata, key); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # g_variant_iter_free (iter); 789s # for (n = 0; invalidated_properties[n] != NULL; n++) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 789s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 789s # #else 789s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 789s # #endif 789s # 789s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusProxyClass *proxy_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 789s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 789s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 789s # 789s # proxy_class = G_DBUS_PROXY_CLASS (klass); 789s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 789s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_sync: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_sync ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new_for_bus ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_sync: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_sync ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeleton: 789s # * 789s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeletonClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceSkeletonPrivate 789s # { 789s # GValue *properties; 789s # GList *changed_properties; 789s # GSource *changed_properties_idle_source; 789s # GMainContext *context; 789s # GMutex lock; 789s # }; 789s # 789s # static void 789s # _org_project_signaling_iface_skeleton_handle_method_call ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name, 789s # const gchar *method_name, 789s # GVariant *parameters, 789s # GDBusMethodInvocation *invocation, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # _ExtendedGDBusMethodInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # guint num_extra; 789s # gsize n; 789s # guint signal_id; 789s # GValue return_value = G_VALUE_INIT; 789s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 789s # g_assert (info != NULL); 789s # num_params = g_variant_n_children (parameters); 789s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 789s # n = 0; 789s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[n++], skeleton); 789s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 789s # g_value_set_object (¶mv[n++], invocation); 789s # if (info->pass_fdlist) 789s # { 789s # #ifdef G_OS_UNIX 789s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 789s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 789s # #else 789s # g_assert_not_reached (); 789s # #endif 789s # } 789s # g_variant_iter_init (&iter, parameters); 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_init (&return_value, G_TYPE_BOOLEAN); 789s # g_signal_emitv (paramv, signal_id, 0, &return_value); 789s # if (!g_value_get_boolean (&return_value)) 789s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 789s # g_value_unset (&return_value); 789s # for (n = 0; n < num_params + num_extra; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static GVariant * 789s # _org_project_signaling_iface_skeleton_handle_get_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # GVariant *ret; 789s # ret = NULL; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # g_value_init (&value, pspec->value_type); 789s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 789s # g_value_unset (&value); 789s # } 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _org_project_signaling_iface_skeleton_handle_set_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GVariant *variant, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # gboolean ret; 789s # ret = FALSE; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # if (info->use_gvariant) 789s # g_value_set_variant (&value, variant); 789s # else 789s # g_dbus_gvariant_to_gvalue (variant, &value); 789s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # g_value_unset (&value); 789s # ret = TRUE; 789s # } 789s # return ret; 789s # } 789s # 789s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 789s # { 789s # _org_project_signaling_iface_skeleton_handle_method_call, 789s # _org_project_signaling_iface_skeleton_handle_get_property, 789s # _org_project_signaling_iface_skeleton_handle_set_property, 789s # {NULL} 789s # }; 789s # 789s # static GDBusInterfaceInfo * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return org_project_signaling_iface_interface_info (); 789s # } 789s # 789s # static GDBusInterfaceVTable * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 789s # } 789s # 789s # static GVariant * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 789s # 789s # GVariantBuilder builder; 789s # guint n; 789s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 789s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 789s # goto out; 789s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 789s # { 789s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 789s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 789s # { 789s # GVariant *value; 789s # 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); 789s # if (value != NULL) 789s # { 789s # g_variant_take_ref (value); 789s # g_variant_builder_add (&builder, "{sv}", info->name, value); 789s # g_variant_unref (value); 789s # } 789s # } 789s # } 789s # out: 789s # return g_variant_builder_end (&builder); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 789s # OrgProjectSignalingIface *object, 789s # gint arg_arg_i) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 789s # arg_arg_i)); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_skeleton_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 789s # if (skeleton->priv->changed_properties_idle_source != NULL) 789s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 789s # g_main_context_unref (skeleton->priv->context); 789s # g_mutex_clear (&skeleton->priv->lock); 789s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 789s # #else 789s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 789s # #endif 789s # 789s # g_mutex_init (&skeleton->priv->lock); 789s # skeleton->priv->context = g_main_context_ref_thread_default (); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusInterfaceSkeletonClass *skeleton_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 789s # 789s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 789s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 789s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 789s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 789s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 789s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_skeleton_new: 789s # * 789s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_skeleton_new (void) 789s # { 789s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 789s # } 789s # /tmp/tmpm6yz_g2t/tmp8izi8n43.xml: 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6yz_g2t/tmp8izi8n43.xml', '--output', '-', '--body'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifdef HAVE_CONFIG_H 789s # # include "config.h" 789s # #endif 789s # 789s # #include 789s # #ifdef G_OS_UNIX 789s # # include 789s # #endif 789s # 789s # #ifdef G_ENABLE_DEBUG 789s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 789s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 789s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 789s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 789s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 789s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 789s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 789s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 789s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 789s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 789s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 789s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 789s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 789s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 789s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 789s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 789s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 789s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 789s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 789s # #else /* !G_ENABLE_DEBUG */ 789s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 789s # * Do not access GValues directly in your code. Instead, use the 789s # * g_value_get_*() functions 789s # */ 789s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 789s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 789s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 789s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 789s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 789s # #endif /* !G_ENABLE_DEBUG */ 789s # 789s # typedef struct 789s # { 789s # GDBusArgInfo parent_struct; 789s # gboolean use_gvariant; 789s # } _ExtendedGDBusArgInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusMethodInfo parent_struct; 789s # const gchar *signal_name; 789s # gboolean pass_fdlist; 789s # } _ExtendedGDBusMethodInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusSignalInfo parent_struct; 789s # const gchar *signal_name; 789s # } _ExtendedGDBusSignalInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusPropertyInfo parent_struct; 789s # const gchar *hyphen_name; 789s # guint use_gvariant : 1; 789s # guint emits_changed_signal : 1; 789s # } _ExtendedGDBusPropertyInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusInterfaceInfo parent_struct; 789s # const gchar *hyphen_name; 789s # } _ExtendedGDBusInterfaceInfo; 789s # 789s # typedef struct 789s # { 789s # const _ExtendedGDBusPropertyInfo *info; 789s # guint prop_id; 789s # GValue orig_value; /* the value before the change */ 789s # } ChangedProperty; 789s # 789s # static void 789s # _changed_property_free (ChangedProperty *data) 789s # { 789s # g_value_unset (&data->orig_value); 789s # g_free (data); 789s # } 789s # 789s # static gboolean 789s # _g_strv_equal0 (gchar **a, gchar **b) 789s # { 789s # gboolean ret = FALSE; 789s # guint n; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # if (g_strv_length (a) != g_strv_length (b)) 789s # goto out; 789s # for (n = 0; a[n] != NULL; n++) 789s # if (g_strcmp0 (a[n], b[n]) != 0) 789s # goto out; 789s # ret = TRUE; 789s # out: 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _g_variant_equal0 (GVariant *a, GVariant *b) 789s # { 789s # gboolean ret = FALSE; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # ret = g_variant_equal (a, b); 789s # out: 789s # return ret; 789s # } 789s # 789s # G_GNUC_UNUSED static gboolean 789s # _g_value_equal (const GValue *a, const GValue *b) 789s # { 789s # gboolean ret = FALSE; 789s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 789s # switch (G_VALUE_TYPE (a)) 789s # { 789s # case G_TYPE_BOOLEAN: 789s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 789s # break; 789s # case G_TYPE_UCHAR: 789s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 789s # break; 789s # case G_TYPE_INT: 789s # ret = (g_value_get_int (a) == g_value_get_int (b)); 789s # break; 789s # case G_TYPE_UINT: 789s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 789s # break; 789s # case G_TYPE_INT64: 789s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 789s # break; 789s # case G_TYPE_UINT64: 789s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 789s # break; 789s # case G_TYPE_DOUBLE: 789s # { 789s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 789s # gdouble da = g_value_get_double (a); 789s # gdouble db = g_value_get_double (b); 789s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 789s # } 789s # break; 789s # case G_TYPE_STRING: 789s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 789s # break; 789s # case G_TYPE_VARIANT: 789s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 789s # break; 789s # default: 789s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 789s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 789s # else 789s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 789s # break; 789s # } 789s # return ret; 789s # } 789s # 789s # /* ------------------------------------------------------------------------ 789s # * Code for interface org.project.SignalingIface 789s # * ------------------------------------------------------------------------ 789s # */ 789s # 789s # /** 789s # * SECTION:OrgProjectSignalingIface 789s # * @title: OrgProjectSignalingIface 789s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 789s # * 789s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 789s # */ 789s # 789s # enum 789s # { 789s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 789s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 789s # }; 789s # 789s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 789s # 789s # /* ---- Introspection data for org.project.SignalingIface ---- */ 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SimpleSignal", 789s # NULL, 789s # NULL 789s # }, 789s # "simple-signal" 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 789s # { 789s # { 789s # -1, 789s # (gchar *) "arg_u", 789s # (gchar *) "u", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SingleArgSignalU", 789s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 789s # NULL 789s # }, 789s # "single-arg-signal-u" 789s # }; 789s # 789s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 789s # { 789s # { 789s # -1, 789s # (gchar *) "org.project.SignalingIface", 789s # NULL, 789s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 789s # NULL, 789s # NULL 789s # }, 789s # "org-project-signaling-iface", 789s # }; 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_interface_info: 789s # * 789s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 789s # * 789s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 789s # */ 789s # GDBusInterfaceInfo * 789s # org_project_signaling_iface_interface_info (void) 789s # { 789s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_override_properties: 789s # * @klass: The class structure for a #GObject derived class. 789s # * @property_id_begin: The property id to assign to the first overridden property. 789s # * 789s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 789s # * The properties are overridden in the order they are defined. 789s # * 789s # * Returns: The last property id. 789s # */ 789s # guint 789s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 789s # { 789s # return property_id_begin - 1; 789s # } 789s # 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_simple_signal ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VOID (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__UINT (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # 789s # /** 789s # * OrgProjectSignalingIface: 789s # * 789s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceIface: 789s # * @parent_iface: The parent interface. 789s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 789s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 789s # * 789s # * Virtual table for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 789s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 789s # 789s # static void 789s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # /* GObject signals for received D-Bus signals: */ 789s # /** 789s # * OrgProjectSignalingIface::simple-signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 789s # g_signal_new ("simple-signal", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_simple_signal, 789s # G_TYPE_NONE, 789s # 0); 789s # 789s # /** 789s # * OrgProjectSignalingIface::single-arg-signal-u: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_u: Argument. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 789s # g_signal_new ("single-arg-signal-u", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 789s # G_TYPE_NONE, 789s # 1, G_TYPE_UINT); 789s # 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_simple_signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * Emits the "SimpleSignal" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_single_arg_signal_u: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_u: Argument to pass with the signal. 789s # * 789s # * Emits the "SingleArgSignalU" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_single_arg_signal_u ( 789s # OrgProjectSignalingIface *object, 789s # guint arg_arg_u) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxy: 789s # * 789s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxyClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceProxy. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceProxyPrivate 789s # { 789s # GData *qdata; 789s # }; 789s # 789s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_proxy_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 789s # g_datalist_clear (&proxy->priv->qdata); 789s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # const GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 789s # const gchar *sender_name G_GNUC_UNUSED, 789s # const gchar *signal_name, 789s # GVariant *parameters) 789s # { 789s # _ExtendedGDBusSignalInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # gsize n; 789s # guint signal_id; 789s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 789s # if (info == NULL) 789s # return; 789s # num_params = g_variant_n_children (parameters); 789s # paramv = g_new0 (GValue, num_params + 1); 789s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[0], proxy); 789s # g_variant_iter_init (&iter, parameters); 789s # n = 1; 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_signal_emitv (paramv, signal_id, 0, NULL); 789s # for (n = 0; n < num_params + 1; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 789s # GVariant *changed_properties, 789s # const gchar *const *invalidated_properties) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 789s # guint n; 789s # const gchar *key; 789s # GVariantIter *iter; 789s # _ExtendedGDBusPropertyInfo *info; 789s # g_variant_get (changed_properties, "a{sv}", &iter); 789s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 789s # g_datalist_remove_data (&proxy->priv->qdata, key); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # g_variant_iter_free (iter); 789s # for (n = 0; invalidated_properties[n] != NULL; n++) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 789s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 789s # #else 789s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 789s # #endif 789s # 789s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusProxyClass *proxy_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 789s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 789s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 789s # 789s # proxy_class = G_DBUS_PROXY_CLASS (klass); 789s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 789s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_sync: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_sync ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new_for_bus ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_sync: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_sync ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeleton: 789s # * 789s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeletonClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceSkeletonPrivate 789s # { 789s # GValue *properties; 789s # GList *changed_properties; 789s # GSource *changed_properties_idle_source; 789s # GMainContext *context; 789s # GMutex lock; 789s # }; 789s # 789s # static void 789s # _org_project_signaling_iface_skeleton_handle_method_call ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name, 789s # const gchar *method_name, 789s # GVariant *parameters, 789s # GDBusMethodInvocation *invocation, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # _ExtendedGDBusMethodInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # guint num_extra; 789s # gsize n; 789s # guint signal_id; 789s # GValue return_value = G_VALUE_INIT; 789s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 789s # g_assert (info != NULL); 789s # num_params = g_variant_n_children (parameters); 789s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 789s # n = 0; 789s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[n++], skeleton); 789s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 789s # g_value_set_object (¶mv[n++], invocation); 789s # if (info->pass_fdlist) 789s # { 789s # #ifdef G_OS_UNIX 789s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 789s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 789s # #else 789s # g_assert_not_reached (); 789s # #endif 789s # } 789s # g_variant_iter_init (&iter, parameters); 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_init (&return_value, G_TYPE_BOOLEAN); 789s # g_signal_emitv (paramv, signal_id, 0, &return_value); 789s # if (!g_value_get_boolean (&return_value)) 789s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 789s # g_value_unset (&return_value); 789s # for (n = 0; n < num_params + num_extra; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static GVariant * 789s # _org_project_signaling_iface_skeleton_handle_get_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # GVariant *ret; 789s # ret = NULL; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # g_value_init (&value, pspec->value_type); 789s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 789s # g_value_unset (&value); 789s # } 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _org_project_signaling_iface_skeleton_handle_set_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GVariant *variant, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # gboolean ret; 789s # ret = FALSE; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # if (info->use_gvariant) 789s # g_value_set_variant (&value, variant); 789s # else 789s # g_dbus_gvariant_to_gvalue (variant, &value); 789s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # g_value_unset (&value); 789s # ret = TRUE; 789s # } 789s # return ret; 789s # } 789s # 789s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 789s # { 789s # _org_project_signaling_iface_skeleton_handle_method_call, 789s # _org_project_signaling_iface_skeleton_handle_get_property, 789s # _org_project_signaling_iface_skeleton_handle_set_property, 789s # {NULL} 789s # }; 789s # 789s # static GDBusInterfaceInfo * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return org_project_signaling_iface_interface_info (); 789s # } 789s # 789s # static GDBusInterfaceVTable * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 789s # } 789s # 789s # static GVariant * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 789s # 789s # GVariantBuilder builder; 789s # guint n; 789s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 789s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 789s # goto out; 789s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 789s # { 789s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 789s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 789s # { 789s # GVariant *value; 789s # 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); 789s # if (value != NULL) 789s # { 789s # g_variant_take_ref (value); 789s # g_variant_builder_add (&builder, "{sv}", info->name, value); 789s # g_variant_unref (value); 789s # } 789s # } 789s # } 789s # out: 789s # return g_variant_builder_end (&builder); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 789s # OrgProjectSignalingIface *object, 789s # guint arg_arg_u) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 789s # arg_arg_u)); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_skeleton_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 789s # if (skeleton->priv->changed_properties_idle_source != NULL) 789s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 789s # g_main_context_unref (skeleton->priv->context); 789s # g_mutex_clear (&skeleton->priv->lock); 789s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 789s # #else 789s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 789s # #endif 789s # 789s # g_mutex_init (&skeleton->priv->lock); 789s # skeleton->priv->context = g_main_context_ref_thread_default (); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusInterfaceSkeletonClass *skeleton_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 789s # 789s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 789s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 789s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 789s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 789s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 789s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_skeleton_new: 789s # * 789s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_skeleton_new (void) 789s # { 789s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 789s # } 789s # /tmp/tmpm6yz_g2t/tmpejsxi0vz.xml: 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6yz_g2t/tmpejsxi0vz.xml', '--output', '-', '--body'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifdef HAVE_CONFIG_H 789s # # include "config.h" 789s # #endif 789s # 789s # #include 789s # #ifdef G_OS_UNIX 789s # # include 789s # #endif 789s # 789s # #ifdef G_ENABLE_DEBUG 789s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 789s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 789s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 789s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 789s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 789s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 789s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 789s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 789s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 789s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 789s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 789s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 789s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 789s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 789s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 789s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 789s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 789s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 789s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 789s # #else /* !G_ENABLE_DEBUG */ 789s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 789s # * Do not access GValues directly in your code. Instead, use the 789s # * g_value_get_*() functions 789s # */ 789s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 789s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 789s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 789s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 789s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 789s # #endif /* !G_ENABLE_DEBUG */ 789s # 789s # typedef struct 789s # { 789s # GDBusArgInfo parent_struct; 789s # gboolean use_gvariant; 789s # } _ExtendedGDBusArgInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusMethodInfo parent_struct; 789s # const gchar *signal_name; 789s # gboolean pass_fdlist; 789s # } _ExtendedGDBusMethodInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusSignalInfo parent_struct; 789s # const gchar *signal_name; 789s # } _ExtendedGDBusSignalInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusPropertyInfo parent_struct; 789s # const gchar *hyphen_name; 789s # guint use_gvariant : 1; 789s # guint emits_changed_signal : 1; 789s # } _ExtendedGDBusPropertyInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusInterfaceInfo parent_struct; 789s # const gchar *hyphen_name; 789s # } _ExtendedGDBusInterfaceInfo; 789s # 789s # typedef struct 789s # { 789s # const _ExtendedGDBusPropertyInfo *info; 789s # guint prop_id; 789s # GValue orig_value; /* the value before the change */ 789s # } ChangedProperty; 789s # 789s # static void 789s # _changed_property_free (ChangedProperty *data) 789s # { 789s # g_value_unset (&data->orig_value); 789s # g_free (data); 789s # } 789s # 789s # static gboolean 789s # _g_strv_equal0 (gchar **a, gchar **b) 789s # { 789s # gboolean ret = FALSE; 789s # guint n; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # if (g_strv_length (a) != g_strv_length (b)) 789s # goto out; 789s # for (n = 0; a[n] != NULL; n++) 789s # if (g_strcmp0 (a[n], b[n]) != 0) 789s # goto out; 789s # ret = TRUE; 789s # out: 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _g_variant_equal0 (GVariant *a, GVariant *b) 789s # { 789s # gboolean ret = FALSE; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # ret = g_variant_equal (a, b); 789s # out: 789s # return ret; 789s # } 789s # 789s # G_GNUC_UNUSED static gboolean 789s # _g_value_equal (const GValue *a, const GValue *b) 789s # { 789s # gboolean ret = FALSE; 789s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 789s # switch (G_VALUE_TYPE (a)) 789s # { 789s # case G_TYPE_BOOLEAN: 789s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 789s # break; 789s # case G_TYPE_UCHAR: 789s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 789s # break; 789s # case G_TYPE_INT: 789s # ret = (g_value_get_int (a) == g_value_get_int (b)); 789s # break; 789s # case G_TYPE_UINT: 789s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 789s # break; 789s # case G_TYPE_INT64: 789s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 789s # break; 789s # case G_TYPE_UINT64: 789s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 789s # break; 789s # case G_TYPE_DOUBLE: 789s # { 789s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 789s # gdouble da = g_value_get_double (a); 789s # gdouble db = g_value_get_double (b); 789s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 789s # } 789s # break; 789s # case G_TYPE_STRING: 789s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 789s # break; 789s # case G_TYPE_VARIANT: 789s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 789s # break; 789s # default: 789s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 789s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 789s # else 789s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 789s # break; 789s # } 789s # return ret; 789s # } 789s # 789s # static void 789s # _g_dbus_codegen_marshal_VOID__INT64 ( 789s # GClosure *closure, 789s # GValue *return_value G_GNUC_UNUSED, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint G_GNUC_UNUSED, 789s # void *marshal_data) 789s # { 789s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 789s # (void *data1, 789s # gint64 arg_arg_x, 789s # void *data2); 789s # _GDbusCodegenMarshalVoid_Int64Func callback; 789s # GCClosure *cc = (GCClosure*) closure; 789s # void *data1, *data2; 789s # 789s # g_return_if_fail (n_param_values == 2); 789s # 789s # if (G_CCLOSURE_SWAP_DATA (closure)) 789s # { 789s # data1 = closure->data; 789s # data2 = g_value_peek_pointer (param_values + 0); 789s # } 789s # else 789s # { 789s # data1 = g_value_peek_pointer (param_values + 0); 789s # data2 = closure->data; 789s # } 789s # 789s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 789s # (marshal_data ? marshal_data : cc->callback); 789s # 789s # callback (data1, 789s # g_marshal_value_peek_int64 (param_values + 1), 789s # data2); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ 789s # * Code for interface org.project.SignalingIface 789s # * ------------------------------------------------------------------------ 789s # */ 789s # 789s # /** 789s # * SECTION:OrgProjectSignalingIface 789s # * @title: OrgProjectSignalingIface 789s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 789s # * 789s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 789s # */ 789s # 789s # enum 789s # { 789s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 789s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 789s # }; 789s # 789s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 789s # 789s # /* ---- Introspection data for org.project.SignalingIface ---- */ 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SimpleSignal", 789s # NULL, 789s # NULL 789s # }, 789s # "simple-signal" 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 789s # { 789s # { 789s # -1, 789s # (gchar *) "arg_x", 789s # (gchar *) "x", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SingleArgSignalX", 789s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 789s # NULL 789s # }, 789s # "single-arg-signal-x" 789s # }; 789s # 789s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 789s # { 789s # { 789s # -1, 789s # (gchar *) "org.project.SignalingIface", 789s # NULL, 789s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 789s # NULL, 789s # NULL 789s # }, 789s # "org-project-signaling-iface", 789s # }; 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_interface_info: 789s # * 789s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 789s # * 789s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 789s # */ 789s # GDBusInterfaceInfo * 789s # org_project_signaling_iface_interface_info (void) 789s # { 789s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_override_properties: 789s # * @klass: The class structure for a #GObject derived class. 789s # * @property_id_begin: The property id to assign to the first overridden property. 789s # * 789s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 789s # * The properties are overridden in the order they are defined. 789s # * 789s # * Returns: The last property id. 789s # */ 789s # guint 789s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 789s # { 789s # return property_id_begin - 1; 789s # } 789s # 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_simple_signal ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VOID (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # 789s # /** 789s # * OrgProjectSignalingIface: 789s # * 789s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceIface: 789s # * @parent_iface: The parent interface. 789s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 789s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 789s # * 789s # * Virtual table for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 789s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 789s # 789s # static void 789s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # /* GObject signals for received D-Bus signals: */ 789s # /** 789s # * OrgProjectSignalingIface::simple-signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 789s # g_signal_new ("simple-signal", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_simple_signal, 789s # G_TYPE_NONE, 789s # 0); 789s # 789s # /** 789s # * OrgProjectSignalingIface::single-arg-signal-x: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_x: Argument. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 789s # g_signal_new ("single-arg-signal-x", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 789s # G_TYPE_NONE, 789s # 1, G_TYPE_INT64); 789s # 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_simple_signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * Emits the "SimpleSignal" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_single_arg_signal_x: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_x: Argument to pass with the signal. 789s # * 789s # * Emits the "SingleArgSignalX" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_single_arg_signal_x ( 789s # OrgProjectSignalingIface *object, 789s # gint64 arg_arg_x) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxy: 789s # * 789s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxyClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceProxy. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceProxyPrivate 789s # { 789s # GData *qdata; 789s # }; 789s # 789s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_proxy_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 789s # g_datalist_clear (&proxy->priv->qdata); 789s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # const GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 789s # const gchar *sender_name G_GNUC_UNUSED, 789s # const gchar *signal_name, 789s # GVariant *parameters) 789s # { 789s # _ExtendedGDBusSignalInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # gsize n; 789s # guint signal_id; 789s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 789s # if (info == NULL) 789s # return; 789s # num_params = g_variant_n_children (parameters); 789s # paramv = g_new0 (GValue, num_params + 1); 789s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[0], proxy); 789s # g_variant_iter_init (&iter, parameters); 789s # n = 1; 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_signal_emitv (paramv, signal_id, 0, NULL); 789s # for (n = 0; n < num_params + 1; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 789s # GVariant *changed_properties, 789s # const gchar *const *invalidated_properties) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 789s # guint n; 789s # const gchar *key; 789s # GVariantIter *iter; 789s # _ExtendedGDBusPropertyInfo *info; 789s # g_variant_get (changed_properties, "a{sv}", &iter); 789s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 789s # g_datalist_remove_data (&proxy->priv->qdata, key); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # g_variant_iter_free (iter); 789s # for (n = 0; invalidated_properties[n] != NULL; n++) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 789s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 789s # #else 789s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 789s # #endif 789s # 789s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusProxyClass *proxy_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 789s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 789s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 789s # 789s # proxy_class = G_DBUS_PROXY_CLASS (klass); 789s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 789s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_sync: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_sync ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new_for_bus ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_sync: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_sync ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeleton: 789s # * 789s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeletonClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceSkeletonPrivate 789s # { 789s # GValue *properties; 789s # GList *changed_properties; 789s # GSource *changed_properties_idle_source; 789s # GMainContext *context; 789s # GMutex lock; 789s # }; 789s # 789s # static void 789s # _org_project_signaling_iface_skeleton_handle_method_call ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name, 789s # const gchar *method_name, 789s # GVariant *parameters, 789s # GDBusMethodInvocation *invocation, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # _ExtendedGDBusMethodInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # guint num_extra; 789s # gsize n; 789s # guint signal_id; 789s # GValue return_value = G_VALUE_INIT; 789s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 789s # g_assert (info != NULL); 789s # num_params = g_variant_n_children (parameters); 789s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 789s # n = 0; 789s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[n++], skeleton); 789s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 789s # g_value_set_object (¶mv[n++], invocation); 789s # if (info->pass_fdlist) 789s # { 789s # #ifdef G_OS_UNIX 789s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 789s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 789s # #else 789s # g_assert_not_reached (); 789s # #endif 789s # } 789s # g_variant_iter_init (&iter, parameters); 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_init (&return_value, G_TYPE_BOOLEAN); 789s # g_signal_emitv (paramv, signal_id, 0, &return_value); 789s # if (!g_value_get_boolean (&return_value)) 789s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 789s # g_value_unset (&return_value); 789s # for (n = 0; n < num_params + num_extra; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static GVariant * 789s # _org_project_signaling_iface_skeleton_handle_get_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # GVariant *ret; 789s # ret = NULL; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # g_value_init (&value, pspec->value_type); 789s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 789s # g_value_unset (&value); 789s # } 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _org_project_signaling_iface_skeleton_handle_set_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GVariant *variant, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # gboolean ret; 789s # ret = FALSE; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # if (info->use_gvariant) 789s # g_value_set_variant (&value, variant); 789s # else 789s # g_dbus_gvariant_to_gvalue (variant, &value); 789s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # g_value_unset (&value); 789s # ret = TRUE; 789s # } 789s # return ret; 789s # } 789s # 789s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 789s # { 789s # _org_project_signaling_iface_skeleton_handle_method_call, 789s # _org_project_signaling_iface_skeleton_handle_get_property, 789s # _org_project_signaling_iface_skeleton_handle_set_property, 789s # {NULL} 789s # }; 789s # 789s # static GDBusInterfaceInfo * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return org_project_signaling_iface_interface_info (); 789s # } 789s # 789s # static GDBusInterfaceVTable * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 789s # } 789s # 789s # static GVariant * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 789s # 789s # GVariantBuilder builder; 789s # guint n; 789s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 789s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 789s # goto out; 789s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 789s # { 789s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 789s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 789s # { 789s # GVariant *value; 789s # 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); 789s # if (value != NULL) 789s # { 789s # g_variant_take_ref (value); 789s # g_variant_builder_add (&builder, "{sv}", info->name, value); 789s # g_variant_unref (value); 789s # } 789s # } 789s # } 789s # out: 789s # return g_variant_builder_end (&builder); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 789s # OrgProjectSignalingIface *object, 789s # gint64 arg_arg_x) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 789s # arg_arg_x)); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_skeleton_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 789s # if (skeleton->priv->changed_properties_idle_source != NULL) 789s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 789s # g_main_context_unref (skeleton->priv->context); 789s # g_mutex_clear (&skeleton->priv->lock); 789s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 789s # #else 789s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 789s # #endif 789s # 789s # g_mutex_init (&skeleton->priv->lock); 789s # skeleton->priv->context = g_main_context_ref_thread_default (); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusInterfaceSkeletonClass *skeleton_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 789s # 789s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 789s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 789s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 789s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 789s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 789s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_skeleton_new: 789s # * 789s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_skeleton_new (void) 789s # { 789s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 789s # } 789s # /tmp/tmpm6yz_g2t/tmp3nxb4xbl.xml: 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6yz_g2t/tmp3nxb4xbl.xml', '--output', '-', '--body'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifdef HAVE_CONFIG_H 789s # # include "config.h" 789s # #endif 789s # 789s # #include 789s # #ifdef G_OS_UNIX 789s # # include 789s # #endif 789s # 789s # #ifdef G_ENABLE_DEBUG 789s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 789s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 789s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 789s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 789s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 789s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 789s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 789s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 789s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 789s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 789s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 789s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 789s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 789s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 789s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 789s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 789s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 789s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 789s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 789s # #else /* !G_ENABLE_DEBUG */ 789s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 789s # * Do not access GValues directly in your code. Instead, use the 789s # * g_value_get_*() functions 789s # */ 789s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 789s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 789s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 789s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 789s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 789s # #endif /* !G_ENABLE_DEBUG */ 789s # 789s # typedef struct 789s # { 789s # GDBusArgInfo parent_struct; 789s # gboolean use_gvariant; 789s # } _ExtendedGDBusArgInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusMethodInfo parent_struct; 789s # const gchar *signal_name; 789s # gboolean pass_fdlist; 789s # } _ExtendedGDBusMethodInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusSignalInfo parent_struct; 789s # const gchar *signal_name; 789s # } _ExtendedGDBusSignalInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusPropertyInfo parent_struct; 789s # const gchar *hyphen_name; 789s # guint use_gvariant : 1; 789s # guint emits_changed_signal : 1; 789s # } _ExtendedGDBusPropertyInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusInterfaceInfo parent_struct; 789s # const gchar *hyphen_name; 789s # } _ExtendedGDBusInterfaceInfo; 789s # 789s # typedef struct 789s # { 789s # const _ExtendedGDBusPropertyInfo *info; 789s # guint prop_id; 789s # GValue orig_value; /* the value before the change */ 789s # } ChangedProperty; 789s # 789s # static void 789s # _changed_property_free (ChangedProperty *data) 789s # { 789s # g_value_unset (&data->orig_value); 789s # g_free (data); 789s # } 789s # 789s # static gboolean 789s # _g_strv_equal0 (gchar **a, gchar **b) 789s # { 789s # gboolean ret = FALSE; 789s # guint n; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # if (g_strv_length (a) != g_strv_length (b)) 789s # goto out; 789s # for (n = 0; a[n] != NULL; n++) 789s # if (g_strcmp0 (a[n], b[n]) != 0) 789s # goto out; 789s # ret = TRUE; 789s # out: 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _g_variant_equal0 (GVariant *a, GVariant *b) 789s # { 789s # gboolean ret = FALSE; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # ret = g_variant_equal (a, b); 789s # out: 789s # return ret; 789s # } 789s # 789s # G_GNUC_UNUSED static gboolean 789s # _g_value_equal (const GValue *a, const GValue *b) 789s # { 789s # gboolean ret = FALSE; 789s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 789s # switch (G_VALUE_TYPE (a)) 789s # { 789s # case G_TYPE_BOOLEAN: 789s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 789s # break; 789s # case G_TYPE_UCHAR: 789s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 789s # break; 789s # case G_TYPE_INT: 789s # ret = (g_value_get_int (a) == g_value_get_int (b)); 789s # break; 789s # case G_TYPE_UINT: 789s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 789s # break; 789s # case G_TYPE_INT64: 789s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 789s # break; 789s # case G_TYPE_UINT64: 789s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 789s # break; 789s # case G_TYPE_DOUBLE: 789s # { 789s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 789s # gdouble da = g_value_get_double (a); 789s # gdouble db = g_value_get_double (b); 789s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 789s # } 789s # break; 789s # case G_TYPE_STRING: 789s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 789s # break; 789s # case G_TYPE_VARIANT: 789s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 789s # break; 789s # default: 789s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 789s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 789s # else 789s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 789s # break; 789s # } 789s # return ret; 789s # } 789s # 789s # static void 789s # _g_dbus_codegen_marshal_VOID__UINT64 ( 789s # GClosure *closure, 789s # GValue *return_value G_GNUC_UNUSED, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint G_GNUC_UNUSED, 789s # void *marshal_data) 789s # { 789s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 789s # (void *data1, 789s # guint64 arg_arg_t, 789s # void *data2); 789s # _GDbusCodegenMarshalVoid_Uint64Func callback; 789s # GCClosure *cc = (GCClosure*) closure; 789s # void *data1, *data2; 789s # 789s # g_return_if_fail (n_param_values == 2); 789s # 789s # if (G_CCLOSURE_SWAP_DATA (closure)) 789s # { 789s # data1 = closure->data; 789s # data2 = g_value_peek_pointer (param_values + 0); 789s # } 789s # else 789s # { 789s # data1 = g_value_peek_pointer (param_values + 0); 789s # data2 = closure->data; 789s # } 789s # 789s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 789s # (marshal_data ? marshal_data : cc->callback); 789s # 789s # callback (data1, 789s # g_marshal_value_peek_uint64 (param_values + 1), 789s # data2); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ 789s # * Code for interface org.project.SignalingIface 789s # * ------------------------------------------------------------------------ 789s # */ 789s # 789s # /** 789s # * SECTION:OrgProjectSignalingIface 789s # * @title: OrgProjectSignalingIface 789s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 789s # * 789s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 789s # */ 789s # 789s # enum 789s # { 789s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 789s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 789s # }; 789s # 789s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 789s # 789s # /* ---- Introspection data for org.project.SignalingIface ---- */ 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SimpleSignal", 789s # NULL, 789s # NULL 789s # }, 789s # "simple-signal" 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 789s # { 789s # { 789s # -1, 789s # (gchar *) "arg_t", 789s # (gchar *) "t", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SingleArgSignalT", 789s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 789s # NULL 789s # }, 789s # "single-arg-signal-t" 789s # }; 789s # 789s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 789s # { 789s # { 789s # -1, 789s # (gchar *) "org.project.SignalingIface", 789s # NULL, 789s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 789s # NULL, 789s # NULL 789s # }, 789s # "org-project-signaling-iface", 789s # }; 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_interface_info: 789s # * 789s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 789s # * 789s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 789s # */ 789s # GDBusInterfaceInfo * 789s # org_project_signaling_iface_interface_info (void) 789s # { 789s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_override_properties: 789s # * @klass: The class structure for a #GObject derived class. 789s # * @property_id_begin: The property id to assign to the first overridden property. 789s # * 789s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 789s # * The properties are overridden in the order they are defined. 789s # * 789s # * Returns: The last property id. 789s # */ 789s # guint 789s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 789s # { 789s # return property_id_begin - 1; 789s # } 789s # 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_simple_signal ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VOID (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # 789s # /** 789s # * OrgProjectSignalingIface: 789s # * 789s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceIface: 789s # * @parent_iface: The parent interface. 789s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 789s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 789s # * 789s # * Virtual table for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 789s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 789s # 789s # static void 789s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # /* GObject signals for received D-Bus signals: */ 789s # /** 789s # * OrgProjectSignalingIface::simple-signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 789s # g_signal_new ("simple-signal", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_simple_signal, 789s # G_TYPE_NONE, 789s # 0); 789s # 789s # /** 789s # * OrgProjectSignalingIface::single-arg-signal-t: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_t: Argument. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 789s # g_signal_new ("single-arg-signal-t", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 789s # G_TYPE_NONE, 789s # 1, G_TYPE_UINT64); 789s # 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_simple_signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * Emits the "SimpleSignal" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_single_arg_signal_t: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_t: Argument to pass with the signal. 789s # * 789s # * Emits the "SingleArgSignalT" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_single_arg_signal_t ( 789s # OrgProjectSignalingIface *object, 789s # guint64 arg_arg_t) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxy: 789s # * 789s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxyClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceProxy. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceProxyPrivate 789s # { 789s # GData *qdata; 789s # }; 789s # 789s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_proxy_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 789s # g_datalist_clear (&proxy->priv->qdata); 789s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # const GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 789s # const gchar *sender_name G_GNUC_UNUSED, 789s # const gchar *signal_name, 789s # GVariant *parameters) 789s # { 789s # _ExtendedGDBusSignalInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # gsize n; 789s # guint signal_id; 789s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 789s # if (info == NULL) 789s # return; 789s # num_params = g_variant_n_children (parameters); 789s # paramv = g_new0 (GValue, num_params + 1); 789s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[0], proxy); 789s # g_variant_iter_init (&iter, parameters); 789s # n = 1; 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_signal_emitv (paramv, signal_id, 0, NULL); 789s # for (n = 0; n < num_params + 1; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 789s # GVariant *changed_properties, 789s # const gchar *const *invalidated_properties) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 789s # guint n; 789s # const gchar *key; 789s # GVariantIter *iter; 789s # _ExtendedGDBusPropertyInfo *info; 789s # g_variant_get (changed_properties, "a{sv}", &iter); 789s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 789s # g_datalist_remove_data (&proxy->priv->qdata, key); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # g_variant_iter_free (iter); 789s # for (n = 0; invalidated_properties[n] != NULL; n++) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 789s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 789s # #else 789s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 789s # #endif 789s # 789s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusProxyClass *proxy_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 789s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 789s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 789s # 789s # proxy_class = G_DBUS_PROXY_CLASS (klass); 789s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 789s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_sync: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_sync ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new_for_bus ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_sync: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_sync ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeleton: 789s # * 789s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeletonClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceSkeletonPrivate 789s # { 789s # GValue *properties; 789s # GList *changed_properties; 789s # GSource *changed_properties_idle_source; 789s # GMainContext *context; 789s # GMutex lock; 789s # }; 789s # 789s # static void 789s # _org_project_signaling_iface_skeleton_handle_method_call ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name, 789s # const gchar *method_name, 789s # GVariant *parameters, 789s # GDBusMethodInvocation *invocation, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # _ExtendedGDBusMethodInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # guint num_extra; 789s # gsize n; 789s # guint signal_id; 789s # GValue return_value = G_VALUE_INIT; 789s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 789s # g_assert (info != NULL); 789s # num_params = g_variant_n_children (parameters); 789s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 789s # n = 0; 789s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[n++], skeleton); 789s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 789s # g_value_set_object (¶mv[n++], invocation); 789s # if (info->pass_fdlist) 789s # { 789s # #ifdef G_OS_UNIX 789s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 789s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 789s # #else 789s # g_assert_not_reached (); 789s # #endif 789s # } 789s # g_variant_iter_init (&iter, parameters); 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_init (&return_value, G_TYPE_BOOLEAN); 789s # g_signal_emitv (paramv, signal_id, 0, &return_value); 789s # if (!g_value_get_boolean (&return_value)) 789s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 789s # g_value_unset (&return_value); 789s # for (n = 0; n < num_params + num_extra; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static GVariant * 789s # _org_project_signaling_iface_skeleton_handle_get_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # GVariant *ret; 789s # ret = NULL; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # g_value_init (&value, pspec->value_type); 789s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 789s # g_value_unset (&value); 789s # } 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _org_project_signaling_iface_skeleton_handle_set_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GVariant *variant, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # gboolean ret; 789s # ret = FALSE; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # if (info->use_gvariant) 789s # g_value_set_variant (&value, variant); 789s # else 789s # g_dbus_gvariant_to_gvalue (variant, &value); 789s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # g_value_unset (&value); 789s # ret = TRUE; 789s # } 789s # return ret; 789s # } 789s # 789s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 789s # { 789s # _org_project_signaling_iface_skeleton_handle_method_call, 789s # _org_project_signaling_iface_skeleton_handle_get_property, 789s # _org_project_signaling_iface_skeleton_handle_set_property, 789s # {NULL} 789s # }; 789s # 789s # static GDBusInterfaceInfo * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return org_project_signaling_iface_interface_info (); 789s # } 789s # 789s # static GDBusInterfaceVTable * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 789s # } 789s # 789s # static GVariant * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 789s # 789s # GVariantBuilder builder; 789s # guint n; 789s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 789s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 789s # goto out; 789s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 789s # { 789s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 789s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 789s # { 789s # GVariant *value; 789s # 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); 789s # if (value != NULL) 789s # { 789s # g_variant_take_ref (value); 789s # g_variant_builder_add (&builder, "{sv}", info->name, value); 789s # g_variant_unref (value); 789s # } 789s # } 789s # } 789s # out: 789s # return g_variant_builder_end (&builder); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 789s # OrgProjectSignalingIface *object, 789s # guint64 arg_arg_t) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 789s # arg_arg_t)); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_skeleton_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 789s # if (skeleton->priv->changed_properties_idle_source != NULL) 789s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 789s # g_main_context_unref (skeleton->priv->context); 789s # g_mutex_clear (&skeleton->priv->lock); 789s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 789s # #else 789s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 789s # #endif 789s # 789s # g_mutex_init (&skeleton->priv->lock); 789s # skeleton->priv->context = g_main_context_ref_thread_default (); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusInterfaceSkeletonClass *skeleton_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 789s # 789s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 789s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 789s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 789s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 789s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 789s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_skeleton_new: 789s # * 789s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_skeleton_new (void) 789s # { 789s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 789s # } 789s # /tmp/tmpm6yz_g2t/tmpozbz1g6w.xml: 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6yz_g2t/tmpozbz1g6w.xml', '--output', '-', '--body'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifdef HAVE_CONFIG_H 789s # # include "config.h" 789s # #endif 789s # 789s # #include 789s # #ifdef G_OS_UNIX 789s # # include 789s # #endif 789s # 789s # #ifdef G_ENABLE_DEBUG 789s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 789s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 789s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 789s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 789s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 789s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 789s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 789s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 789s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 789s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 789s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 789s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 789s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 789s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 789s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 789s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 789s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 789s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 789s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 789s # #else /* !G_ENABLE_DEBUG */ 789s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 789s # * Do not access GValues directly in your code. Instead, use the 789s # * g_value_get_*() functions 789s # */ 789s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 789s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 789s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 789s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 789s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 789s # #endif /* !G_ENABLE_DEBUG */ 789s # 789s # typedef struct 789s # { 789s # GDBusArgInfo parent_struct; 789s # gboolean use_gvariant; 789s # } _ExtendedGDBusArgInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusMethodInfo parent_struct; 789s # const gchar *signal_name; 789s # gboolean pass_fdlist; 789s # } _ExtendedGDBusMethodInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusSignalInfo parent_struct; 789s # const gchar *signal_name; 789s # } _ExtendedGDBusSignalInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusPropertyInfo parent_struct; 789s # const gchar *hyphen_name; 789s # guint use_gvariant : 1; 789s # guint emits_changed_signal : 1; 789s # } _ExtendedGDBusPropertyInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusInterfaceInfo parent_struct; 789s # const gchar *hyphen_name; 789s # } _ExtendedGDBusInterfaceInfo; 789s # 789s # typedef struct 789s # { 789s # const _ExtendedGDBusPropertyInfo *info; 789s # guint prop_id; 789s # GValue orig_value; /* the value before the change */ 789s # } ChangedProperty; 789s # 789s # static void 789s # _changed_property_free (ChangedProperty *data) 789s # { 789s # g_value_unset (&data->orig_value); 789s # g_free (data); 789s # } 789s # 789s # static gboolean 789s # _g_strv_equal0 (gchar **a, gchar **b) 789s # { 789s # gboolean ret = FALSE; 789s # guint n; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # if (g_strv_length (a) != g_strv_length (b)) 789s # goto out; 789s # for (n = 0; a[n] != NULL; n++) 789s # if (g_strcmp0 (a[n], b[n]) != 0) 789s # goto out; 789s # ret = TRUE; 789s # out: 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _g_variant_equal0 (GVariant *a, GVariant *b) 789s # { 789s # gboolean ret = FALSE; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # ret = g_variant_equal (a, b); 789s # out: 789s # return ret; 789s # } 789s # 789s # G_GNUC_UNUSED static gboolean 789s # _g_value_equal (const GValue *a, const GValue *b) 789s # { 789s # gboolean ret = FALSE; 789s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 789s # switch (G_VALUE_TYPE (a)) 789s # { 789s # case G_TYPE_BOOLEAN: 789s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 789s # break; 789s # case G_TYPE_UCHAR: 789s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 789s # break; 789s # case G_TYPE_INT: 789s # ret = (g_value_get_int (a) == g_value_get_int (b)); 789s # break; 789s # case G_TYPE_UINT: 789s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 789s # break; 789s # case G_TYPE_INT64: 789s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 789s # break; 789s # case G_TYPE_UINT64: 789s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 789s # break; 789s # case G_TYPE_DOUBLE: 789s # { 789s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 789s # gdouble da = g_value_get_double (a); 789s # gdouble db = g_value_get_double (b); 789s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 789s # } 789s # break; 789s # case G_TYPE_STRING: 789s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 789s # break; 789s # case G_TYPE_VARIANT: 789s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 789s # break; 789s # default: 789s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 789s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 789s # else 789s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 789s # break; 789s # } 789s # return ret; 789s # } 789s # 789s # /* ------------------------------------------------------------------------ 789s # * Code for interface org.project.SignalingIface 789s # * ------------------------------------------------------------------------ 789s # */ 789s # 789s # /** 789s # * SECTION:OrgProjectSignalingIface 789s # * @title: OrgProjectSignalingIface 789s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 789s # * 789s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 789s # */ 789s # 789s # enum 789s # { 789s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 789s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 789s # }; 789s # 789s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 789s # 789s # /* ---- Introspection data for org.project.SignalingIface ---- */ 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SimpleSignal", 789s # NULL, 789s # NULL 789s # }, 789s # "simple-signal" 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 789s # { 789s # { 789s # -1, 789s # (gchar *) "arg_d", 789s # (gchar *) "d", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SingleArgSignalD", 789s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 789s # NULL 789s # }, 789s # "single-arg-signal-d" 789s # }; 789s # 789s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 789s # { 789s # { 789s # -1, 789s # (gchar *) "org.project.SignalingIface", 789s # NULL, 789s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 789s # NULL, 789s # NULL 789s # }, 789s # "org-project-signaling-iface", 789s # }; 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_interface_info: 789s # * 789s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 789s # * 789s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 789s # */ 789s # GDBusInterfaceInfo * 789s # org_project_signaling_iface_interface_info (void) 789s # { 789s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_override_properties: 789s # * @klass: The class structure for a #GObject derived class. 789s # * @property_id_begin: The property id to assign to the first overridden property. 789s # * 789s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 789s # * The properties are overridden in the order they are defined. 789s # * 789s # * Returns: The last property id. 789s # */ 789s # guint 789s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 789s # { 789s # return property_id_begin - 1; 789s # } 789s # 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_simple_signal ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VOID (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__DOUBLE (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # 789s # /** 789s # * OrgProjectSignalingIface: 789s # * 789s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceIface: 789s # * @parent_iface: The parent interface. 789s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 789s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 789s # * 789s # * Virtual table for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 789s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 789s # 789s # static void 789s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # /* GObject signals for received D-Bus signals: */ 789s # /** 789s # * OrgProjectSignalingIface::simple-signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 789s # g_signal_new ("simple-signal", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_simple_signal, 789s # G_TYPE_NONE, 789s # 0); 789s # 789s # /** 789s # * OrgProjectSignalingIface::single-arg-signal-d: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_d: Argument. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 789s # g_signal_new ("single-arg-signal-d", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 789s # G_TYPE_NONE, 789s # 1, G_TYPE_DOUBLE); 789s # 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_simple_signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * Emits the "SimpleSignal" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_single_arg_signal_d: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_d: Argument to pass with the signal. 789s # * 789s # * Emits the "SingleArgSignalD" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_single_arg_signal_d ( 789s # OrgProjectSignalingIface *object, 789s # gdouble arg_arg_d) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxy: 789s # * 789s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxyClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceProxy. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceProxyPrivate 789s # { 789s # GData *qdata; 789s # }; 789s # 789s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_proxy_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 789s # g_datalist_clear (&proxy->priv->qdata); 789s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # const GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 789s # const gchar *sender_name G_GNUC_UNUSED, 789s # const gchar *signal_name, 789s # GVariant *parameters) 789s # { 789s # _ExtendedGDBusSignalInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # gsize n; 789s # guint signal_id; 789s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 789s # if (info == NULL) 789s # return; 789s # num_params = g_variant_n_children (parameters); 789s # paramv = g_new0 (GValue, num_params + 1); 789s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[0], proxy); 789s # g_variant_iter_init (&iter, parameters); 789s # n = 1; 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_signal_emitv (paramv, signal_id, 0, NULL); 789s # for (n = 0; n < num_params + 1; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 789s # GVariant *changed_properties, 789s # const gchar *const *invalidated_properties) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 789s # guint n; 789s # const gchar *key; 789s # GVariantIter *iter; 789s # _ExtendedGDBusPropertyInfo *info; 789s # g_variant_get (changed_properties, "a{sv}", &iter); 789s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 789s # g_datalist_remove_data (&proxy->priv->qdata, key); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # g_variant_iter_free (iter); 789s # for (n = 0; invalidated_properties[n] != NULL; n++) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 789s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 789s # #else 789s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 789s # #endif 789s # 789s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusProxyClass *proxy_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 789s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 789s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 789s # 789s # proxy_class = G_DBUS_PROXY_CLASS (klass); 789s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 789s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_sync: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_sync ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new_for_bus ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_sync: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_sync ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeleton: 789s # * 789s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeletonClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceSkeletonPrivate 789s # { 789s # GValue *properties; 789s # GList *changed_properties; 789s # GSource *changed_properties_idle_source; 789s # GMainContext *context; 789s # GMutex lock; 789s # }; 789s # 789s # static void 789s # _org_project_signaling_iface_skeleton_handle_method_call ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name, 789s # const gchar *method_name, 789s # GVariant *parameters, 789s # GDBusMethodInvocation *invocation, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # _ExtendedGDBusMethodInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # guint num_extra; 789s # gsize n; 789s # guint signal_id; 789s # GValue return_value = G_VALUE_INIT; 789s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 789s # g_assert (info != NULL); 789s # num_params = g_variant_n_children (parameters); 789s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 789s # n = 0; 789s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[n++], skeleton); 789s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 789s # g_value_set_object (¶mv[n++], invocation); 789s # if (info->pass_fdlist) 789s # { 789s # #ifdef G_OS_UNIX 789s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 789s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 789s # #else 789s # g_assert_not_reached (); 789s # #endif 789s # } 789s # g_variant_iter_init (&iter, parameters); 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_init (&return_value, G_TYPE_BOOLEAN); 789s # g_signal_emitv (paramv, signal_id, 0, &return_value); 789s # if (!g_value_get_boolean (&return_value)) 789s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 789s # g_value_unset (&return_value); 789s # for (n = 0; n < num_params + num_extra; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static GVariant * 789s # _org_project_signaling_iface_skeleton_handle_get_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # GVariant *ret; 789s # ret = NULL; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # g_value_init (&value, pspec->value_type); 789s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 789s # g_value_unset (&value); 789s # } 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _org_project_signaling_iface_skeleton_handle_set_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GVariant *variant, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # gboolean ret; 789s # ret = FALSE; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # if (info->use_gvariant) 789s # g_value_set_variant (&value, variant); 789s # else 789s # g_dbus_gvariant_to_gvalue (variant, &value); 789s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # g_value_unset (&value); 789s # ret = TRUE; 789s # } 789s # return ret; 789s # } 789s # 789s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 789s # { 789s # _org_project_signaling_iface_skeleton_handle_method_call, 789s # _org_project_signaling_iface_skeleton_handle_get_property, 789s # _org_project_signaling_iface_skeleton_handle_set_property, 789s # {NULL} 789s # }; 789s # 789s # static GDBusInterfaceInfo * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return org_project_signaling_iface_interface_info (); 789s # } 789s # 789s # static GDBusInterfaceVTable * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 789s # } 789s # 789s # static GVariant * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 789s # 789s # GVariantBuilder builder; 789s # guint n; 789s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 789s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 789s # goto out; 789s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 789s # { 789s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 789s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 789s # { 789s # GVariant *value; 789s # 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); 789s # if (value != NULL) 789s # { 789s # g_variant_take_ref (value); 789s # g_variant_builder_add (&builder, "{sv}", info->name, value); 789s # g_variant_unref (value); 789s # } 789s # } 789s # } 789s # out: 789s # return g_variant_builder_end (&builder); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 789s # OrgProjectSignalingIface *object, 789s # gdouble arg_arg_d) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 789s # arg_arg_d)); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_skeleton_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 789s # if (skeleton->priv->changed_properties_idle_source != NULL) 789s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 789s # g_main_context_unref (skeleton->priv->context); 789s # g_mutex_clear (&skeleton->priv->lock); 789s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 789s # #else 789s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 789s # #endif 789s # 789s # g_mutex_init (&skeleton->priv->lock); 789s # skeleton->priv->context = g_main_context_ref_thread_default (); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusInterfaceSkeletonClass *skeleton_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 789s # 789s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 789s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 789s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 789s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 789s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 789s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_skeleton_new: 789s # * 789s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_skeleton_new (void) 789s # { 789s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 789s # } 789s # /tmp/tmpm6yz_g2t/tmpwe1cmy2e.xml: 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6yz_g2t/tmpwe1cmy2e.xml', '--output', '-', '--body'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifdef HAVE_CONFIG_H 789s # # include "config.h" 789s # #endif 789s # 789s # #include 789s # #ifdef G_OS_UNIX 789s # # include 789s # #endif 789s # 789s # #ifdef G_ENABLE_DEBUG 789s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 789s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 789s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 789s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 789s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 789s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 789s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 789s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 789s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 789s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 789s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 789s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 789s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 789s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 789s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 789s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 789s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 789s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 789s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 789s # #else /* !G_ENABLE_DEBUG */ 789s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 789s # * Do not access GValues directly in your code. Instead, use the 789s # * g_value_get_*() functions 789s # */ 789s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 789s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 789s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 789s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 789s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 789s # #endif /* !G_ENABLE_DEBUG */ 789s # 789s # typedef struct 789s # { 789s # GDBusArgInfo parent_struct; 789s # gboolean use_gvariant; 789s # } _ExtendedGDBusArgInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusMethodInfo parent_struct; 789s # const gchar *signal_name; 789s # gboolean pass_fdlist; 789s # } _ExtendedGDBusMethodInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusSignalInfo parent_struct; 789s # const gchar *signal_name; 789s # } _ExtendedGDBusSignalInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusPropertyInfo parent_struct; 789s # const gchar *hyphen_name; 789s # guint use_gvariant : 1; 789s # guint emits_changed_signal : 1; 789s # } _ExtendedGDBusPropertyInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusInterfaceInfo parent_struct; 789s # const gchar *hyphen_name; 789s # } _ExtendedGDBusInterfaceInfo; 789s # 789s # typedef struct 789s # { 789s # const _ExtendedGDBusPropertyInfo *info; 789s # guint prop_id; 789s # GValue orig_value; /* the value before the change */ 789s # } ChangedProperty; 789s # 789s # static void 789s # _changed_property_free (ChangedProperty *data) 789s # { 789s # g_value_unset (&data->orig_value); 789s # g_free (data); 789s # } 789s # 789s # static gboolean 789s # _g_strv_equal0 (gchar **a, gchar **b) 789s # { 789s # gboolean ret = FALSE; 789s # guint n; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # if (g_strv_length (a) != g_strv_length (b)) 789s # goto out; 789s # for (n = 0; a[n] != NULL; n++) 789s # if (g_strcmp0 (a[n], b[n]) != 0) 789s # goto out; 789s # ret = TRUE; 789s # out: 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _g_variant_equal0 (GVariant *a, GVariant *b) 789s # { 789s # gboolean ret = FALSE; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # ret = g_variant_equal (a, b); 789s # out: 789s # return ret; 789s # } 789s # 789s # G_GNUC_UNUSED static gboolean 789s # _g_value_equal (const GValue *a, const GValue *b) 789s # { 789s # gboolean ret = FALSE; 789s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 789s # switch (G_VALUE_TYPE (a)) 789s # { 789s # case G_TYPE_BOOLEAN: 789s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 789s # break; 789s # case G_TYPE_UCHAR: 789s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 789s # break; 789s # case G_TYPE_INT: 789s # ret = (g_value_get_int (a) == g_value_get_int (b)); 789s # break; 789s # case G_TYPE_UINT: 789s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 789s # break; 789s # case G_TYPE_INT64: 789s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 789s # break; 789s # case G_TYPE_UINT64: 789s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 789s # break; 789s # case G_TYPE_DOUBLE: 789s # { 789s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 789s # gdouble da = g_value_get_double (a); 789s # gdouble db = g_value_get_double (b); 789s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 789s # } 789s # break; 789s # case G_TYPE_STRING: 789s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 789s # break; 789s # case G_TYPE_VARIANT: 789s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 789s # break; 789s # default: 789s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 789s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 789s # else 789s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 789s # break; 789s # } 789s # return ret; 789s # } 789s # 789s # /* ------------------------------------------------------------------------ 789s # * Code for interface org.project.SignalingIface 789s # * ------------------------------------------------------------------------ 789s # */ 789s # 789s # /** 789s # * SECTION:OrgProjectSignalingIface 789s # * @title: OrgProjectSignalingIface 789s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 789s # * 789s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 789s # */ 789s # 789s # enum 789s # { 789s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 789s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 789s # }; 789s # 789s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 789s # 789s # /* ---- Introspection data for org.project.SignalingIface ---- */ 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SimpleSignal", 789s # NULL, 789s # NULL 789s # }, 789s # "simple-signal" 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 789s # { 789s # { 789s # -1, 789s # (gchar *) "arg_s", 789s # (gchar *) "s", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SingleArgSignalS", 789s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 789s # NULL 789s # }, 789s # "single-arg-signal-s" 789s # }; 789s # 789s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 789s # { 789s # { 789s # -1, 789s # (gchar *) "org.project.SignalingIface", 789s # NULL, 789s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 789s # NULL, 789s # NULL 789s # }, 789s # "org-project-signaling-iface", 789s # }; 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_interface_info: 789s # * 789s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 789s # * 789s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 789s # */ 789s # GDBusInterfaceInfo * 789s # org_project_signaling_iface_interface_info (void) 789s # { 789s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_override_properties: 789s # * @klass: The class structure for a #GObject derived class. 789s # * @property_id_begin: The property id to assign to the first overridden property. 789s # * 789s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 789s # * The properties are overridden in the order they are defined. 789s # * 789s # * Returns: The last property id. 789s # */ 789s # guint 789s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 789s # { 789s # return property_id_begin - 1; 789s # } 789s # 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_simple_signal ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VOID (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__STRING (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # 789s # /** 789s # * OrgProjectSignalingIface: 789s # * 789s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceIface: 789s # * @parent_iface: The parent interface. 789s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 789s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 789s # * 789s # * Virtual table for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 789s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 789s # 789s # static void 789s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # /* GObject signals for received D-Bus signals: */ 789s # /** 789s # * OrgProjectSignalingIface::simple-signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 789s # g_signal_new ("simple-signal", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_simple_signal, 789s # G_TYPE_NONE, 789s # 0); 789s # 789s # /** 789s # * OrgProjectSignalingIface::single-arg-signal-s: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_s: Argument. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 789s # g_signal_new ("single-arg-signal-s", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 789s # G_TYPE_NONE, 789s # 1, G_TYPE_STRING); 789s # 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_simple_signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * Emits the "SimpleSignal" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_single_arg_signal_s: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_s: Argument to pass with the signal. 789s # * 789s # * Emits the "SingleArgSignalS" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_single_arg_signal_s ( 789s # OrgProjectSignalingIface *object, 789s # const gchar *arg_arg_s) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxy: 789s # * 789s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxyClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceProxy. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceProxyPrivate 789s # { 789s # GData *qdata; 789s # }; 789s # 789s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_proxy_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 789s # g_datalist_clear (&proxy->priv->qdata); 789s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # const GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 789s # const gchar *sender_name G_GNUC_UNUSED, 789s # const gchar *signal_name, 789s # GVariant *parameters) 789s # { 789s # _ExtendedGDBusSignalInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # gsize n; 789s # guint signal_id; 789s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 789s # if (info == NULL) 789s # return; 789s # num_params = g_variant_n_children (parameters); 789s # paramv = g_new0 (GValue, num_params + 1); 789s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[0], proxy); 789s # g_variant_iter_init (&iter, parameters); 789s # n = 1; 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_signal_emitv (paramv, signal_id, 0, NULL); 789s # for (n = 0; n < num_params + 1; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 789s # GVariant *changed_properties, 789s # const gchar *const *invalidated_properties) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 789s # guint n; 789s # const gchar *key; 789s # GVariantIter *iter; 789s # _ExtendedGDBusPropertyInfo *info; 789s # g_variant_get (changed_properties, "a{sv}", &iter); 789s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 789s # g_datalist_remove_data (&proxy->priv->qdata, key); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # g_variant_iter_free (iter); 789s # for (n = 0; invalidated_properties[n] != NULL; n++) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 789s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 789s # #else 789s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 789s # #endif 789s # 789s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusProxyClass *proxy_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 789s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 789s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 789s # 789s # proxy_class = G_DBUS_PROXY_CLASS (klass); 789s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 789s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_sync: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_sync ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new_for_bus ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_sync: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_sync ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeleton: 789s # * 789s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeletonClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceSkeletonPrivate 789s # { 789s # GValue *properties; 789s # GList *changed_properties; 789s # GSource *changed_properties_idle_source; 789s # GMainContext *context; 789s # GMutex lock; 789s # }; 789s # 789s # static void 789s # _org_project_signaling_iface_skeleton_handle_method_call ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name, 789s # const gchar *method_name, 789s # GVariant *parameters, 789s # GDBusMethodInvocation *invocation, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # _ExtendedGDBusMethodInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # guint num_extra; 789s # gsize n; 789s # guint signal_id; 789s # GValue return_value = G_VALUE_INIT; 789s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 789s # g_assert (info != NULL); 789s # num_params = g_variant_n_children (parameters); 789s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 789s # n = 0; 789s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[n++], skeleton); 789s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 789s # g_value_set_object (¶mv[n++], invocation); 789s # if (info->pass_fdlist) 789s # { 789s # #ifdef G_OS_UNIX 789s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 789s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 789s # #else 789s # g_assert_not_reached (); 789s # #endif 789s # } 789s # g_variant_iter_init (&iter, parameters); 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_init (&return_value, G_TYPE_BOOLEAN); 789s # g_signal_emitv (paramv, signal_id, 0, &return_value); 789s # if (!g_value_get_boolean (&return_value)) 789s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 789s # g_value_unset (&return_value); 789s # for (n = 0; n < num_params + num_extra; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static GVariant * 789s # _org_project_signaling_iface_skeleton_handle_get_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # GVariant *ret; 789s # ret = NULL; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # g_value_init (&value, pspec->value_type); 789s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 789s # g_value_unset (&value); 789s # } 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _org_project_signaling_iface_skeleton_handle_set_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GVariant *variant, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # gboolean ret; 789s # ret = FALSE; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # if (info->use_gvariant) 789s # g_value_set_variant (&value, variant); 789s # else 789s # g_dbus_gvariant_to_gvalue (variant, &value); 789s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # g_value_unset (&value); 789s # ret = TRUE; 789s # } 789s # return ret; 789s # } 789s # 789s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 789s # { 789s # _org_project_signaling_iface_skeleton_handle_method_call, 789s # _org_project_signaling_iface_skeleton_handle_get_property, 789s # _org_project_signaling_iface_skeleton_handle_set_property, 789s # {NULL} 789s # }; 789s # 789s # static GDBusInterfaceInfo * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return org_project_signaling_iface_interface_info (); 789s # } 789s # 789s # static GDBusInterfaceVTable * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 789s # } 789s # 789s # static GVariant * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 789s # 789s # GVariantBuilder builder; 789s # guint n; 789s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 789s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 789s # goto out; 789s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 789s # { 789s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 789s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 789s # { 789s # GVariant *value; 789s # 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); 789s # if (value != NULL) 789s # { 789s # g_variant_take_ref (value); 789s # g_variant_builder_add (&builder, "{sv}", info->name, value); 789s # g_variant_unref (value); 789s # } 789s # } 789s # } 789s # out: 789s # return g_variant_builder_end (&builder); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 789s # OrgProjectSignalingIface *object, 789s # const gchar *arg_arg_s) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 789s # arg_arg_s)); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_skeleton_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 789s # if (skeleton->priv->changed_properties_idle_source != NULL) 789s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 789s # g_main_context_unref (skeleton->priv->context); 789s # g_mutex_clear (&skeleton->priv->lock); 789s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 789s # #else 789s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 789s # #endif 789s # 789s # g_mutex_init (&skeleton->priv->lock); 789s # skeleton->priv->context = g_main_context_ref_thread_default (); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusInterfaceSkeletonClass *skeleton_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 789s # 789s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 789s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 789s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 789s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 789s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 789s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_skeleton_new: 789s # * 789s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_skeleton_new (void) 789s # { 789s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 789s # } 789s # /tmp/tmpm6yz_g2t/tmpb49m_err.xml: 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6yz_g2t/tmpb49m_err.xml', '--output', '-', '--body'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifdef HAVE_CONFIG_H 789s # # include "config.h" 789s # #endif 789s # 789s # #include 789s # #ifdef G_OS_UNIX 789s # # include 789s # #endif 789s # 789s # #ifdef G_ENABLE_DEBUG 789s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 789s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 789s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 789s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 789s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 789s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 789s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 789s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 789s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 789s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 789s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 789s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 789s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 789s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 789s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 789s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 789s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 789s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 789s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 789s # #else /* !G_ENABLE_DEBUG */ 789s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 789s # * Do not access GValues directly in your code. Instead, use the 789s # * g_value_get_*() functions 789s # */ 789s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 789s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 789s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 789s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 789s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 789s # #endif /* !G_ENABLE_DEBUG */ 789s # 789s # typedef struct 789s # { 789s # GDBusArgInfo parent_struct; 789s # gboolean use_gvariant; 789s # } _ExtendedGDBusArgInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusMethodInfo parent_struct; 789s # const gchar *signal_name; 789s # gboolean pass_fdlist; 789s # } _ExtendedGDBusMethodInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusSignalInfo parent_struct; 789s # const gchar *signal_name; 789s # } _ExtendedGDBusSignalInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusPropertyInfo parent_struct; 789s # const gchar *hyphen_name; 789s # guint use_gvariant : 1; 789s # guint emits_changed_signal : 1; 789s # } _ExtendedGDBusPropertyInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusInterfaceInfo parent_struct; 789s # const gchar *hyphen_name; 789s # } _ExtendedGDBusInterfaceInfo; 789s # 789s # typedef struct 789s # { 789s # const _ExtendedGDBusPropertyInfo *info; 789s # guint prop_id; 789s # GValue orig_value; /* the value before the change */ 789s # } ChangedProperty; 789s # 789s # static void 789s # _changed_property_free (ChangedProperty *data) 789s # { 789s # g_value_unset (&data->orig_value); 789s # g_free (data); 789s # } 789s # 789s # static gboolean 789s # _g_strv_equal0 (gchar **a, gchar **b) 789s # { 789s # gboolean ret = FALSE; 789s # guint n; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # if (g_strv_length (a) != g_strv_length (b)) 789s # goto out; 789s # for (n = 0; a[n] != NULL; n++) 789s # if (g_strcmp0 (a[n], b[n]) != 0) 789s # goto out; 789s # ret = TRUE; 789s # out: 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _g_variant_equal0 (GVariant *a, GVariant *b) 789s # { 789s # gboolean ret = FALSE; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # ret = g_variant_equal (a, b); 789s # out: 789s # return ret; 789s # } 789s # 789s # G_GNUC_UNUSED static gboolean 789s # _g_value_equal (const GValue *a, const GValue *b) 789s # { 789s # gboolean ret = FALSE; 789s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 789s # switch (G_VALUE_TYPE (a)) 789s # { 789s # case G_TYPE_BOOLEAN: 789s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 789s # break; 789s # case G_TYPE_UCHAR: 789s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 789s # break; 789s # case G_TYPE_INT: 789s # ret = (g_value_get_int (a) == g_value_get_int (b)); 789s # break; 789s # case G_TYPE_UINT: 789s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 789s # break; 789s # case G_TYPE_INT64: 789s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 789s # break; 789s # case G_TYPE_UINT64: 789s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 789s # break; 789s # case G_TYPE_DOUBLE: 789s # { 789s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 789s # gdouble da = g_value_get_double (a); 789s # gdouble db = g_value_get_double (b); 789s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 789s # } 789s # break; 789s # case G_TYPE_STRING: 789s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 789s # break; 789s # case G_TYPE_VARIANT: 789s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 789s # break; 789s # default: 789s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 789s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 789s # else 789s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 789s # break; 789s # } 789s # return ret; 789s # } 789s # 789s # /* ------------------------------------------------------------------------ 789s # * Code for interface org.project.SignalingIface 789s # * ------------------------------------------------------------------------ 789s # */ 789s # 789s # /** 789s # * SECTION:OrgProjectSignalingIface 789s # * @title: OrgProjectSignalingIface 789s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 789s # * 789s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 789s # */ 789s # 789s # enum 789s # { 789s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 789s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 789s # }; 789s # 789s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 789s # 789s # /* ---- Introspection data for org.project.SignalingIface ---- */ 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SimpleSignal", 789s # NULL, 789s # NULL 789s # }, 789s # "simple-signal" 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 789s # { 789s # { 789s # -1, 789s # (gchar *) "arg_o", 789s # (gchar *) "o", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SingleArgSignalO", 789s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 789s # NULL 789s # }, 789s # "single-arg-signal-o" 789s # }; 789s # 789s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 789s # { 789s # { 789s # -1, 789s # (gchar *) "org.project.SignalingIface", 789s # NULL, 789s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 789s # NULL, 789s # NULL 789s # }, 789s # "org-project-signaling-iface", 789s # }; 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_interface_info: 789s # * 789s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 789s # * 789s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 789s # */ 789s # GDBusInterfaceInfo * 789s # org_project_signaling_iface_interface_info (void) 789s # { 789s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_override_properties: 789s # * @klass: The class structure for a #GObject derived class. 789s # * @property_id_begin: The property id to assign to the first overridden property. 789s # * 789s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 789s # * The properties are overridden in the order they are defined. 789s # * 789s # * Returns: The last property id. 789s # */ 789s # guint 789s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 789s # { 789s # return property_id_begin - 1; 789s # } 789s # 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_simple_signal ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VOID (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__STRING (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # 789s # /** 789s # * OrgProjectSignalingIface: 789s # * 789s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceIface: 789s # * @parent_iface: The parent interface. 789s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 789s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 789s # * 789s # * Virtual table for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 789s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 789s # 789s # static void 789s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # /* GObject signals for received D-Bus signals: */ 789s # /** 789s # * OrgProjectSignalingIface::simple-signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 789s # g_signal_new ("simple-signal", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_simple_signal, 789s # G_TYPE_NONE, 789s # 0); 789s # 789s # /** 789s # * OrgProjectSignalingIface::single-arg-signal-o: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_o: Argument. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 789s # g_signal_new ("single-arg-signal-o", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 789s # G_TYPE_NONE, 789s # 1, G_TYPE_STRING); 789s # 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_simple_signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * Emits the "SimpleSignal" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_single_arg_signal_o: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_o: Argument to pass with the signal. 789s # * 789s # * Emits the "SingleArgSignalO" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_single_arg_signal_o ( 789s # OrgProjectSignalingIface *object, 789s # const gchar *arg_arg_o) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxy: 789s # * 789s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxyClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceProxy. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceProxyPrivate 789s # { 789s # GData *qdata; 789s # }; 789s # 789s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_proxy_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 789s # g_datalist_clear (&proxy->priv->qdata); 789s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # const GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 789s # const gchar *sender_name G_GNUC_UNUSED, 789s # const gchar *signal_name, 789s # GVariant *parameters) 789s # { 789s # _ExtendedGDBusSignalInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # gsize n; 789s # guint signal_id; 789s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 789s # if (info == NULL) 789s # return; 789s # num_params = g_variant_n_children (parameters); 789s # paramv = g_new0 (GValue, num_params + 1); 789s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[0], proxy); 789s # g_variant_iter_init (&iter, parameters); 789s # n = 1; 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_signal_emitv (paramv, signal_id, 0, NULL); 789s # for (n = 0; n < num_params + 1; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 789s # GVariant *changed_properties, 789s # const gchar *const *invalidated_properties) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 789s # guint n; 789s # const gchar *key; 789s # GVariantIter *iter; 789s # _ExtendedGDBusPropertyInfo *info; 789s # g_variant_get (changed_properties, "a{sv}", &iter); 789s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 789s # g_datalist_remove_data (&proxy->priv->qdata, key); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # g_variant_iter_free (iter); 789s # for (n = 0; invalidated_properties[n] != NULL; n++) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 789s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 789s # #else 789s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 789s # #endif 789s # 789s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusProxyClass *proxy_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 789s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 789s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 789s # 789s # proxy_class = G_DBUS_PROXY_CLASS (klass); 789s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 789s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_sync: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_sync ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new_for_bus ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_sync: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_sync ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeleton: 789s # * 789s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeletonClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceSkeletonPrivate 789s # { 789s # GValue *properties; 789s # GList *changed_properties; 789s # GSource *changed_properties_idle_source; 789s # GMainContext *context; 789s # GMutex lock; 789s # }; 789s # 789s # static void 789s # _org_project_signaling_iface_skeleton_handle_method_call ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name, 789s # const gchar *method_name, 789s # GVariant *parameters, 789s # GDBusMethodInvocation *invocation, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # _ExtendedGDBusMethodInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # guint num_extra; 789s # gsize n; 789s # guint signal_id; 789s # GValue return_value = G_VALUE_INIT; 789s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 789s # g_assert (info != NULL); 789s # num_params = g_variant_n_children (parameters); 789s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 789s # n = 0; 789s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[n++], skeleton); 789s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 789s # g_value_set_object (¶mv[n++], invocation); 789s # if (info->pass_fdlist) 789s # { 789s # #ifdef G_OS_UNIX 789s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 789s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 789s # #else 789s # g_assert_not_reached (); 789s # #endif 789s # } 789s # g_variant_iter_init (&iter, parameters); 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_init (&return_value, G_TYPE_BOOLEAN); 789s # g_signal_emitv (paramv, signal_id, 0, &return_value); 789s # if (!g_value_get_boolean (&return_value)) 789s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 789s # g_value_unset (&return_value); 789s # for (n = 0; n < num_params + num_extra; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static GVariant * 789s # _org_project_signaling_iface_skeleton_handle_get_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # GVariant *ret; 789s # ret = NULL; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # g_value_init (&value, pspec->value_type); 789s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 789s # g_value_unset (&value); 789s # } 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _org_project_signaling_iface_skeleton_handle_set_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GVariant *variant, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # gboolean ret; 789s # ret = FALSE; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # if (info->use_gvariant) 789s # g_value_set_variant (&value, variant); 789s # else 789s # g_dbus_gvariant_to_gvalue (variant, &value); 789s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # g_value_unset (&value); 789s # ret = TRUE; 789s # } 789s # return ret; 789s # } 789s # 789s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 789s # { 789s # _org_project_signaling_iface_skeleton_handle_method_call, 789s # _org_project_signaling_iface_skeleton_handle_get_property, 789s # _org_project_signaling_iface_skeleton_handle_set_property, 789s # {NULL} 789s # }; 789s # 789s # static GDBusInterfaceInfo * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return org_project_signaling_iface_interface_info (); 789s # } 789s # 789s # static GDBusInterfaceVTable * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 789s # } 789s # 789s # static GVariant * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 789s # 789s # GVariantBuilder builder; 789s # guint n; 789s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 789s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 789s # goto out; 789s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 789s # { 789s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 789s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 789s # { 789s # GVariant *value; 789s # 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); 789s # if (value != NULL) 789s # { 789s # g_variant_take_ref (value); 789s # g_variant_builder_add (&builder, "{sv}", info->name, value); 789s # g_variant_unref (value); 789s # } 789s # } 789s # } 789s # out: 789s # return g_variant_builder_end (&builder); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 789s # OrgProjectSignalingIface *object, 789s # const gchar *arg_arg_o) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 789s # arg_arg_o)); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_skeleton_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 789s # if (skeleton->priv->changed_properties_idle_source != NULL) 789s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 789s # g_main_context_unref (skeleton->priv->context); 789s # g_mutex_clear (&skeleton->priv->lock); 789s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 789s # #else 789s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 789s # #endif 789s # 789s # g_mutex_init (&skeleton->priv->lock); 789s # skeleton->priv->context = g_main_context_ref_thread_default (); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusInterfaceSkeletonClass *skeleton_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 789s # 789s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 789s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 789s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 789s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 789s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 789s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_skeleton_new: 789s # * 789s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_skeleton_new (void) 789s # { 789s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 789s # } 789s # /tmp/tmpm6yz_g2t/tmpu72pqiof.xml: 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6yz_g2t/tmpu72pqiof.xml', '--output', '-', '--body'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifdef HAVE_CONFIG_H 789s # # include "config.h" 789s # #endif 789s # 789s # #include 789s # #ifdef G_OS_UNIX 789s # # include 789s # #endif 789s # 789s # #ifdef G_ENABLE_DEBUG 789s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 789s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 789s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 789s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 789s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 789s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 789s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 789s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 789s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 789s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 789s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 789s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 789s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 789s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 789s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 789s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 789s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 789s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 789s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 789s # #else /* !G_ENABLE_DEBUG */ 789s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 789s # * Do not access GValues directly in your code. Instead, use the 789s # * g_value_get_*() functions 789s # */ 789s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 789s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 789s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 789s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 789s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 789s # #endif /* !G_ENABLE_DEBUG */ 789s # 789s # typedef struct 789s # { 789s # GDBusArgInfo parent_struct; 789s # gboolean use_gvariant; 789s # } _ExtendedGDBusArgInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusMethodInfo parent_struct; 789s # const gchar *signal_name; 789s # gboolean pass_fdlist; 789s # } _ExtendedGDBusMethodInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusSignalInfo parent_struct; 789s # const gchar *signal_name; 789s # } _ExtendedGDBusSignalInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusPropertyInfo parent_struct; 789s # const gchar *hyphen_name; 789s # guint use_gvariant : 1; 789s # guint emits_changed_signal : 1; 789s # } _ExtendedGDBusPropertyInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusInterfaceInfo parent_struct; 789s # const gchar *hyphen_name; 789s # } _ExtendedGDBusInterfaceInfo; 789s # 789s # typedef struct 789s # { 789s # const _ExtendedGDBusPropertyInfo *info; 789s # guint prop_id; 789s # GValue orig_value; /* the value before the change */ 789s # } ChangedProperty; 789s # 789s # static void 789s # _changed_property_free (ChangedProperty *data) 789s # { 789s # g_value_unset (&data->orig_value); 789s # g_free (data); 789s # } 789s # 789s # static gboolean 789s # _g_strv_equal0 (gchar **a, gchar **b) 789s # { 789s # gboolean ret = FALSE; 789s # guint n; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # if (g_strv_length (a) != g_strv_length (b)) 789s # goto out; 789s # for (n = 0; a[n] != NULL; n++) 789s # if (g_strcmp0 (a[n], b[n]) != 0) 789s # goto out; 789s # ret = TRUE; 789s # out: 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _g_variant_equal0 (GVariant *a, GVariant *b) 789s # { 789s # gboolean ret = FALSE; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # ret = g_variant_equal (a, b); 789s # out: 789s # return ret; 789s # } 789s # 789s # G_GNUC_UNUSED static gboolean 789s # _g_value_equal (const GValue *a, const GValue *b) 789s # { 789s # gboolean ret = FALSE; 789s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 789s # switch (G_VALUE_TYPE (a)) 789s # { 789s # case G_TYPE_BOOLEAN: 789s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 789s # break; 789s # case G_TYPE_UCHAR: 789s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 789s # break; 789s # case G_TYPE_INT: 789s # ret = (g_value_get_int (a) == g_value_get_int (b)); 789s # break; 789s # case G_TYPE_UINT: 789s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 789s # break; 789s # case G_TYPE_INT64: 789s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 789s # break; 789s # case G_TYPE_UINT64: 789s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 789s # break; 789s # case G_TYPE_DOUBLE: 789s # { 789s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 789s # gdouble da = g_value_get_double (a); 789s # gdouble db = g_value_get_double (b); 789s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 789s # } 789s # break; 789s # case G_TYPE_STRING: 789s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 789s # break; 789s # case G_TYPE_VARIANT: 789s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 789s # break; 789s # default: 789s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 789s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 789s # else 789s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 789s # break; 789s # } 789s # return ret; 789s # } 789s # 789s # /* ------------------------------------------------------------------------ 789s # * Code for interface org.project.SignalingIface 789s # * ------------------------------------------------------------------------ 789s # */ 789s # 789s # /** 789s # * SECTION:OrgProjectSignalingIface 789s # * @title: OrgProjectSignalingIface 789s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 789s # * 789s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 789s # */ 789s # 789s # enum 789s # { 789s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 789s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 789s # }; 789s # 789s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 789s # 789s # /* ---- Introspection data for org.project.SignalingIface ---- */ 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SimpleSignal", 789s # NULL, 789s # NULL 789s # }, 789s # "simple-signal" 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 789s # { 789s # { 789s # -1, 789s # (gchar *) "arg_g", 789s # (gchar *) "g", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SingleArgSignalG", 789s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 789s # NULL 789s # }, 789s # "single-arg-signal-g" 789s # }; 789s # 789s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 789s # { 789s # { 789s # -1, 789s # (gchar *) "org.project.SignalingIface", 789s # NULL, 789s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 789s # NULL, 789s # NULL 789s # }, 789s # "org-project-signaling-iface", 789s # }; 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_interface_info: 789s # * 789s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 789s # * 789s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 789s # */ 789s # GDBusInterfaceInfo * 789s # org_project_signaling_iface_interface_info (void) 789s # { 789s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_override_properties: 789s # * @klass: The class structure for a #GObject derived class. 789s # * @property_id_begin: The property id to assign to the first overridden property. 789s # * 789s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 789s # * The properties are overridden in the order they are defined. 789s # * 789s # * Returns: The last property id. 789s # */ 789s # guint 789s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 789s # { 789s # return property_id_begin - 1; 789s # } 789s # 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_simple_signal ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VOID (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__STRING (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # 789s # /** 789s # * OrgProjectSignalingIface: 789s # * 789s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceIface: 789s # * @parent_iface: The parent interface. 789s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 789s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 789s # * 789s # * Virtual table for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 789s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 789s # 789s # static void 789s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # /* GObject signals for received D-Bus signals: */ 789s # /** 789s # * OrgProjectSignalingIface::simple-signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 789s # g_signal_new ("simple-signal", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_simple_signal, 789s # G_TYPE_NONE, 789s # 0); 789s # 789s # /** 789s # * OrgProjectSignalingIface::single-arg-signal-g: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_g: Argument. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 789s # g_signal_new ("single-arg-signal-g", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 789s # G_TYPE_NONE, 789s # 1, G_TYPE_STRING); 789s # 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_simple_signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * Emits the "SimpleSignal" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_single_arg_signal_g: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_g: Argument to pass with the signal. 789s # * 789s # * Emits the "SingleArgSignalG" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_single_arg_signal_g ( 789s # OrgProjectSignalingIface *object, 789s # const gchar *arg_arg_g) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxy: 789s # * 789s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxyClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceProxy. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceProxyPrivate 789s # { 789s # GData *qdata; 789s # }; 789s # 789s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_proxy_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 789s # g_datalist_clear (&proxy->priv->qdata); 789s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # const GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 789s # const gchar *sender_name G_GNUC_UNUSED, 789s # const gchar *signal_name, 789s # GVariant *parameters) 789s # { 789s # _ExtendedGDBusSignalInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # gsize n; 789s # guint signal_id; 789s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 789s # if (info == NULL) 789s # return; 789s # num_params = g_variant_n_children (parameters); 789s # paramv = g_new0 (GValue, num_params + 1); 789s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[0], proxy); 789s # g_variant_iter_init (&iter, parameters); 789s # n = 1; 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_signal_emitv (paramv, signal_id, 0, NULL); 789s # for (n = 0; n < num_params + 1; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 789s # GVariant *changed_properties, 789s # const gchar *const *invalidated_properties) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 789s # guint n; 789s # const gchar *key; 789s # GVariantIter *iter; 789s # _ExtendedGDBusPropertyInfo *info; 789s # g_variant_get (changed_properties, "a{sv}", &iter); 789s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 789s # g_datalist_remove_data (&proxy->priv->qdata, key); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # g_variant_iter_free (iter); 789s # for (n = 0; invalidated_properties[n] != NULL; n++) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 789s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 789s # #else 789s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 789s # #endif 789s # 789s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusProxyClass *proxy_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 789s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 789s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 789s # 789s # proxy_class = G_DBUS_PROXY_CLASS (klass); 789s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 789s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_sync: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_sync ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new_for_bus ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_sync: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_sync ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeleton: 789s # * 789s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeletonClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceSkeletonPrivate 789s # { 789s # GValue *properties; 789s # GList *changed_properties; 789s # GSource *changed_properties_idle_source; 789s # GMainContext *context; 789s # GMutex lock; 789s # }; 789s # 789s # static void 789s # _org_project_signaling_iface_skeleton_handle_method_call ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name, 789s # const gchar *method_name, 789s # GVariant *parameters, 789s # GDBusMethodInvocation *invocation, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # _ExtendedGDBusMethodInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # guint num_extra; 789s # gsize n; 789s # guint signal_id; 789s # GValue return_value = G_VALUE_INIT; 789s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 789s # g_assert (info != NULL); 789s # num_params = g_variant_n_children (parameters); 789s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 789s # n = 0; 789s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[n++], skeleton); 789s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 789s # g_value_set_object (¶mv[n++], invocation); 789s # if (info->pass_fdlist) 789s # { 789s # #ifdef G_OS_UNIX 789s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 789s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 789s # #else 789s # g_assert_not_reached (); 789s # #endif 789s # } 789s # g_variant_iter_init (&iter, parameters); 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_init (&return_value, G_TYPE_BOOLEAN); 789s # g_signal_emitv (paramv, signal_id, 0, &return_value); 789s # if (!g_value_get_boolean (&return_value)) 789s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 789s # g_value_unset (&return_value); 789s # for (n = 0; n < num_params + num_extra; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static GVariant * 789s # _org_project_signaling_iface_skeleton_handle_get_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # GVariant *ret; 789s # ret = NULL; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # g_value_init (&value, pspec->value_type); 789s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 789s # g_value_unset (&value); 789s # } 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _org_project_signaling_iface_skeleton_handle_set_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GVariant *variant, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # gboolean ret; 789s # ret = FALSE; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # if (info->use_gvariant) 789s # g_value_set_variant (&value, variant); 789s # else 789s # g_dbus_gvariant_to_gvalue (variant, &value); 789s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # g_value_unset (&value); 789s # ret = TRUE; 789s # } 789s # return ret; 789s # } 789s # 789s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 789s # { 789s # _org_project_signaling_iface_skeleton_handle_method_call, 789s # _org_project_signaling_iface_skeleton_handle_get_property, 789s # _org_project_signaling_iface_skeleton_handle_set_property, 789s # {NULL} 789s # }; 789s # 789s # static GDBusInterfaceInfo * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return org_project_signaling_iface_interface_info (); 789s # } 789s # 789s # static GDBusInterfaceVTable * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 789s # } 789s # 789s # static GVariant * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 789s # 789s # GVariantBuilder builder; 789s # guint n; 789s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 789s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 789s # goto out; 789s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 789s # { 789s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 789s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 789s # { 789s # GVariant *value; 789s # 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); 789s # if (value != NULL) 789s # { 789s # g_variant_take_ref (value); 789s # g_variant_builder_add (&builder, "{sv}", info->name, value); 789s # g_variant_unref (value); 789s # } 789s # } 789s # } 789s # out: 789s # return g_variant_builder_end (&builder); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 789s # OrgProjectSignalingIface *object, 789s # const gchar *arg_arg_g) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 789s # arg_arg_g)); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_skeleton_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 789s # if (skeleton->priv->changed_properties_idle_source != NULL) 789s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 789s # g_main_context_unref (skeleton->priv->context); 789s # g_mutex_clear (&skeleton->priv->lock); 789s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 789s # #else 789s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 789s # #endif 789s # 789s # g_mutex_init (&skeleton->priv->lock); 789s # skeleton->priv->context = g_main_context_ref_thread_default (); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusInterfaceSkeletonClass *skeleton_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 789s # 789s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 789s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 789s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 789s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 789s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 789s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_skeleton_new: 789s # * 789s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_skeleton_new (void) 789s # { 789s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 789s # } 789s # /tmp/tmpm6yz_g2t/tmpnw2g8fkg.xml: 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6yz_g2t/tmpnw2g8fkg.xml', '--output', '-', '--body'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifdef HAVE_CONFIG_H 789s # # include "config.h" 789s # #endif 789s # 789s # #include 789s # #ifdef G_OS_UNIX 789s # # include 789s # #endif 789s # 789s # #ifdef G_ENABLE_DEBUG 789s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 789s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 789s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 789s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 789s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 789s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 789s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 789s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 789s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 789s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 789s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 789s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 789s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 789s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 789s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 789s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 789s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 789s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 789s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 789s # #else /* !G_ENABLE_DEBUG */ 789s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 789s # * Do not access GValues directly in your code. Instead, use the 789s # * g_value_get_*() functions 789s # */ 789s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 789s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 789s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 789s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 789s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 789s # #endif /* !G_ENABLE_DEBUG */ 789s # 789s # typedef struct 789s # { 789s # GDBusArgInfo parent_struct; 789s # gboolean use_gvariant; 789s # } _ExtendedGDBusArgInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusMethodInfo parent_struct; 789s # const gchar *signal_name; 789s # gboolean pass_fdlist; 789s # } _ExtendedGDBusMethodInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusSignalInfo parent_struct; 789s # const gchar *signal_name; 789s # } _ExtendedGDBusSignalInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusPropertyInfo parent_struct; 789s # const gchar *hyphen_name; 789s # guint use_gvariant : 1; 789s # guint emits_changed_signal : 1; 789s # } _ExtendedGDBusPropertyInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusInterfaceInfo parent_struct; 789s # const gchar *hyphen_name; 789s # } _ExtendedGDBusInterfaceInfo; 789s # 789s # typedef struct 789s # { 789s # const _ExtendedGDBusPropertyInfo *info; 789s # guint prop_id; 789s # GValue orig_value; /* the value before the change */ 789s # } ChangedProperty; 789s # 789s # static void 789s # _changed_property_free (ChangedProperty *data) 789s # { 789s # g_value_unset (&data->orig_value); 789s # g_free (data); 789s # } 789s # 789s # static gboolean 789s # _g_strv_equal0 (gchar **a, gchar **b) 789s # { 789s # gboolean ret = FALSE; 789s # guint n; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # if (g_strv_length (a) != g_strv_length (b)) 789s # goto out; 789s # for (n = 0; a[n] != NULL; n++) 789s # if (g_strcmp0 (a[n], b[n]) != 0) 789s # goto out; 789s # ret = TRUE; 789s # out: 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _g_variant_equal0 (GVariant *a, GVariant *b) 789s # { 789s # gboolean ret = FALSE; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # ret = g_variant_equal (a, b); 789s # out: 789s # return ret; 789s # } 789s # 789s # G_GNUC_UNUSED static gboolean 789s # _g_value_equal (const GValue *a, const GValue *b) 789s # { 789s # gboolean ret = FALSE; 789s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 789s # switch (G_VALUE_TYPE (a)) 789s # { 789s # case G_TYPE_BOOLEAN: 789s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 789s # break; 789s # case G_TYPE_UCHAR: 789s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 789s # break; 789s # case G_TYPE_INT: 789s # ret = (g_value_get_int (a) == g_value_get_int (b)); 789s # break; 789s # case G_TYPE_UINT: 789s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 789s # break; 789s # case G_TYPE_INT64: 789s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 789s # break; 789s # case G_TYPE_UINT64: 789s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 789s # break; 789s # case G_TYPE_DOUBLE: 789s # { 789s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 789s # gdouble da = g_value_get_double (a); 789s # gdouble db = g_value_get_double (b); 789s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 789s # } 789s # break; 789s # case G_TYPE_STRING: 789s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 789s # break; 789s # case G_TYPE_VARIANT: 789s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 789s # break; 789s # default: 789s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 789s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 789s # else 789s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 789s # break; 789s # } 789s # return ret; 789s # } 789s # 789s # /* ------------------------------------------------------------------------ 789s # * Code for interface org.project.SignalingIface 789s # * ------------------------------------------------------------------------ 789s # */ 789s # 789s # /** 789s # * SECTION:OrgProjectSignalingIface 789s # * @title: OrgProjectSignalingIface 789s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 789s # * 789s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 789s # */ 789s # 789s # enum 789s # { 789s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 789s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 789s # }; 789s # 789s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 789s # 789s # /* ---- Introspection data for org.project.SignalingIface ---- */ 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SimpleSignal", 789s # NULL, 789s # NULL 789s # }, 789s # "simple-signal" 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 789s # { 789s # { 789s # -1, 789s # (gchar *) "arg_h", 789s # (gchar *) "h", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SingleArgSignalH", 789s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 789s # NULL 789s # }, 789s # "single-arg-signal-h" 789s # }; 789s # 789s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 789s # { 789s # { 789s # -1, 789s # (gchar *) "org.project.SignalingIface", 789s # NULL, 789s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 789s # NULL, 789s # NULL 789s # }, 789s # "org-project-signaling-iface", 789s # }; 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_interface_info: 789s # * 789s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 789s # * 789s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 789s # */ 789s # GDBusInterfaceInfo * 789s # org_project_signaling_iface_interface_info (void) 789s # { 789s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_override_properties: 789s # * @klass: The class structure for a #GObject derived class. 789s # * @property_id_begin: The property id to assign to the first overridden property. 789s # * 789s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 789s # * The properties are overridden in the order they are defined. 789s # * 789s # * Returns: The last property id. 789s # */ 789s # guint 789s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 789s # { 789s # return property_id_begin - 1; 789s # } 789s # 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_simple_signal ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VOID (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VARIANT (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # 789s # /** 789s # * OrgProjectSignalingIface: 789s # * 789s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceIface: 789s # * @parent_iface: The parent interface. 789s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 789s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 789s # * 789s # * Virtual table for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 789s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 789s # 789s # static void 789s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # /* GObject signals for received D-Bus signals: */ 789s # /** 789s # * OrgProjectSignalingIface::simple-signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 789s # g_signal_new ("simple-signal", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_simple_signal, 789s # G_TYPE_NONE, 789s # 0); 789s # 789s # /** 789s # * OrgProjectSignalingIface::single-arg-signal-h: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_h: Argument. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 789s # g_signal_new ("single-arg-signal-h", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 789s # G_TYPE_NONE, 789s # 1, G_TYPE_VARIANT); 789s # 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_simple_signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * Emits the "SimpleSignal" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_single_arg_signal_h: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_h: Argument to pass with the signal. 789s # * 789s # * Emits the "SingleArgSignalH" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_single_arg_signal_h ( 789s # OrgProjectSignalingIface *object, 789s # GVariant *arg_arg_h) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxy: 789s # * 789s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxyClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceProxy. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceProxyPrivate 789s # { 789s # GData *qdata; 789s # }; 789s # 789s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_proxy_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 789s # g_datalist_clear (&proxy->priv->qdata); 789s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # const GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 789s # const gchar *sender_name G_GNUC_UNUSED, 789s # const gchar *signal_name, 789s # GVariant *parameters) 789s # { 789s # _ExtendedGDBusSignalInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # gsize n; 789s # guint signal_id; 789s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 789s # if (info == NULL) 789s # return; 789s # num_params = g_variant_n_children (parameters); 789s # paramv = g_new0 (GValue, num_params + 1); 789s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[0], proxy); 789s # g_variant_iter_init (&iter, parameters); 789s # n = 1; 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_signal_emitv (paramv, signal_id, 0, NULL); 789s # for (n = 0; n < num_params + 1; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 789s # GVariant *changed_properties, 789s # const gchar *const *invalidated_properties) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 789s # guint n; 789s # const gchar *key; 789s # GVariantIter *iter; 789s # _ExtendedGDBusPropertyInfo *info; 789s # g_variant_get (changed_properties, "a{sv}", &iter); 789s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 789s # g_datalist_remove_data (&proxy->priv->qdata, key); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # g_variant_iter_free (iter); 789s # for (n = 0; invalidated_properties[n] != NULL; n++) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 789s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 789s # #else 789s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 789s # #endif 789s # 789s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusProxyClass *proxy_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 789s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 789s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 789s # 789s # proxy_class = G_DBUS_PROXY_CLASS (klass); 789s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 789s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_sync: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_sync ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new_for_bus ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_sync: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_sync ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeleton: 789s # * 789s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeletonClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceSkeletonPrivate 789s # { 789s # GValue *properties; 789s # GList *changed_properties; 789s # GSource *changed_properties_idle_source; 789s # GMainContext *context; 789s # GMutex lock; 789s # }; 789s # 789s # static void 789s # _org_project_signaling_iface_skeleton_handle_method_call ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name, 789s # const gchar *method_name, 789s # GVariant *parameters, 789s # GDBusMethodInvocation *invocation, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # _ExtendedGDBusMethodInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # guint num_extra; 789s # gsize n; 789s # guint signal_id; 789s # GValue return_value = G_VALUE_INIT; 789s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 789s # g_assert (info != NULL); 789s # num_params = g_variant_n_children (parameters); 789s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 789s # n = 0; 789s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[n++], skeleton); 789s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 789s # g_value_set_object (¶mv[n++], invocation); 789s # if (info->pass_fdlist) 789s # { 789s # #ifdef G_OS_UNIX 789s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 789s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 789s # #else 789s # g_assert_not_reached (); 789s # #endif 789s # } 789s # g_variant_iter_init (&iter, parameters); 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_init (&return_value, G_TYPE_BOOLEAN); 789s # g_signal_emitv (paramv, signal_id, 0, &return_value); 789s # if (!g_value_get_boolean (&return_value)) 789s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 789s # g_value_unset (&return_value); 789s # for (n = 0; n < num_params + num_extra; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static GVariant * 789s # _org_project_signaling_iface_skeleton_handle_get_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # GVariant *ret; 789s # ret = NULL; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # g_value_init (&value, pspec->value_type); 789s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 789s # g_value_unset (&value); 789s # } 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _org_project_signaling_iface_skeleton_handle_set_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GVariant *variant, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # gboolean ret; 789s # ret = FALSE; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # if (info->use_gvariant) 789s # g_value_set_variant (&value, variant); 789s # else 789s # g_dbus_gvariant_to_gvalue (variant, &value); 789s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # g_value_unset (&value); 789s # ret = TRUE; 789s # } 789s # return ret; 789s # } 789s # 789s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 789s # { 789s # _org_project_signaling_iface_skeleton_handle_method_call, 789s # _org_project_signaling_iface_skeleton_handle_get_property, 789s # _org_project_signaling_iface_skeleton_handle_set_property, 789s # {NULL} 789s # }; 789s # 789s # static GDBusInterfaceInfo * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return org_project_signaling_iface_interface_info (); 789s # } 789s # 789s # static GDBusInterfaceVTable * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 789s # } 789s # 789s # static GVariant * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 789s # 789s # GVariantBuilder builder; 789s # guint n; 789s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 789s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 789s # goto out; 789s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 789s # { 789s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 789s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 789s # { 789s # GVariant *value; 789s # 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); 789s # if (value != NULL) 789s # { 789s # g_variant_take_ref (value); 789s # g_variant_builder_add (&builder, "{sv}", info->name, value); 789s # g_variant_unref (value); 789s # } 789s # } 789s # } 789s # out: 789s # return g_variant_builder_end (&builder); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 789s # OrgProjectSignalingIface *object, 789s # GVariant *arg_arg_h) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 789s # arg_arg_h)); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_skeleton_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 789s # if (skeleton->priv->changed_properties_idle_source != NULL) 789s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 789s # g_main_context_unref (skeleton->priv->context); 789s # g_mutex_clear (&skeleton->priv->lock); 789s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 789s # #else 789s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 789s # #endif 789s # 789s # g_mutex_init (&skeleton->priv->lock); 789s # skeleton->priv->context = g_main_context_ref_thread_default (); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusInterfaceSkeletonClass *skeleton_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 789s # 789s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 789s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 789s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 789s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 789s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 789s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_skeleton_new: 789s # * 789s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_skeleton_new (void) 789s # { 789s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 789s # } 789s # /tmp/tmpm6yz_g2t/tmpws_4mbiv.xml: 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6yz_g2t/tmpws_4mbiv.xml', '--output', '-', '--body'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifdef HAVE_CONFIG_H 789s # # include "config.h" 789s # #endif 789s # 789s # #include 789s # #ifdef G_OS_UNIX 789s # # include 789s # #endif 789s # 789s # #ifdef G_ENABLE_DEBUG 789s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 789s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 789s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 789s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 789s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 789s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 789s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 789s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 789s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 789s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 789s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 789s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 789s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 789s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 789s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 789s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 789s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 789s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 789s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 789s # #else /* !G_ENABLE_DEBUG */ 789s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 789s # * Do not access GValues directly in your code. Instead, use the 789s # * g_value_get_*() functions 789s # */ 789s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 789s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 789s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 789s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 789s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 789s # #endif /* !G_ENABLE_DEBUG */ 789s # 789s # typedef struct 789s # { 789s # GDBusArgInfo parent_struct; 789s # gboolean use_gvariant; 789s # } _ExtendedGDBusArgInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusMethodInfo parent_struct; 789s # const gchar *signal_name; 789s # gboolean pass_fdlist; 789s # } _ExtendedGDBusMethodInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusSignalInfo parent_struct; 789s # const gchar *signal_name; 789s # } _ExtendedGDBusSignalInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusPropertyInfo parent_struct; 789s # const gchar *hyphen_name; 789s # guint use_gvariant : 1; 789s # guint emits_changed_signal : 1; 789s # } _ExtendedGDBusPropertyInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusInterfaceInfo parent_struct; 789s # const gchar *hyphen_name; 789s # } _ExtendedGDBusInterfaceInfo; 789s # 789s # typedef struct 789s # { 789s # const _ExtendedGDBusPropertyInfo *info; 789s # guint prop_id; 789s # GValue orig_value; /* the value before the change */ 789s # } ChangedProperty; 789s # 789s # static void 789s # _changed_property_free (ChangedProperty *data) 789s # { 789s # g_value_unset (&data->orig_value); 789s # g_free (data); 789s # } 789s # 789s # static gboolean 789s # _g_strv_equal0 (gchar **a, gchar **b) 789s # { 789s # gboolean ret = FALSE; 789s # guint n; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # if (g_strv_length (a) != g_strv_length (b)) 789s # goto out; 789s # for (n = 0; a[n] != NULL; n++) 789s # if (g_strcmp0 (a[n], b[n]) != 0) 789s # goto out; 789s # ret = TRUE; 789s # out: 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _g_variant_equal0 (GVariant *a, GVariant *b) 789s # { 789s # gboolean ret = FALSE; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # ret = g_variant_equal (a, b); 789s # out: 789s # return ret; 789s # } 789s # 789s # G_GNUC_UNUSED static gboolean 789s # _g_value_equal (const GValue *a, const GValue *b) 789s # { 789s # gboolean ret = FALSE; 789s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 789s # switch (G_VALUE_TYPE (a)) 789s # { 789s # case G_TYPE_BOOLEAN: 789s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 789s # break; 789s # case G_TYPE_UCHAR: 789s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 789s # break; 789s # case G_TYPE_INT: 789s # ret = (g_value_get_int (a) == g_value_get_int (b)); 789s # break; 789s # case G_TYPE_UINT: 789s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 789s # break; 789s # case G_TYPE_INT64: 789s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 789s # break; 789s # case G_TYPE_UINT64: 789s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 789s # break; 789s # case G_TYPE_DOUBLE: 789s # { 789s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 789s # gdouble da = g_value_get_double (a); 789s # gdouble db = g_value_get_double (b); 789s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 789s # } 789s # break; 789s # case G_TYPE_STRING: 789s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 789s # break; 789s # case G_TYPE_VARIANT: 789s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 789s # break; 789s # default: 789s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 789s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 789s # else 789s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 789s # break; 789s # } 789s # return ret; 789s # } 789s # 789s # /* ------------------------------------------------------------------------ 789s # * Code for interface org.project.SignalingIface 789s # * ------------------------------------------------------------------------ 789s # */ 789s # 789s # /** 789s # * SECTION:OrgProjectSignalingIface 789s # * @title: OrgProjectSignalingIface 789s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 789s # * 789s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 789s # */ 789s # 789s # enum 789s # { 789s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 789s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 789s # }; 789s # 789s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 789s # 789s # /* ---- Introspection data for org.project.SignalingIface ---- */ 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SimpleSignal", 789s # NULL, 789s # NULL 789s # }, 789s # "simple-signal" 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 789s # { 789s # { 789s # -1, 789s # (gchar *) "arg_ay", 789s # (gchar *) "ay", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SingleArgSignalAy", 789s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 789s # NULL 789s # }, 789s # "single-arg-signal-ay" 789s # }; 789s # 789s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 789s # { 789s # { 789s # -1, 789s # (gchar *) "org.project.SignalingIface", 789s # NULL, 789s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 789s # NULL, 789s # NULL 789s # }, 789s # "org-project-signaling-iface", 789s # }; 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_interface_info: 789s # * 789s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 789s # * 789s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 789s # */ 789s # GDBusInterfaceInfo * 789s # org_project_signaling_iface_interface_info (void) 789s # { 789s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_override_properties: 789s # * @klass: The class structure for a #GObject derived class. 789s # * @property_id_begin: The property id to assign to the first overridden property. 789s # * 789s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 789s # * The properties are overridden in the order they are defined. 789s # * 789s # * Returns: The last property id. 789s # */ 789s # guint 789s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 789s # { 789s # return property_id_begin - 1; 789s # } 789s # 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_simple_signal ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VOID (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__STRING (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # 789s # /** 789s # * OrgProjectSignalingIface: 789s # * 789s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceIface: 789s # * @parent_iface: The parent interface. 789s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 789s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 789s # * 789s # * Virtual table for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 789s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 789s # 789s # static void 789s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # /* GObject signals for received D-Bus signals: */ 789s # /** 789s # * OrgProjectSignalingIface::simple-signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 789s # g_signal_new ("simple-signal", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_simple_signal, 789s # G_TYPE_NONE, 789s # 0); 789s # 789s # /** 789s # * OrgProjectSignalingIface::single-arg-signal-ay: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_ay: Argument. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 789s # g_signal_new ("single-arg-signal-ay", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 789s # G_TYPE_NONE, 789s # 1, G_TYPE_STRING); 789s # 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_simple_signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * Emits the "SimpleSignal" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_single_arg_signal_ay: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_ay: Argument to pass with the signal. 789s # * 789s # * Emits the "SingleArgSignalAy" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_single_arg_signal_ay ( 789s # OrgProjectSignalingIface *object, 789s # const gchar *arg_arg_ay) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxy: 789s # * 789s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxyClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceProxy. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceProxyPrivate 789s # { 789s # GData *qdata; 789s # }; 789s # 789s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_proxy_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 789s # g_datalist_clear (&proxy->priv->qdata); 789s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # const GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 789s # const gchar *sender_name G_GNUC_UNUSED, 789s # const gchar *signal_name, 789s # GVariant *parameters) 789s # { 789s # _ExtendedGDBusSignalInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # gsize n; 789s # guint signal_id; 789s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 789s # if (info == NULL) 789s # return; 789s # num_params = g_variant_n_children (parameters); 789s # paramv = g_new0 (GValue, num_params + 1); 789s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[0], proxy); 789s # g_variant_iter_init (&iter, parameters); 789s # n = 1; 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_signal_emitv (paramv, signal_id, 0, NULL); 789s # for (n = 0; n < num_params + 1; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 789s # GVariant *changed_properties, 789s # const gchar *const *invalidated_properties) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 789s # guint n; 789s # const gchar *key; 789s # GVariantIter *iter; 789s # _ExtendedGDBusPropertyInfo *info; 789s # g_variant_get (changed_properties, "a{sv}", &iter); 789s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 789s # g_datalist_remove_data (&proxy->priv->qdata, key); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # g_variant_iter_free (iter); 789s # for (n = 0; invalidated_properties[n] != NULL; n++) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 789s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 789s # #else 789s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 789s # #endif 789s # 789s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusProxyClass *proxy_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 789s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 789s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 789s # 789s # proxy_class = G_DBUS_PROXY_CLASS (klass); 789s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 789s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_sync: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_sync ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new_for_bus ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_sync: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_sync ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeleton: 789s # * 789s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeletonClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceSkeletonPrivate 789s # { 789s # GValue *properties; 789s # GList *changed_properties; 789s # GSource *changed_properties_idle_source; 789s # GMainContext *context; 789s # GMutex lock; 789s # }; 789s # 789s # static void 789s # _org_project_signaling_iface_skeleton_handle_method_call ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name, 789s # const gchar *method_name, 789s # GVariant *parameters, 789s # GDBusMethodInvocation *invocation, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # _ExtendedGDBusMethodInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # guint num_extra; 789s # gsize n; 789s # guint signal_id; 789s # GValue return_value = G_VALUE_INIT; 789s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 789s # g_assert (info != NULL); 789s # num_params = g_variant_n_children (parameters); 789s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 789s # n = 0; 789s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[n++], skeleton); 789s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 789s # g_value_set_object (¶mv[n++], invocation); 789s # if (info->pass_fdlist) 789s # { 789s # #ifdef G_OS_UNIX 789s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 789s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 789s # #else 789s # g_assert_not_reached (); 789s # #endif 789s # } 789s # g_variant_iter_init (&iter, parameters); 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_init (&return_value, G_TYPE_BOOLEAN); 789s # g_signal_emitv (paramv, signal_id, 0, &return_value); 789s # if (!g_value_get_boolean (&return_value)) 789s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 789s # g_value_unset (&return_value); 789s # for (n = 0; n < num_params + num_extra; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static GVariant * 789s # _org_project_signaling_iface_skeleton_handle_get_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # GVariant *ret; 789s # ret = NULL; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # g_value_init (&value, pspec->value_type); 789s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 789s # g_value_unset (&value); 789s # } 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _org_project_signaling_iface_skeleton_handle_set_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GVariant *variant, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # gboolean ret; 789s # ret = FALSE; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # if (info->use_gvariant) 789s # g_value_set_variant (&value, variant); 789s # else 789s # g_dbus_gvariant_to_gvalue (variant, &value); 789s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # g_value_unset (&value); 789s # ret = TRUE; 789s # } 789s # return ret; 789s # } 789s # 789s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 789s # { 789s # _org_project_signaling_iface_skeleton_handle_method_call, 789s # _org_project_signaling_iface_skeleton_handle_get_property, 789s # _org_project_signaling_iface_skeleton_handle_set_property, 789s # {NULL} 789s # }; 789s # 789s # static GDBusInterfaceInfo * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return org_project_signaling_iface_interface_info (); 789s # } 789s # 789s # static GDBusInterfaceVTable * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 789s # } 789s # 789s # static GVariant * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 789s # 789s # GVariantBuilder builder; 789s # guint n; 789s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 789s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 789s # goto out; 789s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 789s # { 789s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 789s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 789s # { 789s # GVariant *value; 789s # 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); 789s # if (value != NULL) 789s # { 789s # g_variant_take_ref (value); 789s # g_variant_builder_add (&builder, "{sv}", info->name, value); 789s # g_variant_unref (value); 789s # } 789s # } 789s # } 789s # out: 789s # return g_variant_builder_end (&builder); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 789s # OrgProjectSignalingIface *object, 789s # const gchar *arg_arg_ay) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 789s # arg_arg_ay)); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_skeleton_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 789s # if (skeleton->priv->changed_properties_idle_source != NULL) 789s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 789s # g_main_context_unref (skeleton->priv->context); 789s # g_mutex_clear (&skeleton->priv->lock); 789s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 789s # #else 789s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 789s # #endif 789s # 789s # g_mutex_init (&skeleton->priv->lock); 789s # skeleton->priv->context = g_main_context_ref_thread_default (); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusInterfaceSkeletonClass *skeleton_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 789s # 789s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 789s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 789s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 789s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 789s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 789s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_skeleton_new: 789s # * 789s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_skeleton_new (void) 789s # { 789s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 789s # } 789s # /tmp/tmpm6yz_g2t/tmp26mmqz6_.xml: 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6yz_g2t/tmp26mmqz6_.xml', '--output', '-', '--body'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifdef HAVE_CONFIG_H 789s # # include "config.h" 789s # #endif 789s # 789s # #include 789s # #ifdef G_OS_UNIX 789s # # include 789s # #endif 789s # 789s # #ifdef G_ENABLE_DEBUG 789s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 789s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 789s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 789s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 789s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 789s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 789s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 789s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 789s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 789s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 789s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 789s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 789s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 789s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 789s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 789s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 789s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 789s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 789s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 789s # #else /* !G_ENABLE_DEBUG */ 789s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 789s # * Do not access GValues directly in your code. Instead, use the 789s # * g_value_get_*() functions 789s # */ 789s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 789s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 789s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 789s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 789s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 789s # #endif /* !G_ENABLE_DEBUG */ 789s # 789s # typedef struct 789s # { 789s # GDBusArgInfo parent_struct; 789s # gboolean use_gvariant; 789s # } _ExtendedGDBusArgInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusMethodInfo parent_struct; 789s # const gchar *signal_name; 789s # gboolean pass_fdlist; 789s # } _ExtendedGDBusMethodInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusSignalInfo parent_struct; 789s # const gchar *signal_name; 789s # } _ExtendedGDBusSignalInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusPropertyInfo parent_struct; 789s # const gchar *hyphen_name; 789s # guint use_gvariant : 1; 789s # guint emits_changed_signal : 1; 789s # } _ExtendedGDBusPropertyInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusInterfaceInfo parent_struct; 789s # const gchar *hyphen_name; 789s # } _ExtendedGDBusInterfaceInfo; 789s # 789s # typedef struct 789s # { 789s # const _ExtendedGDBusPropertyInfo *info; 789s # guint prop_id; 789s # GValue orig_value; /* the value before the change */ 789s # } ChangedProperty; 789s # 789s # static void 789s # _changed_property_free (ChangedProperty *data) 789s # { 789s # g_value_unset (&data->orig_value); 789s # g_free (data); 789s # } 789s # 789s # static gboolean 789s # _g_strv_equal0 (gchar **a, gchar **b) 789s # { 789s # gboolean ret = FALSE; 789s # guint n; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # if (g_strv_length (a) != g_strv_length (b)) 789s # goto out; 789s # for (n = 0; a[n] != NULL; n++) 789s # if (g_strcmp0 (a[n], b[n]) != 0) 789s # goto out; 789s # ret = TRUE; 789s # out: 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _g_variant_equal0 (GVariant *a, GVariant *b) 789s # { 789s # gboolean ret = FALSE; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # ret = g_variant_equal (a, b); 789s # out: 789s # return ret; 789s # } 789s # 789s # G_GNUC_UNUSED static gboolean 789s # _g_value_equal (const GValue *a, const GValue *b) 789s # { 789s # gboolean ret = FALSE; 789s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 789s # switch (G_VALUE_TYPE (a)) 789s # { 789s # case G_TYPE_BOOLEAN: 789s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 789s # break; 789s # case G_TYPE_UCHAR: 789s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 789s # break; 789s # case G_TYPE_INT: 789s # ret = (g_value_get_int (a) == g_value_get_int (b)); 789s # break; 789s # case G_TYPE_UINT: 789s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 789s # break; 789s # case G_TYPE_INT64: 789s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 789s # break; 789s # case G_TYPE_UINT64: 789s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 789s # break; 789s # case G_TYPE_DOUBLE: 789s # { 789s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 789s # gdouble da = g_value_get_double (a); 789s # gdouble db = g_value_get_double (b); 789s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 789s # } 789s # break; 789s # case G_TYPE_STRING: 789s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 789s # break; 789s # case G_TYPE_VARIANT: 789s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 789s # break; 789s # default: 789s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 789s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 789s # else 789s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 789s # break; 789s # } 789s # return ret; 789s # } 789s # 789s # /* ------------------------------------------------------------------------ 789s # * Code for interface org.project.SignalingIface 789s # * ------------------------------------------------------------------------ 789s # */ 789s # 789s # /** 789s # * SECTION:OrgProjectSignalingIface 789s # * @title: OrgProjectSignalingIface 789s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 789s # * 789s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 789s # */ 789s # 789s # enum 789s # { 789s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 789s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 789s # }; 789s # 789s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 789s # 789s # /* ---- Introspection data for org.project.SignalingIface ---- */ 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SimpleSignal", 789s # NULL, 789s # NULL 789s # }, 789s # "simple-signal" 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 789s # { 789s # { 789s # -1, 789s # (gchar *) "arg_as", 789s # (gchar *) "as", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SingleArgSignalAs", 789s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 789s # NULL 789s # }, 789s # "single-arg-signal-as" 789s # }; 789s # 789s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 789s # { 789s # { 789s # -1, 789s # (gchar *) "org.project.SignalingIface", 789s # NULL, 789s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 789s # NULL, 789s # NULL 789s # }, 789s # "org-project-signaling-iface", 789s # }; 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_interface_info: 789s # * 789s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 789s # * 789s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 789s # */ 789s # GDBusInterfaceInfo * 789s # org_project_signaling_iface_interface_info (void) 789s # { 789s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_override_properties: 789s # * @klass: The class structure for a #GObject derived class. 789s # * @property_id_begin: The property id to assign to the first overridden property. 789s # * 789s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 789s # * The properties are overridden in the order they are defined. 789s # * 789s # * Returns: The last property id. 789s # */ 789s # guint 789s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 789s # { 789s # return property_id_begin - 1; 789s # } 789s # 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_simple_signal ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VOID (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__BOXED (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # 789s # /** 789s # * OrgProjectSignalingIface: 789s # * 789s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceIface: 789s # * @parent_iface: The parent interface. 789s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 789s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 789s # * 789s # * Virtual table for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 789s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 789s # 789s # static void 789s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # /* GObject signals for received D-Bus signals: */ 789s # /** 789s # * OrgProjectSignalingIface::simple-signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 789s # g_signal_new ("simple-signal", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_simple_signal, 789s # G_TYPE_NONE, 789s # 0); 789s # 789s # /** 789s # * OrgProjectSignalingIface::single-arg-signal-as: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_as: Argument. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 789s # g_signal_new ("single-arg-signal-as", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 789s # G_TYPE_NONE, 789s # 1, G_TYPE_STRV); 789s # 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_simple_signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * Emits the "SimpleSignal" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_single_arg_signal_as: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_as: Argument to pass with the signal. 789s # * 789s # * Emits the "SingleArgSignalAs" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_single_arg_signal_as ( 789s # OrgProjectSignalingIface *object, 789s # const gchar *const *arg_arg_as) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxy: 789s # * 789s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxyClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceProxy. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceProxyPrivate 789s # { 789s # GData *qdata; 789s # }; 789s # 789s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_proxy_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 789s # g_datalist_clear (&proxy->priv->qdata); 789s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # const GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 789s # const gchar *sender_name G_GNUC_UNUSED, 789s # const gchar *signal_name, 789s # GVariant *parameters) 789s # { 789s # _ExtendedGDBusSignalInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # gsize n; 789s # guint signal_id; 789s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 789s # if (info == NULL) 789s # return; 789s # num_params = g_variant_n_children (parameters); 789s # paramv = g_new0 (GValue, num_params + 1); 789s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[0], proxy); 789s # g_variant_iter_init (&iter, parameters); 789s # n = 1; 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_signal_emitv (paramv, signal_id, 0, NULL); 789s # for (n = 0; n < num_params + 1; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 789s # GVariant *changed_properties, 789s # const gchar *const *invalidated_properties) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 789s # guint n; 789s # const gchar *key; 789s # GVariantIter *iter; 789s # _ExtendedGDBusPropertyInfo *info; 789s # g_variant_get (changed_properties, "a{sv}", &iter); 789s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 789s # g_datalist_remove_data (&proxy->priv->qdata, key); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # g_variant_iter_free (iter); 789s # for (n = 0; invalidated_properties[n] != NULL; n++) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 789s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 789s # #else 789s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 789s # #endif 789s # 789s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusProxyClass *proxy_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 789s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 789s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 789s # 789s # proxy_class = G_DBUS_PROXY_CLASS (klass); 789s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 789s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_sync: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_sync ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new_for_bus ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_sync: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_sync ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeleton: 789s # * 789s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeletonClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceSkeletonPrivate 789s # { 789s # GValue *properties; 789s # GList *changed_properties; 789s # GSource *changed_properties_idle_source; 789s # GMainContext *context; 789s # GMutex lock; 789s # }; 789s # 789s # static void 789s # _org_project_signaling_iface_skeleton_handle_method_call ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name, 789s # const gchar *method_name, 789s # GVariant *parameters, 789s # GDBusMethodInvocation *invocation, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # _ExtendedGDBusMethodInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # guint num_extra; 789s # gsize n; 789s # guint signal_id; 789s # GValue return_value = G_VALUE_INIT; 789s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 789s # g_assert (info != NULL); 789s # num_params = g_variant_n_children (parameters); 789s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 789s # n = 0; 789s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[n++], skeleton); 789s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 789s # g_value_set_object (¶mv[n++], invocation); 789s # if (info->pass_fdlist) 789s # { 789s # #ifdef G_OS_UNIX 789s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 789s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 789s # #else 789s # g_assert_not_reached (); 789s # #endif 789s # } 789s # g_variant_iter_init (&iter, parameters); 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_init (&return_value, G_TYPE_BOOLEAN); 789s # g_signal_emitv (paramv, signal_id, 0, &return_value); 789s # if (!g_value_get_boolean (&return_value)) 789s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 789s # g_value_unset (&return_value); 789s # for (n = 0; n < num_params + num_extra; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static GVariant * 789s # _org_project_signaling_iface_skeleton_handle_get_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # GVariant *ret; 789s # ret = NULL; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # g_value_init (&value, pspec->value_type); 789s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 789s # g_value_unset (&value); 789s # } 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _org_project_signaling_iface_skeleton_handle_set_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GVariant *variant, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # gboolean ret; 789s # ret = FALSE; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # if (info->use_gvariant) 789s # g_value_set_variant (&value, variant); 789s # else 789s # g_dbus_gvariant_to_gvalue (variant, &value); 789s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # g_value_unset (&value); 789s # ret = TRUE; 789s # } 789s # return ret; 789s # } 789s # 789s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 789s # { 789s # _org_project_signaling_iface_skeleton_handle_method_call, 789s # _org_project_signaling_iface_skeleton_handle_get_property, 789s # _org_project_signaling_iface_skeleton_handle_set_property, 789s # {NULL} 789s # }; 789s # 789s # static GDBusInterfaceInfo * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return org_project_signaling_iface_interface_info (); 789s # } 789s # 789s # static GDBusInterfaceVTable * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 789s # } 789s # 789s # static GVariant * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 789s # 789s # GVariantBuilder builder; 789s # guint n; 789s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 789s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 789s # goto out; 789s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 789s # { 789s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 789s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 789s # { 789s # GVariant *value; 789s # 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); 789s # if (value != NULL) 789s # { 789s # g_variant_take_ref (value); 789s # g_variant_builder_add (&builder, "{sv}", info->name, value); 789s # g_variant_unref (value); 789s # } 789s # } 789s # } 789s # out: 789s # return g_variant_builder_end (&builder); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 789s # OrgProjectSignalingIface *object, 789s # const gchar *const *arg_arg_as) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 789s # arg_arg_as)); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_skeleton_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 789s # if (skeleton->priv->changed_properties_idle_source != NULL) 789s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 789s # g_main_context_unref (skeleton->priv->context); 789s # g_mutex_clear (&skeleton->priv->lock); 789s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 789s # #else 789s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 789s # #endif 789s # 789s # g_mutex_init (&skeleton->priv->lock); 789s # skeleton->priv->context = g_main_context_ref_thread_default (); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusInterfaceSkeletonClass *skeleton_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 789s # 789s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 789s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 789s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 789s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 789s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 789s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_skeleton_new: 789s # * 789s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_skeleton_new (void) 789s # { 789s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 789s # } 789s # /tmp/tmpm6yz_g2t/tmp171fwh70.xml: 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6yz_g2t/tmp171fwh70.xml', '--output', '-', '--body'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifdef HAVE_CONFIG_H 789s # # include "config.h" 789s # #endif 789s # 789s # #include 789s # #ifdef G_OS_UNIX 789s # # include 789s # #endif 789s # 789s # #ifdef G_ENABLE_DEBUG 789s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 789s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 789s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 789s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 789s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 789s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 789s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 789s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 789s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 789s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 789s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 789s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 789s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 789s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 789s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 789s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 789s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 789s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 789s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 789s # #else /* !G_ENABLE_DEBUG */ 789s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 789s # * Do not access GValues directly in your code. Instead, use the 789s # * g_value_get_*() functions 789s # */ 789s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 789s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 789s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 789s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 789s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 789s # #endif /* !G_ENABLE_DEBUG */ 789s # 789s # typedef struct 789s # { 789s # GDBusArgInfo parent_struct; 789s # gboolean use_gvariant; 789s # } _ExtendedGDBusArgInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusMethodInfo parent_struct; 789s # const gchar *signal_name; 789s # gboolean pass_fdlist; 789s # } _ExtendedGDBusMethodInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusSignalInfo parent_struct; 789s # const gchar *signal_name; 789s # } _ExtendedGDBusSignalInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusPropertyInfo parent_struct; 789s # const gchar *hyphen_name; 789s # guint use_gvariant : 1; 789s # guint emits_changed_signal : 1; 789s # } _ExtendedGDBusPropertyInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusInterfaceInfo parent_struct; 789s # const gchar *hyphen_name; 789s # } _ExtendedGDBusInterfaceInfo; 789s # 789s # typedef struct 789s # { 789s # const _ExtendedGDBusPropertyInfo *info; 789s # guint prop_id; 789s # GValue orig_value; /* the value before the change */ 789s # } ChangedProperty; 789s # 789s # static void 789s # _changed_property_free (ChangedProperty *data) 789s # { 789s # g_value_unset (&data->orig_value); 789s # g_free (data); 789s # } 789s # 789s # static gboolean 789s # _g_strv_equal0 (gchar **a, gchar **b) 789s # { 789s # gboolean ret = FALSE; 789s # guint n; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # if (g_strv_length (a) != g_strv_length (b)) 789s # goto out; 789s # for (n = 0; a[n] != NULL; n++) 789s # if (g_strcmp0 (a[n], b[n]) != 0) 789s # goto out; 789s # ret = TRUE; 789s # out: 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _g_variant_equal0 (GVariant *a, GVariant *b) 789s # { 789s # gboolean ret = FALSE; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # ret = g_variant_equal (a, b); 789s # out: 789s # return ret; 789s # } 789s # 789s # G_GNUC_UNUSED static gboolean 789s # _g_value_equal (const GValue *a, const GValue *b) 789s # { 789s # gboolean ret = FALSE; 789s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 789s # switch (G_VALUE_TYPE (a)) 789s # { 789s # case G_TYPE_BOOLEAN: 789s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 789s # break; 789s # case G_TYPE_UCHAR: 789s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 789s # break; 789s # case G_TYPE_INT: 789s # ret = (g_value_get_int (a) == g_value_get_int (b)); 789s # break; 789s # case G_TYPE_UINT: 789s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 789s # break; 789s # case G_TYPE_INT64: 789s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 789s # break; 789s # case G_TYPE_UINT64: 789s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 789s # break; 789s # case G_TYPE_DOUBLE: 789s # { 789s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 789s # gdouble da = g_value_get_double (a); 789s # gdouble db = g_value_get_double (b); 789s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 789s # } 789s # break; 789s # case G_TYPE_STRING: 789s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 789s # break; 789s # case G_TYPE_VARIANT: 789s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 789s # break; 789s # default: 789s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 789s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 789s # else 789s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 789s # break; 789s # } 789s # return ret; 789s # } 789s # 789s # /* ------------------------------------------------------------------------ 789s # * Code for interface org.project.SignalingIface 789s # * ------------------------------------------------------------------------ 789s # */ 789s # 789s # /** 789s # * SECTION:OrgProjectSignalingIface 789s # * @title: OrgProjectSignalingIface 789s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 789s # * 789s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 789s # */ 789s # 789s # enum 789s # { 789s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 789s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 789s # }; 789s # 789s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 789s # 789s # /* ---- Introspection data for org.project.SignalingIface ---- */ 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SimpleSignal", 789s # NULL, 789s # NULL 789s # }, 789s # "simple-signal" 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 789s # { 789s # { 789s # -1, 789s # (gchar *) "arg_ao", 789s # (gchar *) "ao", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SingleArgSignalAo", 789s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 789s # NULL 789s # }, 789s # "single-arg-signal-ao" 789s # }; 789s # 789s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 789s # { 789s # { 789s # -1, 789s # (gchar *) "org.project.SignalingIface", 789s # NULL, 789s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 789s # NULL, 789s # NULL 789s # }, 789s # "org-project-signaling-iface", 789s # }; 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_interface_info: 789s # * 789s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 789s # * 789s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 789s # */ 789s # GDBusInterfaceInfo * 789s # org_project_signaling_iface_interface_info (void) 789s # { 789s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_override_properties: 789s # * @klass: The class structure for a #GObject derived class. 789s # * @property_id_begin: The property id to assign to the first overridden property. 789s # * 789s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 789s # * The properties are overridden in the order they are defined. 789s # * 789s # * Returns: The last property id. 789s # */ 789s # guint 789s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 789s # { 789s # return property_id_begin - 1; 789s # } 789s # 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_simple_signal ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VOID (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__BOXED (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # 789s # /** 789s # * OrgProjectSignalingIface: 789s # * 789s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceIface: 789s # * @parent_iface: The parent interface. 789s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 789s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 789s # * 789s # * Virtual table for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 789s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 789s # 789s # static void 789s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # /* GObject signals for received D-Bus signals: */ 789s # /** 789s # * OrgProjectSignalingIface::simple-signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 789s # g_signal_new ("simple-signal", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_simple_signal, 789s # G_TYPE_NONE, 789s # 0); 789s # 789s # /** 789s # * OrgProjectSignalingIface::single-arg-signal-ao: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_ao: Argument. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 789s # g_signal_new ("single-arg-signal-ao", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 789s # G_TYPE_NONE, 789s # 1, G_TYPE_STRV); 789s # 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_simple_signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * Emits the "SimpleSignal" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_single_arg_signal_ao: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_ao: Argument to pass with the signal. 789s # * 789s # * Emits the "SingleArgSignalAo" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_single_arg_signal_ao ( 789s # OrgProjectSignalingIface *object, 789s # const gchar *const *arg_arg_ao) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxy: 789s # * 789s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxyClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceProxy. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceProxyPrivate 789s # { 789s # GData *qdata; 789s # }; 789s # 789s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_proxy_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 789s # g_datalist_clear (&proxy->priv->qdata); 789s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # const GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 789s # const gchar *sender_name G_GNUC_UNUSED, 789s # const gchar *signal_name, 789s # GVariant *parameters) 789s # { 789s # _ExtendedGDBusSignalInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # gsize n; 789s # guint signal_id; 789s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 789s # if (info == NULL) 789s # return; 789s # num_params = g_variant_n_children (parameters); 789s # paramv = g_new0 (GValue, num_params + 1); 789s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[0], proxy); 789s # g_variant_iter_init (&iter, parameters); 789s # n = 1; 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_signal_emitv (paramv, signal_id, 0, NULL); 789s # for (n = 0; n < num_params + 1; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 789s # GVariant *changed_properties, 789s # const gchar *const *invalidated_properties) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 789s # guint n; 789s # const gchar *key; 789s # GVariantIter *iter; 789s # _ExtendedGDBusPropertyInfo *info; 789s # g_variant_get (changed_properties, "a{sv}", &iter); 789s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 789s # g_datalist_remove_data (&proxy->priv->qdata, key); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # g_variant_iter_free (iter); 789s # for (n = 0; invalidated_properties[n] != NULL; n++) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 789s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 789s # #else 789s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 789s # #endif 789s # 789s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusProxyClass *proxy_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 789s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 789s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 789s # 789s # proxy_class = G_DBUS_PROXY_CLASS (klass); 789s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 789s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_sync: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_sync ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new_for_bus ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_sync: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_sync ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeleton: 789s # * 789s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeletonClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceSkeletonPrivate 789s # { 789s # GValue *properties; 789s # GList *changed_properties; 789s # GSource *changed_properties_idle_source; 789s # GMainContext *context; 789s # GMutex lock; 789s # }; 789s # 789s # static void 789s # _org_project_signaling_iface_skeleton_handle_method_call ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name, 789s # const gchar *method_name, 789s # GVariant *parameters, 789s # GDBusMethodInvocation *invocation, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # _ExtendedGDBusMethodInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # guint num_extra; 789s # gsize n; 789s # guint signal_id; 789s # GValue return_value = G_VALUE_INIT; 789s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 789s # g_assert (info != NULL); 789s # num_params = g_variant_n_children (parameters); 789s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 789s # n = 0; 789s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[n++], skeleton); 789s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 789s # g_value_set_object (¶mv[n++], invocation); 789s # if (info->pass_fdlist) 789s # { 789s # #ifdef G_OS_UNIX 789s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 789s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 789s # #else 789s # g_assert_not_reached (); 789s # #endif 789s # } 789s # g_variant_iter_init (&iter, parameters); 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_init (&return_value, G_TYPE_BOOLEAN); 789s # g_signal_emitv (paramv, signal_id, 0, &return_value); 789s # if (!g_value_get_boolean (&return_value)) 789s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 789s # g_value_unset (&return_value); 789s # for (n = 0; n < num_params + num_extra; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static GVariant * 789s # _org_project_signaling_iface_skeleton_handle_get_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # GVariant *ret; 789s # ret = NULL; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # g_value_init (&value, pspec->value_type); 789s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 789s # g_value_unset (&value); 789s # } 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _org_project_signaling_iface_skeleton_handle_set_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GVariant *variant, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # gboolean ret; 789s # ret = FALSE; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # if (info->use_gvariant) 789s # g_value_set_variant (&value, variant); 789s # else 789s # g_dbus_gvariant_to_gvalue (variant, &value); 789s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # g_value_unset (&value); 789s # ret = TRUE; 789s # } 789s # return ret; 789s # } 789s # 789s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 789s # { 789s # _org_project_signaling_iface_skeleton_handle_method_call, 789s # _org_project_signaling_iface_skeleton_handle_get_property, 789s # _org_project_signaling_iface_skeleton_handle_set_property, 789s # {NULL} 789s # }; 789s # 789s # static GDBusInterfaceInfo * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return org_project_signaling_iface_interface_info (); 789s # } 789s # 789s # static GDBusInterfaceVTable * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 789s # } 789s # 789s # static GVariant * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 789s # 789s # GVariantBuilder builder; 789s # guint n; 789s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 789s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 789s # goto out; 789s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 789s # { 789s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 789s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 789s # { 789s # GVariant *value; 789s # 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); 789s # if (value != NULL) 789s # { 789s # g_variant_take_ref (value); 789s # g_variant_builder_add (&builder, "{sv}", info->name, value); 789s # g_variant_unref (value); 789s # } 789s # } 789s # } 789s # out: 789s # return g_variant_builder_end (&builder); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 789s # OrgProjectSignalingIface *object, 789s # const gchar *const *arg_arg_ao) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 789s # arg_arg_ao)); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_skeleton_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 789s # if (skeleton->priv->changed_properties_idle_source != NULL) 789s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 789s # g_main_context_unref (skeleton->priv->context); 789s # g_mutex_clear (&skeleton->priv->lock); 789s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 789s # #else 789s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 789s # #endif 789s # 789s # g_mutex_init (&skeleton->priv->lock); 789s # skeleton->priv->context = g_main_context_ref_thread_default (); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusInterfaceSkeletonClass *skeleton_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 789s # 789s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 789s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 789s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 789s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 789s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 789s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_skeleton_new: 789s # * 789s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_skeleton_new (void) 789s # { 789s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 789s # } 789s # /tmp/tmpm6yz_g2t/tmp2jlxcgwp.xml: 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6yz_g2t/tmp2jlxcgwp.xml', '--output', '-', '--body'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifdef HAVE_CONFIG_H 789s # # include "config.h" 789s # #endif 789s # 789s # #include 789s # #ifdef G_OS_UNIX 789s # # include 789s # #endif 789s # 789s # #ifdef G_ENABLE_DEBUG 789s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 789s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 789s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 789s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 789s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 789s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 789s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 789s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 789s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 789s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 789s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 789s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 789s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 789s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 789s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 789s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 789s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 789s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 789s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 789s # #else /* !G_ENABLE_DEBUG */ 789s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 789s # * Do not access GValues directly in your code. Instead, use the 789s # * g_value_get_*() functions 789s # */ 789s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 789s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 789s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 789s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 789s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 789s # #endif /* !G_ENABLE_DEBUG */ 789s # 789s # typedef struct 789s # { 789s # GDBusArgInfo parent_struct; 789s # gboolean use_gvariant; 789s # } _ExtendedGDBusArgInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusMethodInfo parent_struct; 789s # const gchar *signal_name; 789s # gboolean pass_fdlist; 789s # } _ExtendedGDBusMethodInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusSignalInfo parent_struct; 789s # const gchar *signal_name; 789s # } _ExtendedGDBusSignalInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusPropertyInfo parent_struct; 789s # const gchar *hyphen_name; 789s # guint use_gvariant : 1; 789s # guint emits_changed_signal : 1; 789s # } _ExtendedGDBusPropertyInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusInterfaceInfo parent_struct; 789s # const gchar *hyphen_name; 789s # } _ExtendedGDBusInterfaceInfo; 789s # 789s # typedef struct 789s # { 789s # const _ExtendedGDBusPropertyInfo *info; 789s # guint prop_id; 789s # GValue orig_value; /* the value before the change */ 789s # } ChangedProperty; 789s # 789s # static void 789s # _changed_property_free (ChangedProperty *data) 789s # { 789s # g_value_unset (&data->orig_value); 789s # g_free (data); 789s # } 789s # 789s # static gboolean 789s # _g_strv_equal0 (gchar **a, gchar **b) 789s # { 789s # gboolean ret = FALSE; 789s # guint n; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # if (g_strv_length (a) != g_strv_length (b)) 789s # goto out; 789s # for (n = 0; a[n] != NULL; n++) 789s # if (g_strcmp0 (a[n], b[n]) != 0) 789s # goto out; 789s # ret = TRUE; 789s # out: 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _g_variant_equal0 (GVariant *a, GVariant *b) 789s # { 789s # gboolean ret = FALSE; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # ret = g_variant_equal (a, b); 789s # out: 789s # return ret; 789s # } 789s # 789s # G_GNUC_UNUSED static gboolean 789s # _g_value_equal (const GValue *a, const GValue *b) 789s # { 789s # gboolean ret = FALSE; 789s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 789s # switch (G_VALUE_TYPE (a)) 789s # { 789s # case G_TYPE_BOOLEAN: 789s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 789s # break; 789s # case G_TYPE_UCHAR: 789s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 789s # break; 789s # case G_TYPE_INT: 789s # ret = (g_value_get_int (a) == g_value_get_int (b)); 789s # break; 789s # case G_TYPE_UINT: 789s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 789s # break; 789s # case G_TYPE_INT64: 789s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 789s # break; 789s # case G_TYPE_UINT64: 789s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 789s # break; 789s # case G_TYPE_DOUBLE: 789s # { 789s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 789s # gdouble da = g_value_get_double (a); 789s # gdouble db = g_value_get_double (b); 789s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 789s # } 789s # break; 789s # case G_TYPE_STRING: 789s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 789s # break; 789s # case G_TYPE_VARIANT: 789s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 789s # break; 789s # default: 789s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 789s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 789s # else 789s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 789s # break; 789s # } 789s # return ret; 789s # } 789s # 789s # /* ------------------------------------------------------------------------ 789s # * Code for interface org.project.SignalingIface 789s # * ------------------------------------------------------------------------ 789s # */ 789s # 789s # /** 789s # * SECTION:OrgProjectSignalingIface 789s # * @title: OrgProjectSignalingIface 789s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 789s # * 789s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 789s # */ 789s # 789s # enum 789s # { 789s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 789s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 789s # }; 789s # 789s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 789s # 789s # /* ---- Introspection data for org.project.SignalingIface ---- */ 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SimpleSignal", 789s # NULL, 789s # NULL 789s # }, 789s # "simple-signal" 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 789s # { 789s # { 789s # -1, 789s # (gchar *) "arg_aay", 789s # (gchar *) "aay", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SingleArgSignalAay", 789s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 789s # NULL 789s # }, 789s # "single-arg-signal-aay" 789s # }; 789s # 789s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 789s # { 789s # { 789s # -1, 789s # (gchar *) "org.project.SignalingIface", 789s # NULL, 789s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 789s # NULL, 789s # NULL 789s # }, 789s # "org-project-signaling-iface", 789s # }; 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_interface_info: 789s # * 789s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 789s # * 789s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 789s # */ 789s # GDBusInterfaceInfo * 789s # org_project_signaling_iface_interface_info (void) 789s # { 789s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_override_properties: 789s # * @klass: The class structure for a #GObject derived class. 789s # * @property_id_begin: The property id to assign to the first overridden property. 789s # * 789s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 789s # * The properties are overridden in the order they are defined. 789s # * 789s # * Returns: The last property id. 789s # */ 789s # guint 789s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 789s # { 789s # return property_id_begin - 1; 789s # } 789s # 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_simple_signal ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VOID (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__BOXED (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # 789s # /** 789s # * OrgProjectSignalingIface: 789s # * 789s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceIface: 789s # * @parent_iface: The parent interface. 789s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 789s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 789s # * 789s # * Virtual table for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 789s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 789s # 789s # static void 789s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # /* GObject signals for received D-Bus signals: */ 789s # /** 789s # * OrgProjectSignalingIface::simple-signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 789s # g_signal_new ("simple-signal", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_simple_signal, 789s # G_TYPE_NONE, 789s # 0); 789s # 789s # /** 789s # * OrgProjectSignalingIface::single-arg-signal-aay: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_aay: Argument. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 789s # g_signal_new ("single-arg-signal-aay", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 789s # G_TYPE_NONE, 789s # 1, G_TYPE_STRV); 789s # 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_simple_signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * Emits the "SimpleSignal" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_single_arg_signal_aay: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_aay: Argument to pass with the signal. 789s # * 789s # * Emits the "SingleArgSignalAay" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_single_arg_signal_aay ( 789s # OrgProjectSignalingIface *object, 789s # const gchar *const *arg_arg_aay) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxy: 789s # * 789s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxyClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceProxy. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceProxyPrivate 789s # { 789s # GData *qdata; 789s # }; 789s # 789s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_proxy_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 789s # g_datalist_clear (&proxy->priv->qdata); 789s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # const GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 789s # const gchar *sender_name G_GNUC_UNUSED, 789s # const gchar *signal_name, 789s # GVariant *parameters) 789s # { 789s # _ExtendedGDBusSignalInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # gsize n; 789s # guint signal_id; 789s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 789s # if (info == NULL) 789s # return; 789s # num_params = g_variant_n_children (parameters); 789s # paramv = g_new0 (GValue, num_params + 1); 789s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[0], proxy); 789s # g_variant_iter_init (&iter, parameters); 789s # n = 1; 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_signal_emitv (paramv, signal_id, 0, NULL); 789s # for (n = 0; n < num_params + 1; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 789s # GVariant *changed_properties, 789s # const gchar *const *invalidated_properties) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 789s # guint n; 789s # const gchar *key; 789s # GVariantIter *iter; 789s # _ExtendedGDBusPropertyInfo *info; 789s # g_variant_get (changed_properties, "a{sv}", &iter); 789s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 789s # g_datalist_remove_data (&proxy->priv->qdata, key); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # g_variant_iter_free (iter); 789s # for (n = 0; invalidated_properties[n] != NULL; n++) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 789s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 789s # #else 789s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 789s # #endif 789s # 789s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusProxyClass *proxy_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 789s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 789s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 789s # 789s # proxy_class = G_DBUS_PROXY_CLASS (klass); 789s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 789s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_sync: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_sync ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new_for_bus ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_sync: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_sync ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeleton: 789s # * 789s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeletonClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceSkeletonPrivate 789s # { 789s # GValue *properties; 789s # GList *changed_properties; 789s # GSource *changed_properties_idle_source; 789s # GMainContext *context; 789s # GMutex lock; 789s # }; 789s # 789s # static void 789s # _org_project_signaling_iface_skeleton_handle_method_call ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name, 789s # const gchar *method_name, 789s # GVariant *parameters, 789s # GDBusMethodInvocation *invocation, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # _ExtendedGDBusMethodInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # guint num_extra; 789s # gsize n; 789s # guint signal_id; 789s # GValue return_value = G_VALUE_INIT; 789s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 789s # g_assert (info != NULL); 789s # num_params = g_variant_n_children (parameters); 789s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 789s # n = 0; 789s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[n++], skeleton); 789s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 789s # g_value_set_object (¶mv[n++], invocation); 789s # if (info->pass_fdlist) 789s # { 789s # #ifdef G_OS_UNIX 789s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 789s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 789s # #else 789s # g_assert_not_reached (); 789s # #endif 789s # } 789s # g_variant_iter_init (&iter, parameters); 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_init (&return_value, G_TYPE_BOOLEAN); 789s # g_signal_emitv (paramv, signal_id, 0, &return_value); 789s # if (!g_value_get_boolean (&return_value)) 789s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 789s # g_value_unset (&return_value); 789s # for (n = 0; n < num_params + num_extra; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static GVariant * 789s # _org_project_signaling_iface_skeleton_handle_get_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # GVariant *ret; 789s # ret = NULL; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # g_value_init (&value, pspec->value_type); 789s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 789s # g_value_unset (&value); 789s # } 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _org_project_signaling_iface_skeleton_handle_set_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GVariant *variant, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # gboolean ret; 789s # ret = FALSE; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # if (info->use_gvariant) 789s # g_value_set_variant (&value, variant); 789s # else 789s # g_dbus_gvariant_to_gvalue (variant, &value); 789s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # g_value_unset (&value); 789s # ret = TRUE; 789s # } 789s # return ret; 789s # } 789s # 789s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 789s # { 789s # _org_project_signaling_iface_skeleton_handle_method_call, 789s # _org_project_signaling_iface_skeleton_handle_get_property, 789s # _org_project_signaling_iface_skeleton_handle_set_property, 789s # {NULL} 789s # }; 789s # 789s # static GDBusInterfaceInfo * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return org_project_signaling_iface_interface_info (); 789s # } 789s # 789s # static GDBusInterfaceVTable * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 789s # } 789s # 789s # static GVariant * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 789s # 789s # GVariantBuilder builder; 789s # guint n; 789s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 789s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 789s # goto out; 789s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 789s # { 789s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 789s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 789s # { 789s # GVariant *value; 789s # 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); 789s # if (value != NULL) 789s # { 789s # g_variant_take_ref (value); 789s # g_variant_builder_add (&builder, "{sv}", info->name, value); 789s # g_variant_unref (value); 789s # } 789s # } 789s # } 789s # out: 789s # return g_variant_builder_end (&builder); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 789s # OrgProjectSignalingIface *object, 789s # const gchar *const *arg_arg_aay) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 789s # arg_arg_aay)); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_skeleton_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 789s # if (skeleton->priv->changed_properties_idle_source != NULL) 789s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 789s # g_main_context_unref (skeleton->priv->context); 789s # g_mutex_clear (&skeleton->priv->lock); 789s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 789s # #else 789s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 789s # #endif 789s # 789s # g_mutex_init (&skeleton->priv->lock); 789s # skeleton->priv->context = g_main_context_ref_thread_default (); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusInterfaceSkeletonClass *skeleton_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 789s # 789s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 789s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 789s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 789s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 789s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 789s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_skeleton_new: 789s # * 789s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_skeleton_new (void) 789s # { 789s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 789s # } 789s # /tmp/tmpm6yz_g2t/tmprgmh_mls.xml: 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm6yz_g2t/tmprgmh_mls.xml', '--output', '-', '--body'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifdef HAVE_CONFIG_H 789s # # include "config.h" 789s # #endif 789s # 789s # #include 789s # #ifdef G_OS_UNIX 789s # # include 789s # #endif 789s # 789s # #ifdef G_ENABLE_DEBUG 789s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 789s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 789s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 789s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 789s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 789s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 789s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 789s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 789s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 789s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 789s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 789s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 789s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 789s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 789s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 789s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 789s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 789s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 789s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 789s # #else /* !G_ENABLE_DEBUG */ 789s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 789s # * Do not access GValues directly in your code. Instead, use the 789s # * g_value_get_*() functions 789s # */ 789s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 789s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 789s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 789s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 789s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 789s # #endif /* !G_ENABLE_DEBUG */ 789s # 789s # typedef struct 789s # { 789s # GDBusArgInfo parent_struct; 789s # gboolean use_gvariant; 789s # } _ExtendedGDBusArgInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusMethodInfo parent_struct; 789s # const gchar *signal_name; 789s # gboolean pass_fdlist; 789s # } _ExtendedGDBusMethodInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusSignalInfo parent_struct; 789s # const gchar *signal_name; 789s # } _ExtendedGDBusSignalInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusPropertyInfo parent_struct; 789s # const gchar *hyphen_name; 789s # guint use_gvariant : 1; 789s # guint emits_changed_signal : 1; 789s # } _ExtendedGDBusPropertyInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusInterfaceInfo parent_struct; 789s # const gchar *hyphen_name; 789s # } _ExtendedGDBusInterfaceInfo; 789s # 789s # typedef struct 789s # { 789s # const _ExtendedGDBusPropertyInfo *info; 789s # guint prop_id; 789s # GValue orig_value; /* the value before the change */ 789s # } ChangedProperty; 789s # 789s # static void 789s # _changed_property_free (ChangedProperty *data) 789s # { 789s # g_value_unset (&data->orig_value); 789s # g_free (data); 789s # } 789s # 789s # static gboolean 789s # _g_strv_equal0 (gchar **a, gchar **b) 789s # { 789s # gboolean ret = FALSE; 789s # guint n; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # if (g_strv_length (a) != g_strv_length (b)) 789s # goto out; 789s # for (n = 0; a[n] != NULL; n++) 789s # if (g_strcmp0 (a[n], b[n]) != 0) 789s # goto out; 789s # ret = TRUE; 789s # out: 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _g_variant_equal0 (GVariant *a, GVariant *b) 789s # { 789s # gboolean ret = FALSE; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # ret = g_variant_equal (a, b); 789s # out: 789s # return ret; 789s # } 789s # 789s # G_GNUC_UNUSED static gboolean 789s # _g_value_equal (const GValue *a, const GValue *b) 789s # { 789s # gboolean ret = FALSE; 789s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 789s # switch (G_VALUE_TYPE (a)) 789s # { 789s # case G_TYPE_BOOLEAN: 789s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 789s # break; 789s # case G_TYPE_UCHAR: 789s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 789s # break; 789s # case G_TYPE_INT: 789s # ret = (g_value_get_int (a) == g_value_get_int (b)); 789s # break; 789s # case G_TYPE_UINT: 789s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 789s # break; 789s # case G_TYPE_INT64: 789s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 789s # break; 789s # case G_TYPE_UINT64: 789s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 789s # break; 789s # case G_TYPE_DOUBLE: 789s # { 789s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 789s # gdouble da = g_value_get_double (a); 789s # gdouble db = g_value_get_double (b); 789s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 789s # } 789s # break; 789s # case G_TYPE_STRING: 789s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 789s # break; 789s # case G_TYPE_VARIANT: 789s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 789s # break; 789s # default: 789s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 789s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 789s # else 789s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 789s # break; 789s # } 789s # return ret; 789s # } 789s # 789s # /* ------------------------------------------------------------------------ 789s # * Code for interface org.project.SignalingIface 789s # * ------------------------------------------------------------------------ 789s # */ 789s # 789s # /** 789s # * SECTION:OrgProjectSignalingIface 789s # * @title: OrgProjectSignalingIface 789s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 789s # * 789s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 789s # */ 789s # 789s # enum 789s # { 789s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 789s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 789s # }; 789s # 789s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 789s # 789s # /* ---- Introspection data for org.project.SignalingIface ---- */ 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SimpleSignal", 789s # NULL, 789s # NULL 789s # }, 789s # "simple-signal" 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 789s # { 789s # { 789s # -1, 789s # (gchar *) "arg_asv", 789s # (gchar *) "a{sv}", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SingleArgSignalAsv", 789s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 789s # NULL 789s # }, 789s # "single-arg-signal-asv" 789s # }; 789s # 789s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 789s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 789s # { 789s # { 789s # -1, 789s # (gchar *) "org.project.SignalingIface", 789s # NULL, 789s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 789s # NULL, 789s # NULL 789s # }, 789s # "org-project-signaling-iface", 789s # }; 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_interface_info: 789s # * 789s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 789s # * 789s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 789s # */ 789s # GDBusInterfaceInfo * 789s # org_project_signaling_iface_interface_info (void) 789s # { 789s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_override_properties: 789s # * @klass: The class structure for a #GObject derived class. 789s # * @property_id_begin: The property id to assign to the first overridden property. 789s # * 789s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 789s # * The properties are overridden in the order they are defined. 789s # * 789s # * Returns: The last property id. 789s # */ 789s # guint 789s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 789s # { 789s # return property_id_begin - 1; 789s # } 789s # 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_simple_signal ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VOID (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VARIANT (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # 789s # /** 789s # * OrgProjectSignalingIface: 789s # * 789s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceIface: 789s # * @parent_iface: The parent interface. 789s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 789s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 789s # * 789s # * Virtual table for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 789s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 789s # 789s # static void 789s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # /* GObject signals for received D-Bus signals: */ 789s # /** 789s # * OrgProjectSignalingIface::simple-signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 789s # g_signal_new ("simple-signal", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_simple_signal, 789s # G_TYPE_NONE, 789s # 0); 789s # 789s # /** 789s # * OrgProjectSignalingIface::single-arg-signal-asv: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_asv: Argument. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 789s # g_signal_new ("single-arg-signal-asv", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 789s # G_TYPE_NONE, 789s # 1, G_TYPE_VARIANT); 789s # 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_simple_signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * Emits the "SimpleSignal" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_single_arg_signal_asv: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_arg_asv: Argument to pass with the signal. 789s # * 789s # * Emits the "SingleArgSignalAsv" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_single_arg_signal_asv ( 789s # OrgProjectSignalingIface *object, 789s # GVariant *arg_arg_asv) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxy: 789s # * 789s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxyClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceProxy. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceProxyPrivate 789s # { 789s # GData *qdata; 789s # }; 789s # 789s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_proxy_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 789s # g_datalist_clear (&proxy->priv->qdata); 789s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # const GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 789s # const gchar *sender_name G_GNUC_UNUSED, 789s # const gchar *signal_name, 789s # GVariant *parameters) 789s # { 789s # _ExtendedGDBusSignalInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # gsize n; 789s # guint signal_id; 789s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 789s # if (info == NULL) 789s # return; 789s # num_params = g_variant_n_children (parameters); 789s # paramv = g_new0 (GValue, num_params + 1); 789s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[0], proxy); 789s # g_variant_iter_init (&iter, parameters); 789s # n = 1; 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_signal_emitv (paramv, signal_id, 0, NULL); 789s # for (n = 0; n < num_params + 1; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 789s # GVariant *changed_properties, 789s # const gchar *const *invalidated_properties) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 789s # guint n; 789s # const gchar *key; 789s # GVariantIter *iter; 789s # _ExtendedGDBusPropertyInfo *info; 789s # g_variant_get (changed_properties, "a{sv}", &iter); 789s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 789s # g_datalist_remove_data (&proxy->priv->qdata, key); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # g_variant_iter_free (iter); 789s # for (n = 0; invalidated_properties[n] != NULL; n++) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 789s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 789s # #else 789s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 789s # #endif 789s # 789s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusProxyClass *proxy_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 789s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 789s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 789s # 789s # proxy_class = G_DBUS_PROXY_CLASS (klass); 789s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 789s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_sync: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_sync ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new_for_bus ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_sync: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_sync ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeleton: 789s # * 789s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeletonClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceSkeletonPrivate 789s # { 789s # GValue *properties; 789s # GList *changed_properties; 789s # GSource *changed_properties_idle_source; 789s # GMainContext *context; 789s # GMutex lock; 789s # }; 789s # 789s # static void 789s # _org_project_signaling_iface_skeleton_handle_method_call ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name, 789s # const gchar *method_name, 789s # GVariant *parameters, 789s # GDBusMethodInvocation *invocation, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # _ExtendedGDBusMethodInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # guint num_extra; 789s # gsize n; 789s # guint signal_id; 789s # GValue return_value = G_VALUE_INIT; 789s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 789s # g_assert (info != NULL); 789s # num_params = g_variant_n_children (parameters); 789s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 789s # n = 0; 789s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[n++], skeleton); 789s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 789s # g_value_set_object (¶mv[n++], invocation); 789s # if (info->pass_fdlist) 789s # { 789s # #ifdef G_OS_UNIX 789s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 789s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 789s # #else 789s # g_assert_not_reached (); 789s # #endif 789s # } 789s # g_variant_iter_init (&iter, parameters); 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_init (&return_value, G_TYPE_BOOLEAN); 789s # g_signal_emitv (paramv, signal_id, 0, &return_value); 789s # if (!g_value_get_boolean (&return_value)) 789s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 789s # g_value_unset (&return_value); 789s # for (n = 0; n < num_params + num_extra; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static GVariant * 789s # _org_project_signaling_iface_skeleton_handle_get_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # GVariant *ret; 789s # ret = NULL; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # g_value_init (&value, pspec->value_type); 789s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 789s # g_value_unset (&value); 789s # } 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _org_project_signaling_iface_skeleton_handle_set_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GVariant *variant, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # gboolean ret; 789s # ret = FALSE; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # if (info->use_gvariant) 789s # g_value_set_variant (&value, variant); 789s # else 789s # g_dbus_gvariant_to_gvalue (variant, &value); 789s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # g_value_unset (&value); 789s # ret = TRUE; 789s # } 789s # return ret; 789s # } 789s # 789s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 789s # { 789s # _org_project_signaling_iface_skeleton_handle_method_call, 789s # _org_project_signaling_iface_skeleton_handle_get_property, 789s # _org_project_signaling_iface_skeleton_handle_set_property, 789s # {NULL} 789s # }; 789s # 789s # static GDBusInterfaceInfo * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return org_project_signaling_iface_interface_info (); 789s # } 789s # 789s # static GDBusInterfaceVTable * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 789s # } 789s # 789s # static GVariant * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 789s # 789s # GVariantBuilder builder; 789s # guint n; 789s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 789s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 789s # goto out; 789s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 789s # { 789s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 789s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 789s # { 789s # GVariant *value; 789s # 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); 789s # if (value != NULL) 789s # { 789s # g_variant_take_ref (value); 789s # g_variant_builder_add (&builder, "{sv}", info->name, value); 789s # g_variant_unref (value); 789s # } 789s # } 789s # } 789s # out: 789s # return g_variant_builder_end (&builder); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 789s # OrgProjectSignalingIface *object, 789s # GVariant *arg_arg_asv) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 789s # arg_arg_asv)); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_skeleton_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 789s # if (skeleton->priv->changed_properties_idle_source != NULL) 789s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 789s # g_main_context_unref (skeleton->priv->context); 789s # g_mutex_clear (&skeleton->priv->lock); 789s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 789s # #else 789s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 789s # #endif 789s # 789s # g_mutex_init (&skeleton->priv->lock); 789s # skeleton->priv->context = g_main_context_ref_thread_default (); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusInterfaceSkeletonClass *skeleton_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 789s # 789s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 789s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 789s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 789s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 789s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 789s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_skeleton_new: 789s # * 789s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_skeleton_new (void) 789s # { 789s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 789s # } 789s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 789s # tmpdir: /tmp/tmpjzhg8myq 789s # codegen: /usr/bin/gdbus-codegen 789s # /tmp/tmpjzhg8myq/tmpuuq133q0.xml: 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjzhg8myq/tmpuuq133q0.xml', '--output', '-', '--body'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifdef HAVE_CONFIG_H 789s # # include "config.h" 789s # #endif 789s # 789s # #include 789s # #ifdef G_OS_UNIX 789s # # include 789s # #endif 789s # 789s # #ifdef G_ENABLE_DEBUG 789s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 789s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 789s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 789s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 789s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 789s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 789s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 789s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 789s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 789s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 789s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 789s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 789s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 789s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 789s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 789s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 789s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 789s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 789s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 789s # #else /* !G_ENABLE_DEBUG */ 789s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 789s # * Do not access GValues directly in your code. Instead, use the 789s # * g_value_get_*() functions 789s # */ 789s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 789s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 789s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 789s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 789s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 789s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 789s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 789s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 789s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 789s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 789s # #endif /* !G_ENABLE_DEBUG */ 789s # 789s # typedef struct 789s # { 789s # GDBusArgInfo parent_struct; 789s # gboolean use_gvariant; 789s # } _ExtendedGDBusArgInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusMethodInfo parent_struct; 789s # const gchar *signal_name; 789s # gboolean pass_fdlist; 789s # } _ExtendedGDBusMethodInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusSignalInfo parent_struct; 789s # const gchar *signal_name; 789s # } _ExtendedGDBusSignalInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusPropertyInfo parent_struct; 789s # const gchar *hyphen_name; 789s # guint use_gvariant : 1; 789s # guint emits_changed_signal : 1; 789s # } _ExtendedGDBusPropertyInfo; 789s # 789s # typedef struct 789s # { 789s # GDBusInterfaceInfo parent_struct; 789s # const gchar *hyphen_name; 789s # } _ExtendedGDBusInterfaceInfo; 789s # 789s # typedef struct 789s # { 789s # const _ExtendedGDBusPropertyInfo *info; 789s # guint prop_id; 789s # GValue orig_value; /* the value before the change */ 789s # } ChangedProperty; 789s # 789s # static void 789s # _changed_property_free (ChangedProperty *data) 789s # { 789s # g_value_unset (&data->orig_value); 789s # g_free (data); 789s # } 789s # 789s # static gboolean 789s # _g_strv_equal0 (gchar **a, gchar **b) 789s # { 789s # gboolean ret = FALSE; 789s # guint n; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # if (g_strv_length (a) != g_strv_length (b)) 789s # goto out; 789s # for (n = 0; a[n] != NULL; n++) 789s # if (g_strcmp0 (a[n], b[n]) != 0) 789s # goto out; 789s # ret = TRUE; 789s # out: 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _g_variant_equal0 (GVariant *a, GVariant *b) 789s # { 789s # gboolean ret = FALSE; 789s # if (a == NULL && b == NULL) 789s # { 789s # ret = TRUE; 789s # goto out; 789s # } 789s # if (a == NULL || b == NULL) 789s # goto out; 789s # ret = g_variant_equal (a, b); 789s # out: 789s # return ret; 789s # } 789s # 789s # G_GNUC_UNUSED static gboolean 789s # _g_value_equal (const GValue *a, const GValue *b) 789s # { 789s # gboolean ret = FALSE; 789s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 789s # switch (G_VALUE_TYPE (a)) 789s # { 789s # case G_TYPE_BOOLEAN: 789s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 789s # break; 789s # case G_TYPE_UCHAR: 789s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 789s # break; 789s # case G_TYPE_INT: 789s # ret = (g_value_get_int (a) == g_value_get_int (b)); 789s # break; 789s # case G_TYPE_UINT: 789s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 789s # break; 789s # case G_TYPE_INT64: 789s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 789s # break; 789s # case G_TYPE_UINT64: 789s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 789s # break; 789s # case G_TYPE_DOUBLE: 789s # { 789s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 789s # gdouble da = g_value_get_double (a); 789s # gdouble db = g_value_get_double (b); 789s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 789s # } 789s # break; 789s # case G_TYPE_STRING: 789s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 789s # break; 789s # case G_TYPE_VARIANT: 789s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 789s # break; 789s # default: 789s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 789s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 789s # else 789s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 789s # break; 789s # } 789s # return ret; 789s # } 789s # 789s # static void 789s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 789s # GClosure *closure, 789s # GValue *return_value G_GNUC_UNUSED, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint G_GNUC_UNUSED, 789s # void *marshal_data) 789s # { 789s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 789s # (void *data1, 789s # gboolean arg_an_b, 789s # guchar arg_an_y, 789s # gint16 arg_an_n, 789s # guint16 arg_an_q, 789s # gint arg_an_i, 789s # guint arg_an_u, 789s # gint64 arg_an_x, 789s # guint64 arg_an_t, 789s # gdouble arg_an_d, 789s # const gchar *arg_an_s, 789s # const gchar *arg_an_o, 789s # const gchar *arg_an_g, 789s # GVariant *arg_an_h, 789s # const gchar *arg_an_ay, 789s # const gchar *const *arg_an_as, 789s # const gchar *const *arg_an_ao, 789s # const gchar *const *arg_an_aay, 789s # GVariant *arg_an_asv, 789s # void *data2); 789s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 789s # GCClosure *cc = (GCClosure*) closure; 789s # void *data1, *data2; 789s # 789s # g_return_if_fail (n_param_values == 19); 789s # 789s # if (G_CCLOSURE_SWAP_DATA (closure)) 789s # { 789s # data1 = closure->data; 789s # data2 = g_value_peek_pointer (param_values + 0); 789s # } 789s # else 789s # { 789s # data1 = g_value_peek_pointer (param_values + 0); 789s # data2 = closure->data; 789s # } 789s # 789s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 789s # (marshal_data ? marshal_data : cc->callback); 789s # 789s # callback (data1, 789s # g_marshal_value_peek_boolean (param_values + 1), 789s # g_marshal_value_peek_uchar (param_values + 2), 789s # g_marshal_value_peek_int (param_values + 3), 789s # g_marshal_value_peek_uint (param_values + 4), 789s # g_marshal_value_peek_int (param_values + 5), 789s # g_marshal_value_peek_uint (param_values + 6), 789s # g_marshal_value_peek_int64 (param_values + 7), 789s # g_marshal_value_peek_uint64 (param_values + 8), 789s # g_marshal_value_peek_double (param_values + 9), 789s # g_marshal_value_peek_string (param_values + 10), 789s # g_marshal_value_peek_string (param_values + 11), 789s # g_marshal_value_peek_string (param_values + 12), 789s # g_marshal_value_peek_variant (param_values + 13), 789s # g_marshal_value_peek_string (param_values + 14), 789s # g_marshal_value_peek_boxed (param_values + 15), 789s # g_marshal_value_peek_boxed (param_values + 16), 789s # g_marshal_value_peek_boxed (param_values + 17), 789s # g_marshal_value_peek_variant (param_values + 18), 789s # data2); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ 789s # * Code for interface org.project.SignalingIface 789s # * ------------------------------------------------------------------------ 789s # */ 789s # 789s # /** 789s # * SECTION:OrgProjectSignalingIface 789s # * @title: OrgProjectSignalingIface 789s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 789s # * 789s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 789s # */ 789s # 789s # enum 789s # { 789s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 789s # }; 789s # 789s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 789s # 789s # /* ---- Introspection data for org.project.SignalingIface ---- */ 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SimpleSignal", 789s # NULL, 789s # NULL 789s # }, 789s # "simple-signal" 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 789s # { 789s # { 789s # -1, 789s # (gchar *) "an_b", 789s # (gchar *) "b", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 789s # { 789s # { 789s # -1, 789s # (gchar *) "an_y", 789s # (gchar *) "y", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 789s # { 789s # { 789s # -1, 789s # (gchar *) "an_n", 789s # (gchar *) "n", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 789s # { 789s # { 789s # -1, 789s # (gchar *) "an_q", 789s # (gchar *) "q", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 789s # { 789s # { 789s # -1, 789s # (gchar *) "an_i", 789s # (gchar *) "i", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 789s # { 789s # { 789s # -1, 789s # (gchar *) "an_u", 789s # (gchar *) "u", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 789s # { 789s # { 789s # -1, 789s # (gchar *) "an_x", 789s # (gchar *) "x", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 789s # { 789s # { 789s # -1, 789s # (gchar *) "an_t", 789s # (gchar *) "t", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 789s # { 789s # { 789s # -1, 789s # (gchar *) "an_d", 789s # (gchar *) "d", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 789s # { 789s # { 789s # -1, 789s # (gchar *) "an_s", 789s # (gchar *) "s", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 789s # { 789s # { 789s # -1, 789s # (gchar *) "an_o", 789s # (gchar *) "o", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 789s # { 789s # { 789s # -1, 789s # (gchar *) "an_g", 789s # (gchar *) "g", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 789s # { 789s # { 789s # -1, 789s # (gchar *) "an_h", 789s # (gchar *) "h", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 789s # { 789s # { 789s # -1, 789s # (gchar *) "an_ay", 789s # (gchar *) "ay", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 789s # { 789s # { 789s # -1, 789s # (gchar *) "an_as", 789s # (gchar *) "as", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 789s # { 789s # { 789s # -1, 789s # (gchar *) "an_ao", 789s # (gchar *) "ao", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 789s # { 789s # { 789s # -1, 789s # (gchar *) "an_aay", 789s # (gchar *) "aay", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 789s # { 789s # { 789s # -1, 789s # (gchar *) "an_asv", 789s # (gchar *) "a{sv}", 789s # NULL 789s # }, 789s # FALSE 789s # }; 789s # 789s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 789s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 789s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 789s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 789s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 789s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 789s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 789s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 789s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 789s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 789s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 789s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 789s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 789s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 789s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 789s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 789s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 789s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 789s # { 789s # { 789s # -1, 789s # (gchar *) "SignalWithManyArgs", 789s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 789s # NULL 789s # }, 789s # "signal-with-many-args" 789s # }; 789s # 789s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 789s # { 789s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 789s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 789s # NULL 789s # }; 789s # 789s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 789s # { 789s # { 789s # -1, 789s # (gchar *) "org.project.SignalingIface", 789s # NULL, 789s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 789s # NULL, 789s # NULL 789s # }, 789s # "org-project-signaling-iface", 789s # }; 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_interface_info: 789s # * 789s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 789s # * 789s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 789s # */ 789s # GDBusInterfaceInfo * 789s # org_project_signaling_iface_interface_info (void) 789s # { 789s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_override_properties: 789s # * @klass: The class structure for a #GObject derived class. 789s # * @property_id_begin: The property id to assign to the first overridden property. 789s # * 789s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 789s # * The properties are overridden in the order they are defined. 789s # * 789s # * Returns: The last property id. 789s # */ 789s # guint 789s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 789s # { 789s # return property_id_begin - 1; 789s # } 789s # 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_simple_signal ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # g_cclosure_marshal_VOID__VOID (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # inline static void 789s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 789s # GClosure *closure, 789s # GValue *return_value, 789s # unsigned int n_param_values, 789s # const GValue *param_values, 789s # void *invocation_hint, 789s # void *marshal_data) 789s # { 789s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 789s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 789s # } 789s # 789s # 789s # /** 789s # * OrgProjectSignalingIface: 789s # * 789s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceIface: 789s # * @parent_iface: The parent interface. 789s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 789s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 789s # * 789s # * Virtual table for the D-Bus interface org.project.SignalingIface. 789s # */ 789s # 789s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 789s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 789s # 789s # static void 789s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # /* GObject signals for received D-Bus signals: */ 789s # /** 789s # * OrgProjectSignalingIface::simple-signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 789s # g_signal_new ("simple-signal", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_simple_signal, 789s # G_TYPE_NONE, 789s # 0); 789s # 789s # /** 789s # * OrgProjectSignalingIface::signal-with-many-args: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_an_b: Argument. 789s # * @arg_an_y: Argument. 789s # * @arg_an_n: Argument. 789s # * @arg_an_q: Argument. 789s # * @arg_an_i: Argument. 789s # * @arg_an_u: Argument. 789s # * @arg_an_x: Argument. 789s # * @arg_an_t: Argument. 789s # * @arg_an_d: Argument. 789s # * @arg_an_s: Argument. 789s # * @arg_an_o: Argument. 789s # * @arg_an_g: Argument. 789s # * @arg_an_h: Argument. 789s # * @arg_an_ay: Argument. 789s # * @arg_an_as: Argument. 789s # * @arg_an_ao: Argument. 789s # * @arg_an_aay: Argument. 789s # * @arg_an_asv: Argument. 789s # * 789s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 789s # * 789s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 789s # */ 789s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 789s # g_signal_new ("signal-with-many-args", 789s # G_TYPE_FROM_INTERFACE (iface), 789s # G_SIGNAL_RUN_LAST, 789s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 789s # NULL, 789s # NULL, 789s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 789s # G_TYPE_NONE, 789s # 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); 789s # 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_simple_signal: 789s # * @object: A #OrgProjectSignalingIface. 789s # * 789s # * Emits the "SimpleSignal" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_emit_signal_with_many_args: 789s # * @object: A #OrgProjectSignalingIface. 789s # * @arg_an_b: Argument to pass with the signal. 789s # * @arg_an_y: Argument to pass with the signal. 789s # * @arg_an_n: Argument to pass with the signal. 789s # * @arg_an_q: Argument to pass with the signal. 789s # * @arg_an_i: Argument to pass with the signal. 789s # * @arg_an_u: Argument to pass with the signal. 789s # * @arg_an_x: Argument to pass with the signal. 789s # * @arg_an_t: Argument to pass with the signal. 789s # * @arg_an_d: Argument to pass with the signal. 789s # * @arg_an_s: Argument to pass with the signal. 789s # * @arg_an_o: Argument to pass with the signal. 789s # * @arg_an_g: Argument to pass with the signal. 789s # * @arg_an_h: Argument to pass with the signal. 789s # * @arg_an_ay: Argument to pass with the signal. 789s # * @arg_an_as: Argument to pass with the signal. 789s # * @arg_an_ao: Argument to pass with the signal. 789s # * @arg_an_aay: Argument to pass with the signal. 789s # * @arg_an_asv: Argument to pass with the signal. 789s # * 789s # * Emits the "SignalWithManyArgs" D-Bus signal. 789s # */ 789s # void 789s # org_project_signaling_iface_emit_signal_with_many_args ( 789s # OrgProjectSignalingIface *object, 789s # gboolean arg_an_b, 789s # guchar arg_an_y, 789s # gint16 arg_an_n, 789s # guint16 arg_an_q, 789s # gint arg_an_i, 789s # guint arg_an_u, 789s # gint64 arg_an_x, 789s # guint64 arg_an_t, 789s # gdouble arg_an_d, 789s # const gchar *arg_an_s, 789s # const gchar *arg_an_o, 789s # const gchar *arg_an_g, 789s # GVariant *arg_an_h, 789s # const gchar *arg_an_ay, 789s # const gchar *const *arg_an_as, 789s # const gchar *const *arg_an_ao, 789s # const gchar *const *arg_an_aay, 789s # GVariant *arg_an_asv) 789s # { 789s # 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); 789s # } 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxy: 789s # * 789s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceProxyClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceProxy. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceProxyPrivate 789s # { 789s # GData *qdata; 789s # }; 789s # 789s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_proxy_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 789s # g_datalist_clear (&proxy->priv->qdata); 789s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 789s # guint prop_id G_GNUC_UNUSED, 789s # const GValue *value G_GNUC_UNUSED, 789s # GParamSpec *pspec G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 789s # const gchar *sender_name G_GNUC_UNUSED, 789s # const gchar *signal_name, 789s # GVariant *parameters) 789s # { 789s # _ExtendedGDBusSignalInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # gsize n; 789s # guint signal_id; 789s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 789s # if (info == NULL) 789s # return; 789s # num_params = g_variant_n_children (parameters); 789s # paramv = g_new0 (GValue, num_params + 1); 789s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[0], proxy); 789s # g_variant_iter_init (&iter, parameters); 789s # n = 1; 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_signal_emitv (paramv, signal_id, 0, NULL); 789s # for (n = 0; n < num_params + 1; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 789s # GVariant *changed_properties, 789s # const gchar *const *invalidated_properties) 789s # { 789s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 789s # guint n; 789s # const gchar *key; 789s # GVariantIter *iter; 789s # _ExtendedGDBusPropertyInfo *info; 789s # g_variant_get (changed_properties, "a{sv}", &iter); 789s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 789s # g_datalist_remove_data (&proxy->priv->qdata, key); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # g_variant_iter_free (iter); 789s # for (n = 0; invalidated_properties[n] != NULL; n++) 789s # { 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 789s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 789s # if (info != NULL) 789s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 789s # } 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 789s # #else 789s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 789s # #endif 789s # 789s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusProxyClass *proxy_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 789s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 789s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 789s # 789s # proxy_class = G_DBUS_PROXY_CLASS (klass); 789s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 789s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_sync: 789s # * @connection: A #GDBusConnection. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_sync ( 789s # GDBusConnection *connection, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 789s # * @user_data: User data to pass to @callback. 789s # * 789s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 789s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 789s # */ 789s # void 789s # org_project_signaling_iface_proxy_new_for_bus ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GAsyncReadyCallback callback, 789s # gpointer user_data) 789s # { 789s # 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); 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_finish: 789s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 789s # * @error: Return location for error or %NULL 789s # * 789s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_finish ( 789s # GAsyncResult *res, 789s # GError **error) 789s # { 789s # GObject *ret; 789s # GObject *source_object; 789s # source_object = g_async_result_get_source_object (res); 789s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 789s # g_object_unref (source_object); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_proxy_new_for_bus_sync: 789s # * @bus_type: A #GBusType. 789s # * @flags: Flags from the #GDBusProxyFlags enumeration. 789s # * @name: A bus name (well-known or unique). 789s # * @object_path: An object path. 789s # * @cancellable: (nullable): A #GCancellable or %NULL. 789s # * @error: Return location for error or %NULL 789s # * 789s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 789s # * 789s # * The calling thread is blocked until a reply is received. 789s # * 789s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_proxy_new_for_bus_sync ( 789s # GBusType bus_type, 789s # GDBusProxyFlags flags, 789s # const gchar *name, 789s # const gchar *object_path, 789s # GCancellable *cancellable, 789s # GError **error) 789s # { 789s # GInitable *ret; 789s # 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); 789s # if (ret != NULL) 789s # return ORG_PROJECT_SIGNALING_IFACE (ret); 789s # else 789s # return NULL; 789s # } 789s # 789s # 789s # /* ------------------------------------------------------------------------ */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeleton: 789s # * 789s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 789s # */ 789s # 789s # /** 789s # * OrgProjectSignalingIfaceSkeletonClass: 789s # * @parent_class: The parent class. 789s # * 789s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 789s # */ 789s # 789s # struct _OrgProjectSignalingIfaceSkeletonPrivate 789s # { 789s # GValue *properties; 789s # GList *changed_properties; 789s # GSource *changed_properties_idle_source; 789s # GMainContext *context; 789s # GMutex lock; 789s # }; 789s # 789s # static void 789s # _org_project_signaling_iface_skeleton_handle_method_call ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name, 789s # const gchar *method_name, 789s # GVariant *parameters, 789s # GDBusMethodInvocation *invocation, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # _ExtendedGDBusMethodInfo *info; 789s # GVariantIter iter; 789s # GVariant *child; 789s # GValue *paramv; 789s # gsize num_params; 789s # guint num_extra; 789s # gsize n; 789s # guint signal_id; 789s # GValue return_value = G_VALUE_INIT; 789s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 789s # g_assert (info != NULL); 789s # num_params = g_variant_n_children (parameters); 789s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 789s # n = 0; 789s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_set_object (¶mv[n++], skeleton); 789s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 789s # g_value_set_object (¶mv[n++], invocation); 789s # if (info->pass_fdlist) 789s # { 789s # #ifdef G_OS_UNIX 789s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 789s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 789s # #else 789s # g_assert_not_reached (); 789s # #endif 789s # } 789s # g_variant_iter_init (&iter, parameters); 789s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 789s # { 789s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 789s # if (arg_info->use_gvariant) 789s # { 789s # g_value_init (¶mv[n], G_TYPE_VARIANT); 789s # g_value_set_variant (¶mv[n], child); 789s # n++; 789s # } 789s # else 789s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 789s # g_variant_unref (child); 789s # } 789s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 789s # g_value_init (&return_value, G_TYPE_BOOLEAN); 789s # g_signal_emitv (paramv, signal_id, 0, &return_value); 789s # if (!g_value_get_boolean (&return_value)) 789s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 789s # g_value_unset (&return_value); 789s # for (n = 0; n < num_params + num_extra; n++) 789s # g_value_unset (¶mv[n]); 789s # g_free (paramv); 789s # } 789s # 789s # static GVariant * 789s # _org_project_signaling_iface_skeleton_handle_get_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # GVariant *ret; 789s # ret = NULL; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # g_value_init (&value, pspec->value_type); 789s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 789s # g_value_unset (&value); 789s # } 789s # return ret; 789s # } 789s # 789s # static gboolean 789s # _org_project_signaling_iface_skeleton_handle_set_property ( 789s # GDBusConnection *connection G_GNUC_UNUSED, 789s # const gchar *sender G_GNUC_UNUSED, 789s # const gchar *object_path G_GNUC_UNUSED, 789s # const gchar *interface_name G_GNUC_UNUSED, 789s # const gchar *property_name, 789s # GVariant *variant, 789s # GError **error, 789s # gpointer user_data) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 789s # GValue value = G_VALUE_INIT; 789s # GParamSpec *pspec; 789s # _ExtendedGDBusPropertyInfo *info; 789s # gboolean ret; 789s # ret = FALSE; 789s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 789s # g_assert (info != NULL); 789s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 789s # if (pspec == NULL) 789s # { 789s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 789s # } 789s # else 789s # { 789s # if (info->use_gvariant) 789s # g_value_set_variant (&value, variant); 789s # else 789s # g_dbus_gvariant_to_gvalue (variant, &value); 789s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 789s # g_value_unset (&value); 789s # ret = TRUE; 789s # } 789s # return ret; 789s # } 789s # 789s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 789s # { 789s # _org_project_signaling_iface_skeleton_handle_method_call, 789s # _org_project_signaling_iface_skeleton_handle_get_property, 789s # _org_project_signaling_iface_skeleton_handle_set_property, 789s # {NULL} 789s # }; 789s # 789s # static GDBusInterfaceInfo * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return org_project_signaling_iface_interface_info (); 789s # } 789s # 789s # static GDBusInterfaceVTable * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 789s # { 789s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 789s # } 789s # 789s # static GVariant * 789s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 789s # 789s # GVariantBuilder builder; 789s # guint n; 789s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 789s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 789s # goto out; 789s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 789s # { 789s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 789s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 789s # { 789s # GVariant *value; 789s # 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); 789s # if (value != NULL) 789s # { 789s # g_variant_take_ref (value); 789s # g_variant_builder_add (&builder, "{sv}", info->name, value); 789s # g_variant_unref (value); 789s # } 789s # } 789s # } 789s # out: 789s # return g_variant_builder_end (&builder); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 789s # { 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_simple_signal ( 789s # OrgProjectSignalingIface *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void 789s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 789s # OrgProjectSignalingIface *object, 789s # gboolean arg_an_b, 789s # guchar arg_an_y, 789s # gint16 arg_an_n, 789s # guint16 arg_an_q, 789s # gint arg_an_i, 789s # guint arg_an_u, 789s # gint64 arg_an_x, 789s # guint64 arg_an_t, 789s # gdouble arg_an_d, 789s # const gchar *arg_an_s, 789s # const gchar *arg_an_o, 789s # const gchar *arg_an_g, 789s # GVariant *arg_an_h, 789s # const gchar *arg_an_ay, 789s # const gchar *const *arg_an_as, 789s # const gchar *const *arg_an_ao, 789s # const gchar *const *arg_an_aay, 789s # GVariant *arg_an_asv) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # 789s # GList *connections, *l; 789s # GVariant *signal_variant; 789s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 789s # 789s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 789s # arg_an_b, 789s # arg_an_y, 789s # arg_an_n, 789s # arg_an_q, 789s # arg_an_i, 789s # arg_an_u, 789s # arg_an_x, 789s # arg_an_t, 789s # arg_an_d, 789s # arg_an_s, 789s # arg_an_o, 789s # arg_an_g, 789s # arg_an_h, 789s # arg_an_ay, 789s # arg_an_as, 789s # arg_an_ao, 789s # arg_an_aay, 789s # arg_an_asv)); 789s # for (l = connections; l != NULL; l = l->next) 789s # { 789s # GDBusConnection *connection = l->data; 789s # g_dbus_connection_emit_signal (connection, 789s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 789s # signal_variant, NULL); 789s # } 789s # g_variant_unref (signal_variant); 789s # g_list_free_full (connections, g_object_unref); 789s # } 789s # 789s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #else 789s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 789s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 789s # 789s # #endif 789s # static void 789s # org_project_signaling_iface_skeleton_finalize (GObject *object) 789s # { 789s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 789s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 789s # if (skeleton->priv->changed_properties_idle_source != NULL) 789s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 789s # g_main_context_unref (skeleton->priv->context); 789s # g_mutex_clear (&skeleton->priv->lock); 789s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 789s # { 789s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 789s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 789s # #else 789s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 789s # #endif 789s # 789s # g_mutex_init (&skeleton->priv->lock); 789s # skeleton->priv->context = g_main_context_ref_thread_default (); 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 789s # { 789s # GObjectClass *gobject_class; 789s # GDBusInterfaceSkeletonClass *skeleton_class; 789s # 789s # gobject_class = G_OBJECT_CLASS (klass); 789s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 789s # 789s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 789s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 789s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 789s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 789s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 789s # 789s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 789s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 789s # #endif 789s # } 789s # 789s # static void 789s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 789s # { 789s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 789s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 789s # } 789s # 789s # /** 789s # * org_project_signaling_iface_skeleton_new: 789s # * 789s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 789s # * 789s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 789s # */ 789s # OrgProjectSignalingIface * 789s # org_project_signaling_iface_skeleton_new (void) 789s # { 789s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 789s # } 789s ok 25 __main__.TestCodegen.test_generate_valid_docbook 789s # tmpdir: /tmp/tmpsqt388hb 789s # codegen: /usr/bin/gdbus-codegen 789s # /tmp/tmpsqt388hb/tmpu11tj709.xml: 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsqt388hb/tmpu11tj709.xml', '--generate-docbook', 'test'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: 789s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 789s # tmpdir: /tmp/tmpvruxct8x 789s # codegen: /usr/bin/gdbus-codegen 789s # /tmp/tmpvruxct8x/tmpkaqco3_s.xml: 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvruxct8x/tmpkaqco3_s.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 789s # tmpdir: /tmp/tmpuatfxckq 789s # codegen: /usr/bin/gdbus-codegen 789s # /tmp/tmpuatfxckq/tmpaz2re1yu.xml: 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuatfxckq/tmpaz2re1yu.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifndef __STDOUT__ 789s # #define __STDOUT__ 789s # 789s # #include 789s # 789s # G_BEGIN_DECLS 789s # 789s # 789s # G_END_DECLS 789s # 789s # #endif /* __STDOUT__ */ 789s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 789s # tmpdir: /tmp/tmp7w4h2_ng 789s # codegen: /usr/bin/gdbus-codegen 789s # /tmp/tmp7w4h2_ng/tmp8bqlmtc_.xml: 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7w4h2_ng/tmp8bqlmtc_.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 789s # tmpdir: /tmp/tmpib0wg1i_ 789s # codegen: /usr/bin/gdbus-codegen 789s # /tmp/tmpib0wg1i_/tmpcrt_fa6m.xml: 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpib0wg1i_/tmpcrt_fa6m.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifndef __STDOUT__ 789s # #define __STDOUT__ 789s # 789s # #include 789s # 789s # G_BEGIN_DECLS 789s # 789s # 789s # G_END_DECLS 789s # 789s # #endif /* __STDOUT__ */ 789s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 789s # tmpdir: /tmp/tmprfnr2s9j 789s # codegen: /usr/bin/gdbus-codegen 789s # /tmp/tmprfnr2s9j/tmps270i9jl.xml: 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprfnr2s9j/tmps270i9jl.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifndef __STDOUT__ 789s # #define __STDOUT__ 789s # 789s # #include 789s # 789s # G_BEGIN_DECLS 789s # 789s # 789s # G_END_DECLS 789s # 789s # #endif /* __STDOUT__ */ 789s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 789s # tmpdir: /tmp/tmph671mjfk 789s # codegen: /usr/bin/gdbus-codegen 789s # /tmp/tmph671mjfk/tmp_lvq4_8d.xml: 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph671mjfk/tmp_lvq4_8d.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 789s # tmpdir: /tmp/tmp8hkm0ezh 789s # codegen: /usr/bin/gdbus-codegen 789s # /tmp/tmp8hkm0ezh/tmpmdpc1905.xml: 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8hkm0ezh/tmpmdpc1905.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifndef __STDOUT__ 789s # #define __STDOUT__ 789s # 789s # #include 789s # 789s # G_BEGIN_DECLS 789s # 789s # 789s # G_END_DECLS 789s # 789s # #endif /* __STDOUT__ */ 789s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 789s # tmpdir: /tmp/tmp9e6wmkzk 789s # codegen: /usr/bin/gdbus-codegen 789s # /tmp/tmp9e6wmkzk/tmp1cswgygi.xml: 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9e6wmkzk/tmp1cswgygi.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 789s # tmpdir: /tmp/tmpfr7jb5rg 789s # codegen: /usr/bin/gdbus-codegen 789s # /tmp/tmpfr7jb5rg/tmpchzzvywr.xml: 789s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfr7jb5rg/tmpchzzvywr.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: /* 789s # * This file is generated by gdbus-codegen, do not modify it. 789s # * 789s # * The license of this code is the same as for the D-Bus interface description 789s # * it was derived from. Note that it links to GLib, so must comply with the 789s # * LGPL linking clauses. 789s # */ 789s # 789s # #ifndef __STDOUT__ 789s # #define __STDOUT__ 789s # 789s # #include 789s # 789s # G_BEGIN_DECLS 789s # 789s # 789s # G_END_DECLS 789s # 789s # #endif /* __STDOUT__ */ 789s ok 35 __main__.TestCodegen.test_help 789s # tmpdir: /tmp/tmp0pgh1k0f 789s # codegen: /usr/bin/gdbus-codegen 789s # Running: ['/usr/bin/gdbus-codegen', '--help'] 789s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 789s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 789s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 789s # [--c-generate-autocleanup {none,objects,all}] 789s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 789s # [--generate-rst OUTFILES] [--pragma-once] 789s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 789s # [--glib-min-required VERSION] 789s # [--glib-max-allowed VERSION] 789s # [--symbol-decorator SYMBOL_DECORATOR] 789s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 789s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 789s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 789s # [--output FILE | --output-directory OUTDIR] 789s # FILE [FILE ...] 789s # 789s # D-Bus code and documentation generator 789s # 789s # positional arguments: 789s # FILE D-Bus introspection XML file 789s # 789s # options: 789s # -h, --help show this help message and exit 789s # --interface-prefix PREFIX 789s # String to strip from D-Bus interface names for code 789s # and docs 789s # --c-namespace NAMESPACE 789s # The namespace to use for generated C code 789s # --c-generate-object-manager 789s # Generate a GDBusObjectManagerClient subclass when 789s # generating C code 789s # --c-generate-autocleanup {none,objects,all} 789s # Generate autocleanup support 789s # --generate-docbook OUTFILES 789s # Generate Docbook in OUTFILES-org.Project.IFace.xml 789s # --generate-md OUTFILES 789s # Generate Markdown in OUTFILES-org.Project.IFace.md 789s # --generate-rst OUTFILES 789s # Generate reStructuredText in OUTFILES- 789s # org.Project.IFace.rst 789s # --pragma-once Use "pragma once" as the inclusion guard 789s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 789s # Add annotation (may be used several times) 789s # --glib-min-required VERSION 789s # Minimum version of GLib to be supported by the 789s # outputted code (default: 2.30) 789s # --glib-max-allowed VERSION 789s # Maximum version of GLib to be used by the outputted 789s # code (default: current GLib version) 789s # --symbol-decorator SYMBOL_DECORATOR 789s # Macro used to decorate a symbol in the outputted 789s # header, possibly to export symbols 789s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 789s # Additional header required for decorator specified by 789s # --symbol-decorator 789s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 789s # Additional define required for decorator specified by 789s # --symbol-decorator 789s # --generate-c-code OUTFILES 789s # Generate C code in OUTFILES.[ch] 789s # --header Generate C headers 789s # --body Generate C code 789s # --interface-info-header 789s # Generate GDBusInterfaceInfo C header 789s # --interface-info-body 789s # Generate GDBusInterfaceInfo C code 789s # --output FILE Write output into the specified file 789s # --output-directory OUTDIR 789s # Location to output generated files 790s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 790s # tmpdir: /tmp/tmptrwi_z9a 790s # codegen: /usr/bin/gdbus-codegen 790s # /tmp/tmptrwi_z9a/tmptnw9pusl.xml: 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptrwi_z9a/tmptnw9pusl.xml', '--generate-rst', 'test'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: 790s # /tmp/tmptrwi_z9a/tmpd5qg1uu9.xml: 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptrwi_z9a/tmpd5qg1uu9.xml', '--generate-md', 'test'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: 790s # /tmp/tmptrwi_z9a/tmpumpn1r9q.xml: 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptrwi_z9a/tmpumpn1r9q.xml', '--generate-docbook', 'test'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: 790s ok 37 __main__.TestCodegen.test_no_args 790s # tmpdir: /tmp/tmp17uebqf6 790s # codegen: /usr/bin/gdbus-codegen 790s # Running: ['/usr/bin/gdbus-codegen'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s ok 38 __main__.TestCodegen.test_reproducible 790s # tmpdir: /tmp/tmp2c7w9ekm 790s # codegen: /usr/bin/gdbus-codegen 790s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2c7w9ekm/tmpbrmn0ubm1.xml', '/tmp/tmp2c7w9ekm/tmp3iwm9g9n2.xml', '--output', '-', '--header'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: /* 790s # * This file is generated by gdbus-codegen, do not modify it. 790s # * 790s # * The license of this code is the same as for the D-Bus interface description 790s # * it was derived from. Note that it links to GLib, so must comply with the 790s # * LGPL linking clauses. 790s # */ 790s # 790s # #ifndef __STDOUT__ 790s # #define __STDOUT__ 790s # 790s # #include 790s # 790s # G_BEGIN_DECLS 790s # 790s # 790s # /* ------------------------------------------------------------------------ */ 790s # /* Declarations for org.project.Bar.Frobnicator */ 790s # 790s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 790s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 790s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 790s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 790s # 790s # struct _OrgProjectBarFrobnicator; 790s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 790s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 790s # 790s # struct _OrgProjectBarFrobnicatorIface 790s # { 790s # GTypeInterface parent_iface; 790s # 790s # gboolean (*handle_random_method) ( 790s # OrgProjectBarFrobnicator *object, 790s # GDBusMethodInvocation *invocation); 790s # 790s # }; 790s # 790s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 790s # 790s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 790s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 790s # 790s # 790s # /* D-Bus method call completion functions: */ 790s # void org_project_bar_frobnicator_complete_random_method ( 790s # OrgProjectBarFrobnicator *object, 790s # GDBusMethodInvocation *invocation); 790s # 790s # 790s # 790s # /* D-Bus method calls: */ 790s # void org_project_bar_frobnicator_call_random_method ( 790s # OrgProjectBarFrobnicator *proxy, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # 790s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 790s # OrgProjectBarFrobnicator *proxy, 790s # GAsyncResult *res, 790s # GError **error); 790s # 790s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 790s # OrgProjectBarFrobnicator *proxy, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # 790s # 790s # /* ---- */ 790s # 790s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 790s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 790s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 790s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 790s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 790s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 790s # 790s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 790s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 790s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 790s # 790s # struct _OrgProjectBarFrobnicatorProxy 790s # { 790s # /*< private >*/ 790s # GDBusProxy parent_instance; 790s # OrgProjectBarFrobnicatorProxyPrivate *priv; 790s # }; 790s # 790s # struct _OrgProjectBarFrobnicatorProxyClass 790s # { 790s # GDBusProxyClass parent_class; 790s # }; 790s # 790s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 790s # 790s # #if GLIB_CHECK_VERSION(2, 44, 0) 790s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 790s # #endif 790s # 790s # void org_project_bar_frobnicator_proxy_new ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 790s # GAsyncResult *res, 790s # GError **error); 790s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # void org_project_bar_frobnicator_proxy_new_for_bus ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 790s # GAsyncResult *res, 790s # GError **error); 790s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # 790s # /* ---- */ 790s # 790s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 790s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 790s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 790s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 790s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 790s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 790s # 790s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 790s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 790s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 790s # 790s # struct _OrgProjectBarFrobnicatorSkeleton 790s # { 790s # /*< private >*/ 790s # GDBusInterfaceSkeleton parent_instance; 790s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 790s # }; 790s # 790s # struct _OrgProjectBarFrobnicatorSkeletonClass 790s # { 790s # GDBusInterfaceSkeletonClass parent_class; 790s # }; 790s # 790s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 790s # 790s # #if GLIB_CHECK_VERSION(2, 44, 0) 790s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 790s # #endif 790s # 790s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 790s # 790s # 790s # /* ------------------------------------------------------------------------ */ 790s # /* Declarations for com.acme.Coyote */ 790s # 790s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 790s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 790s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 790s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 790s # 790s # struct _ComAcmeCoyote; 790s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 790s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 790s # 790s # struct _ComAcmeCoyoteIface 790s # { 790s # GTypeInterface parent_iface; 790s # 790s # 790s # 790s # gboolean (*handle_attack) ( 790s # ComAcmeCoyote *object, 790s # GDBusMethodInvocation *invocation); 790s # 790s # gboolean (*handle_run) ( 790s # ComAcmeCoyote *object, 790s # GDBusMethodInvocation *invocation); 790s # 790s # gboolean (*handle_sleep) ( 790s # ComAcmeCoyote *object, 790s # GDBusMethodInvocation *invocation); 790s # 790s # const gchar * (*get_mood) (ComAcmeCoyote *object); 790s # 790s # void (*surprised) ( 790s # ComAcmeCoyote *object); 790s # 790s # }; 790s # 790s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 790s # 790s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 790s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 790s # 790s # 790s # /* D-Bus method call completion functions: */ 790s # void com_acme_coyote_complete_run ( 790s # ComAcmeCoyote *object, 790s # GDBusMethodInvocation *invocation); 790s # 790s # void com_acme_coyote_complete_sleep ( 790s # ComAcmeCoyote *object, 790s # GDBusMethodInvocation *invocation); 790s # 790s # void com_acme_coyote_complete_attack ( 790s # ComAcmeCoyote *object, 790s # GDBusMethodInvocation *invocation); 790s # 790s # 790s # 790s # /* D-Bus signal emissions functions: */ 790s # void com_acme_coyote_emit_surprised ( 790s # ComAcmeCoyote *object); 790s # 790s # 790s # 790s # /* D-Bus method calls: */ 790s # void com_acme_coyote_call_run ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # 790s # gboolean com_acme_coyote_call_run_finish ( 790s # ComAcmeCoyote *proxy, 790s # GAsyncResult *res, 790s # GError **error); 790s # 790s # gboolean com_acme_coyote_call_run_sync ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # void com_acme_coyote_call_sleep ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # 790s # gboolean com_acme_coyote_call_sleep_finish ( 790s # ComAcmeCoyote *proxy, 790s # GAsyncResult *res, 790s # GError **error); 790s # 790s # gboolean com_acme_coyote_call_sleep_sync ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # void com_acme_coyote_call_attack ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # 790s # gboolean com_acme_coyote_call_attack_finish ( 790s # ComAcmeCoyote *proxy, 790s # GAsyncResult *res, 790s # GError **error); 790s # 790s # gboolean com_acme_coyote_call_attack_sync ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # 790s # 790s # /* D-Bus property accessors: */ 790s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 790s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 790s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 790s # 790s # 790s # /* ---- */ 790s # 790s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 790s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 790s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 790s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 790s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 790s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 790s # 790s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 790s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 790s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 790s # 790s # struct _ComAcmeCoyoteProxy 790s # { 790s # /*< private >*/ 790s # GDBusProxy parent_instance; 790s # ComAcmeCoyoteProxyPrivate *priv; 790s # }; 790s # 790s # struct _ComAcmeCoyoteProxyClass 790s # { 790s # GDBusProxyClass parent_class; 790s # }; 790s # 790s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 790s # 790s # #if GLIB_CHECK_VERSION(2, 44, 0) 790s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 790s # #endif 790s # 790s # void com_acme_coyote_proxy_new ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 790s # GAsyncResult *res, 790s # GError **error); 790s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # void com_acme_coyote_proxy_new_for_bus ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 790s # GAsyncResult *res, 790s # GError **error); 790s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # 790s # /* ---- */ 790s # 790s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 790s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 790s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 790s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 790s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 790s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 790s # 790s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 790s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 790s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 790s # 790s # struct _ComAcmeCoyoteSkeleton 790s # { 790s # /*< private >*/ 790s # GDBusInterfaceSkeleton parent_instance; 790s # ComAcmeCoyoteSkeletonPrivate *priv; 790s # }; 790s # 790s # struct _ComAcmeCoyoteSkeletonClass 790s # { 790s # GDBusInterfaceSkeletonClass parent_class; 790s # }; 790s # 790s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 790s # 790s # #if GLIB_CHECK_VERSION(2, 44, 0) 790s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 790s # #endif 790s # 790s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 790s # 790s # 790s # G_END_DECLS 790s # 790s # #endif /* __STDOUT__ */ 790s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2c7w9ekm/tmp3iwm9g9n2.xml', '/tmp/tmp2c7w9ekm/tmpbrmn0ubm1.xml', '--output', '-', '--header'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: /* 790s # * This file is generated by gdbus-codegen, do not modify it. 790s # * 790s # * The license of this code is the same as for the D-Bus interface description 790s # * it was derived from. Note that it links to GLib, so must comply with the 790s # * LGPL linking clauses. 790s # */ 790s # 790s # #ifndef __STDOUT__ 790s # #define __STDOUT__ 790s # 790s # #include 790s # 790s # G_BEGIN_DECLS 790s # 790s # 790s # /* ------------------------------------------------------------------------ */ 790s # /* Declarations for org.project.Bar.Frobnicator */ 790s # 790s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 790s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 790s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 790s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 790s # 790s # struct _OrgProjectBarFrobnicator; 790s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 790s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 790s # 790s # struct _OrgProjectBarFrobnicatorIface 790s # { 790s # GTypeInterface parent_iface; 790s # 790s # gboolean (*handle_random_method) ( 790s # OrgProjectBarFrobnicator *object, 790s # GDBusMethodInvocation *invocation); 790s # 790s # }; 790s # 790s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 790s # 790s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 790s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 790s # 790s # 790s # /* D-Bus method call completion functions: */ 790s # void org_project_bar_frobnicator_complete_random_method ( 790s # OrgProjectBarFrobnicator *object, 790s # GDBusMethodInvocation *invocation); 790s # 790s # 790s # 790s # /* D-Bus method calls: */ 790s # void org_project_bar_frobnicator_call_random_method ( 790s # OrgProjectBarFrobnicator *proxy, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # 790s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 790s # OrgProjectBarFrobnicator *proxy, 790s # GAsyncResult *res, 790s # GError **error); 790s # 790s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 790s # OrgProjectBarFrobnicator *proxy, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # 790s # 790s # /* ---- */ 790s # 790s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 790s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 790s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 790s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 790s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 790s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 790s # 790s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 790s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 790s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 790s # 790s # struct _OrgProjectBarFrobnicatorProxy 790s # { 790s # /*< private >*/ 790s # GDBusProxy parent_instance; 790s # OrgProjectBarFrobnicatorProxyPrivate *priv; 790s # }; 790s # 790s # struct _OrgProjectBarFrobnicatorProxyClass 790s # { 790s # GDBusProxyClass parent_class; 790s # }; 790s # 790s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 790s # 790s # #if GLIB_CHECK_VERSION(2, 44, 0) 790s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 790s # #endif 790s # 790s # void org_project_bar_frobnicator_proxy_new ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 790s # GAsyncResult *res, 790s # GError **error); 790s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # void org_project_bar_frobnicator_proxy_new_for_bus ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 790s # GAsyncResult *res, 790s # GError **error); 790s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # 790s # /* ---- */ 790s # 790s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 790s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 790s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 790s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 790s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 790s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 790s # 790s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 790s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 790s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 790s # 790s # struct _OrgProjectBarFrobnicatorSkeleton 790s # { 790s # /*< private >*/ 790s # GDBusInterfaceSkeleton parent_instance; 790s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 790s # }; 790s # 790s # struct _OrgProjectBarFrobnicatorSkeletonClass 790s # { 790s # GDBusInterfaceSkeletonClass parent_class; 790s # }; 790s # 790s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 790s # 790s # #if GLIB_CHECK_VERSION(2, 44, 0) 790s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 790s # #endif 790s # 790s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 790s # 790s # 790s # /* ------------------------------------------------------------------------ */ 790s # /* Declarations for com.acme.Coyote */ 790s # 790s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 790s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 790s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 790s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 790s # 790s # struct _ComAcmeCoyote; 790s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 790s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 790s # 790s # struct _ComAcmeCoyoteIface 790s # { 790s # GTypeInterface parent_iface; 790s # 790s # 790s # 790s # gboolean (*handle_attack) ( 790s # ComAcmeCoyote *object, 790s # GDBusMethodInvocation *invocation); 790s # 790s # gboolean (*handle_run) ( 790s # ComAcmeCoyote *object, 790s # GDBusMethodInvocation *invocation); 790s # 790s # gboolean (*handle_sleep) ( 790s # ComAcmeCoyote *object, 790s # GDBusMethodInvocation *invocation); 790s # 790s # const gchar * (*get_mood) (ComAcmeCoyote *object); 790s # 790s # void (*surprised) ( 790s # ComAcmeCoyote *object); 790s # 790s # }; 790s # 790s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 790s # 790s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 790s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 790s # 790s # 790s # /* D-Bus method call completion functions: */ 790s # void com_acme_coyote_complete_run ( 790s # ComAcmeCoyote *object, 790s # GDBusMethodInvocation *invocation); 790s # 790s # void com_acme_coyote_complete_sleep ( 790s # ComAcmeCoyote *object, 790s # GDBusMethodInvocation *invocation); 790s # 790s # void com_acme_coyote_complete_attack ( 790s # ComAcmeCoyote *object, 790s # GDBusMethodInvocation *invocation); 790s # 790s # 790s # 790s # /* D-Bus signal emissions functions: */ 790s # void com_acme_coyote_emit_surprised ( 790s # ComAcmeCoyote *object); 790s # 790s # 790s # 790s # /* D-Bus method calls: */ 790s # void com_acme_coyote_call_run ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # 790s # gboolean com_acme_coyote_call_run_finish ( 790s # ComAcmeCoyote *proxy, 790s # GAsyncResult *res, 790s # GError **error); 790s # 790s # gboolean com_acme_coyote_call_run_sync ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # void com_acme_coyote_call_sleep ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # 790s # gboolean com_acme_coyote_call_sleep_finish ( 790s # ComAcmeCoyote *proxy, 790s # GAsyncResult *res, 790s # GError **error); 790s # 790s # gboolean com_acme_coyote_call_sleep_sync ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # void com_acme_coyote_call_attack ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # 790s # gboolean com_acme_coyote_call_attack_finish ( 790s # ComAcmeCoyote *proxy, 790s # GAsyncResult *res, 790s # GError **error); 790s # 790s # gboolean com_acme_coyote_call_attack_sync ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # 790s # 790s # /* D-Bus property accessors: */ 790s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 790s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 790s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 790s # 790s # 790s # /* ---- */ 790s # 790s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 790s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 790s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 790s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 790s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 790s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 790s # 790s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 790s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 790s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 790s # 790s # struct _ComAcmeCoyoteProxy 790s # { 790s # /*< private >*/ 790s # GDBusProxy parent_instance; 790s # ComAcmeCoyoteProxyPrivate *priv; 790s # }; 790s # 790s # struct _ComAcmeCoyoteProxyClass 790s # { 790s # GDBusProxyClass parent_class; 790s # }; 790s # 790s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 790s # 790s # #if GLIB_CHECK_VERSION(2, 44, 0) 790s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 790s # #endif 790s # 790s # void com_acme_coyote_proxy_new ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 790s # GAsyncResult *res, 790s # GError **error); 790s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # void com_acme_coyote_proxy_new_for_bus ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 790s # GAsyncResult *res, 790s # GError **error); 790s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # 790s # /* ---- */ 790s # 790s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 790s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 790s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 790s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 790s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 790s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 790s # 790s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 790s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 790s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 790s # 790s # struct _ComAcmeCoyoteSkeleton 790s # { 790s # /*< private >*/ 790s # GDBusInterfaceSkeleton parent_instance; 790s # ComAcmeCoyoteSkeletonPrivate *priv; 790s # }; 790s # 790s # struct _ComAcmeCoyoteSkeletonClass 790s # { 790s # GDBusInterfaceSkeletonClass parent_class; 790s # }; 790s # 790s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 790s # 790s # #if GLIB_CHECK_VERSION(2, 44, 0) 790s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 790s # #endif 790s # 790s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 790s # 790s # 790s # G_END_DECLS 790s # 790s # #endif /* __STDOUT__ */ 790s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2c7w9ekm/tmpbrmn0ubm1.xml', '/tmp/tmp2c7w9ekm/tmp3iwm9g9n2.xml', '--output', '-', '--body'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: /* 790s # * This file is generated by gdbus-codegen, do not modify it. 790s # * 790s # * The license of this code is the same as for the D-Bus interface description 790s # * it was derived from. Note that it links to GLib, so must comply with the 790s # * LGPL linking clauses. 790s # */ 790s # 790s # #ifdef HAVE_CONFIG_H 790s # # include "config.h" 790s # #endif 790s # 790s # #include 790s # #ifdef G_OS_UNIX 790s # # include 790s # #endif 790s # 790s # #ifdef G_ENABLE_DEBUG 790s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 790s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 790s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 790s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 790s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 790s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 790s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 790s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 790s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 790s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 790s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 790s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 790s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 790s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 790s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 790s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 790s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 790s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 790s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 790s # #else /* !G_ENABLE_DEBUG */ 790s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 790s # * Do not access GValues directly in your code. Instead, use the 790s # * g_value_get_*() functions 790s # */ 790s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 790s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 790s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 790s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 790s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 790s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 790s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 790s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 790s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 790s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 790s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 790s # #endif /* !G_ENABLE_DEBUG */ 790s # 790s # typedef struct 790s # { 790s # GDBusArgInfo parent_struct; 790s # gboolean use_gvariant; 790s # } _ExtendedGDBusArgInfo; 790s # 790s # typedef struct 790s # { 790s # GDBusMethodInfo parent_struct; 790s # const gchar *signal_name; 790s # gboolean pass_fdlist; 790s # } _ExtendedGDBusMethodInfo; 790s # 790s # typedef struct 790s # { 790s # GDBusSignalInfo parent_struct; 790s # const gchar *signal_name; 790s # } _ExtendedGDBusSignalInfo; 790s # 790s # typedef struct 790s # { 790s # GDBusPropertyInfo parent_struct; 790s # const gchar *hyphen_name; 790s # guint use_gvariant : 1; 790s # guint emits_changed_signal : 1; 790s # } _ExtendedGDBusPropertyInfo; 790s # 790s # typedef struct 790s # { 790s # GDBusInterfaceInfo parent_struct; 790s # const gchar *hyphen_name; 790s # } _ExtendedGDBusInterfaceInfo; 790s # 790s # typedef struct 790s # { 790s # const _ExtendedGDBusPropertyInfo *info; 790s # guint prop_id; 790s # GValue orig_value; /* the value before the change */ 790s # } ChangedProperty; 790s # 790s # static void 790s # _changed_property_free (ChangedProperty *data) 790s # { 790s # g_value_unset (&data->orig_value); 790s # g_free (data); 790s # } 790s # 790s # static gboolean 790s # _g_strv_equal0 (gchar **a, gchar **b) 790s # { 790s # gboolean ret = FALSE; 790s # guint n; 790s # if (a == NULL && b == NULL) 790s # { 790s # ret = TRUE; 790s # goto out; 790s # } 790s # if (a == NULL || b == NULL) 790s # goto out; 790s # if (g_strv_length (a) != g_strv_length (b)) 790s # goto out; 790s # for (n = 0; a[n] != NULL; n++) 790s # if (g_strcmp0 (a[n], b[n]) != 0) 790s # goto out; 790s # ret = TRUE; 790s # out: 790s # return ret; 790s # } 790s # 790s # static gboolean 790s # _g_variant_equal0 (GVariant *a, GVariant *b) 790s # { 790s # gboolean ret = FALSE; 790s # if (a == NULL && b == NULL) 790s # { 790s # ret = TRUE; 790s # goto out; 790s # } 790s # if (a == NULL || b == NULL) 790s # goto out; 790s # ret = g_variant_equal (a, b); 790s # out: 790s # return ret; 790s # } 790s # 790s # G_GNUC_UNUSED static gboolean 790s # _g_value_equal (const GValue *a, const GValue *b) 790s # { 790s # gboolean ret = FALSE; 790s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 790s # switch (G_VALUE_TYPE (a)) 790s # { 790s # case G_TYPE_BOOLEAN: 790s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 790s # break; 790s # case G_TYPE_UCHAR: 790s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 790s # break; 790s # case G_TYPE_INT: 790s # ret = (g_value_get_int (a) == g_value_get_int (b)); 790s # break; 790s # case G_TYPE_UINT: 790s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 790s # break; 790s # case G_TYPE_INT64: 790s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 790s # break; 790s # case G_TYPE_UINT64: 790s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 790s # break; 790s # case G_TYPE_DOUBLE: 790s # { 790s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 790s # gdouble da = g_value_get_double (a); 790s # gdouble db = g_value_get_double (b); 790s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 790s # } 790s # break; 790s # case G_TYPE_STRING: 790s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 790s # break; 790s # case G_TYPE_VARIANT: 790s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 790s # break; 790s # default: 790s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 790s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 790s # else 790s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 790s # break; 790s # } 790s # return ret; 790s # } 790s # 790s # static void 790s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 790s # GClosure *closure, 790s # GValue *return_value, 790s # unsigned int n_param_values, 790s # const GValue *param_values, 790s # void *invocation_hint G_GNUC_UNUSED, 790s # void *marshal_data) 790s # { 790s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 790s # (void *data1, 790s # GDBusMethodInvocation *arg_method_invocation, 790s # void *data2); 790s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 790s # GCClosure *cc = (GCClosure*) closure; 790s # void *data1, *data2; 790s # gboolean v_return; 790s # 790s # g_return_if_fail (return_value != NULL); 790s # g_return_if_fail (n_param_values == 2); 790s # 790s # if (G_CCLOSURE_SWAP_DATA (closure)) 790s # { 790s # data1 = closure->data; 790s # data2 = g_value_peek_pointer (param_values + 0); 790s # } 790s # else 790s # { 790s # data1 = g_value_peek_pointer (param_values + 0); 790s # data2 = closure->data; 790s # } 790s # 790s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 790s # (marshal_data ? marshal_data : cc->callback); 790s # 790s # v_return = 790s # callback (data1, 790s # g_marshal_value_peek_object (param_values + 1), 790s # data2); 790s # 790s # g_value_set_boolean (return_value, v_return); 790s # } 790s # 790s # /* ------------------------------------------------------------------------ 790s # * Code for interface org.project.Bar.Frobnicator 790s # * ------------------------------------------------------------------------ 790s # */ 790s # 790s # /** 790s # * SECTION:OrgProjectBarFrobnicator 790s # * @title: OrgProjectBarFrobnicator 790s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 790s # * 790s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 790s # */ 790s # 790s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 790s # 790s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 790s # { 790s # { 790s # -1, 790s # (gchar *) "RandomMethod", 790s # NULL, 790s # NULL, 790s # NULL 790s # }, 790s # "handle-random-method", 790s # FALSE 790s # }; 790s # 790s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 790s # { 790s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 790s # NULL 790s # }; 790s # 790s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 790s # { 790s # { 790s # -1, 790s # (gchar *) "org.project.Bar.Frobnicator", 790s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 790s # NULL, 790s # NULL, 790s # NULL 790s # }, 790s # "org-project-bar-frobnicator", 790s # }; 790s # 790s # 790s # /** 790s # * org_project_bar_frobnicator_interface_info: 790s # * 790s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 790s # * 790s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 790s # */ 790s # GDBusInterfaceInfo * 790s # org_project_bar_frobnicator_interface_info (void) 790s # { 790s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_override_properties: 790s # * @klass: The class structure for a #GObject derived class. 790s # * @property_id_begin: The property id to assign to the first overridden property. 790s # * 790s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 790s # * The properties are overridden in the order they are defined. 790s # * 790s # * Returns: The last property id. 790s # */ 790s # guint 790s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 790s # { 790s # return property_id_begin - 1; 790s # } 790s # 790s # 790s # inline static void 790s # org_project_bar_frobnicator_method_marshal_random_method ( 790s # GClosure *closure, 790s # GValue *return_value, 790s # unsigned int n_param_values, 790s # const GValue *param_values, 790s # void *invocation_hint, 790s # void *marshal_data) 790s # { 790s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 790s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 790s # } 790s # 790s # 790s # /** 790s # * OrgProjectBarFrobnicator: 790s # * 790s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 790s # */ 790s # 790s # /** 790s # * OrgProjectBarFrobnicatorIface: 790s # * @parent_iface: The parent interface. 790s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 790s # * 790s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 790s # */ 790s # 790s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 790s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 790s # 790s # static void 790s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 790s # { 790s # /* GObject signals for incoming D-Bus method calls: */ 790s # /** 790s # * OrgProjectBarFrobnicator::handle-random-method: 790s # * @object: A #OrgProjectBarFrobnicator. 790s # * @invocation: A #GDBusMethodInvocation. 790s # * 790s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 790s # * 790s # * 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. 790s # * 790s # * 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. 790s # */ 790s # g_signal_new ("handle-random-method", 790s # G_TYPE_FROM_INTERFACE (iface), 790s # G_SIGNAL_RUN_LAST, 790s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 790s # g_signal_accumulator_true_handled, 790s # NULL, 790s # org_project_bar_frobnicator_method_marshal_random_method, 790s # G_TYPE_BOOLEAN, 790s # 1, 790s # G_TYPE_DBUS_METHOD_INVOCATION); 790s # 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_call_random_method: 790s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 790s # * @user_data: User data to pass to @callback. 790s # * 790s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 790s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 790s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 790s # * 790s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 790s # */ 790s # void 790s # org_project_bar_frobnicator_call_random_method ( 790s # OrgProjectBarFrobnicator *proxy, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data) 790s # { 790s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 790s # "RandomMethod", 790s # g_variant_new ("()"), 790s # G_DBUS_CALL_FLAGS_NONE, 790s # -1, 790s # cancellable, 790s # callback, 790s # user_data); 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_call_random_method_finish: 790s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 790s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 790s # * @error: Return location for error or %NULL. 790s # * 790s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 790s # * 790s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 790s # */ 790s # gboolean 790s # org_project_bar_frobnicator_call_random_method_finish ( 790s # OrgProjectBarFrobnicator *proxy, 790s # GAsyncResult *res, 790s # GError **error) 790s # { 790s # GVariant *_ret; 790s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 790s # if (_ret == NULL) 790s # goto _out; 790s # g_variant_get (_ret, 790s # "()"); 790s # g_variant_unref (_ret); 790s # _out: 790s # return _ret != NULL; 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_call_random_method_sync: 790s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @error: Return location for error or %NULL. 790s # * 790s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 790s # * 790s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 790s # * 790s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 790s # */ 790s # gboolean 790s # org_project_bar_frobnicator_call_random_method_sync ( 790s # OrgProjectBarFrobnicator *proxy, 790s # GCancellable *cancellable, 790s # GError **error) 790s # { 790s # GVariant *_ret; 790s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 790s # "RandomMethod", 790s # g_variant_new ("()"), 790s # G_DBUS_CALL_FLAGS_NONE, 790s # -1, 790s # cancellable, 790s # error); 790s # if (_ret == NULL) 790s # goto _out; 790s # g_variant_get (_ret, 790s # "()"); 790s # g_variant_unref (_ret); 790s # _out: 790s # return _ret != NULL; 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_complete_random_method: 790s # * @object: A #OrgProjectBarFrobnicator. 790s # * @invocation: (transfer full): A #GDBusMethodInvocation. 790s # * 790s # * 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. 790s # * 790s # * This method will free @invocation, you cannot use it afterwards. 790s # */ 790s # void 790s # org_project_bar_frobnicator_complete_random_method ( 790s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 790s # GDBusMethodInvocation *invocation) 790s # { 790s # g_dbus_method_invocation_return_value (invocation, 790s # g_variant_new ("()")); 790s # } 790s # 790s # /* ------------------------------------------------------------------------ */ 790s # 790s # /** 790s # * OrgProjectBarFrobnicatorProxy: 790s # * 790s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 790s # */ 790s # 790s # /** 790s # * OrgProjectBarFrobnicatorProxyClass: 790s # * @parent_class: The parent class. 790s # * 790s # * Class structure for #OrgProjectBarFrobnicatorProxy. 790s # */ 790s # 790s # struct _OrgProjectBarFrobnicatorProxyPrivate 790s # { 790s # GData *qdata; 790s # }; 790s # 790s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 790s # 790s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 790s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 790s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 790s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 790s # 790s # #else 790s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 790s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 790s # 790s # #endif 790s # static void 790s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 790s # { 790s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 790s # g_datalist_clear (&proxy->priv->qdata); 790s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 790s # guint prop_id G_GNUC_UNUSED, 790s # GValue *value G_GNUC_UNUSED, 790s # GParamSpec *pspec G_GNUC_UNUSED) 790s # { 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 790s # guint prop_id G_GNUC_UNUSED, 790s # const GValue *value G_GNUC_UNUSED, 790s # GParamSpec *pspec G_GNUC_UNUSED) 790s # { 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 790s # const gchar *sender_name G_GNUC_UNUSED, 790s # const gchar *signal_name, 790s # GVariant *parameters) 790s # { 790s # _ExtendedGDBusSignalInfo *info; 790s # GVariantIter iter; 790s # GVariant *child; 790s # GValue *paramv; 790s # gsize num_params; 790s # gsize n; 790s # guint signal_id; 790s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 790s # if (info == NULL) 790s # return; 790s # num_params = g_variant_n_children (parameters); 790s # paramv = g_new0 (GValue, num_params + 1); 790s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 790s # g_value_set_object (¶mv[0], proxy); 790s # g_variant_iter_init (&iter, parameters); 790s # n = 1; 790s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 790s # { 790s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 790s # if (arg_info->use_gvariant) 790s # { 790s # g_value_init (¶mv[n], G_TYPE_VARIANT); 790s # g_value_set_variant (¶mv[n], child); 790s # n++; 790s # } 790s # else 790s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 790s # g_variant_unref (child); 790s # } 790s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 790s # g_signal_emitv (paramv, signal_id, 0, NULL); 790s # for (n = 0; n < num_params + 1; n++) 790s # g_value_unset (¶mv[n]); 790s # g_free (paramv); 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 790s # GVariant *changed_properties, 790s # const gchar *const *invalidated_properties) 790s # { 790s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 790s # guint n; 790s # const gchar *key; 790s # GVariantIter *iter; 790s # _ExtendedGDBusPropertyInfo *info; 790s # g_variant_get (changed_properties, "a{sv}", &iter); 790s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 790s # { 790s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 790s # g_datalist_remove_data (&proxy->priv->qdata, key); 790s # if (info != NULL) 790s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 790s # } 790s # g_variant_iter_free (iter); 790s # for (n = 0; invalidated_properties[n] != NULL; n++) 790s # { 790s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 790s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 790s # if (info != NULL) 790s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 790s # } 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 790s # { 790s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 790s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 790s # #else 790s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 790s # #endif 790s # 790s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 790s # { 790s # GObjectClass *gobject_class; 790s # GDBusProxyClass *proxy_class; 790s # 790s # gobject_class = G_OBJECT_CLASS (klass); 790s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 790s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 790s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 790s # 790s # proxy_class = G_DBUS_PROXY_CLASS (klass); 790s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 790s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 790s # 790s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 790s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 790s # #endif 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 790s # { 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_proxy_new: 790s # * @connection: A #GDBusConnection. 790s # * @flags: Flags from the #GDBusProxyFlags enumeration. 790s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 790s # * @object_path: An object path. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 790s # * @user_data: User data to pass to @callback. 790s # * 790s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 790s # * 790s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 790s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 790s # * 790s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 790s # */ 790s # void 790s # org_project_bar_frobnicator_proxy_new ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data) 790s # { 790s # 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); 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_proxy_new_finish: 790s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 790s # * @error: Return location for error or %NULL 790s # * 790s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 790s # * 790s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 790s # */ 790s # OrgProjectBarFrobnicator * 790s # org_project_bar_frobnicator_proxy_new_finish ( 790s # GAsyncResult *res, 790s # GError **error) 790s # { 790s # GObject *ret; 790s # GObject *source_object; 790s # source_object = g_async_result_get_source_object (res); 790s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 790s # g_object_unref (source_object); 790s # if (ret != NULL) 790s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 790s # else 790s # return NULL; 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_proxy_new_sync: 790s # * @connection: A #GDBusConnection. 790s # * @flags: Flags from the #GDBusProxyFlags enumeration. 790s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 790s # * @object_path: An object path. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @error: Return location for error or %NULL 790s # * 790s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 790s # * 790s # * The calling thread is blocked until a reply is received. 790s # * 790s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 790s # * 790s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 790s # */ 790s # OrgProjectBarFrobnicator * 790s # org_project_bar_frobnicator_proxy_new_sync ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error) 790s # { 790s # GInitable *ret; 790s # 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); 790s # if (ret != NULL) 790s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 790s # else 790s # return NULL; 790s # } 790s # 790s # 790s # /** 790s # * org_project_bar_frobnicator_proxy_new_for_bus: 790s # * @bus_type: A #GBusType. 790s # * @flags: Flags from the #GDBusProxyFlags enumeration. 790s # * @name: A bus name (well-known or unique). 790s # * @object_path: An object path. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 790s # * @user_data: User data to pass to @callback. 790s # * 790s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 790s # * 790s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 790s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 790s # * 790s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 790s # */ 790s # void 790s # org_project_bar_frobnicator_proxy_new_for_bus ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data) 790s # { 790s # 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); 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 790s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 790s # * @error: Return location for error or %NULL 790s # * 790s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 790s # * 790s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 790s # */ 790s # OrgProjectBarFrobnicator * 790s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 790s # GAsyncResult *res, 790s # GError **error) 790s # { 790s # GObject *ret; 790s # GObject *source_object; 790s # source_object = g_async_result_get_source_object (res); 790s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 790s # g_object_unref (source_object); 790s # if (ret != NULL) 790s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 790s # else 790s # return NULL; 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 790s # * @bus_type: A #GBusType. 790s # * @flags: Flags from the #GDBusProxyFlags enumeration. 790s # * @name: A bus name (well-known or unique). 790s # * @object_path: An object path. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @error: Return location for error or %NULL 790s # * 790s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 790s # * 790s # * The calling thread is blocked until a reply is received. 790s # * 790s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 790s # * 790s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 790s # */ 790s # OrgProjectBarFrobnicator * 790s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error) 790s # { 790s # GInitable *ret; 790s # 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); 790s # if (ret != NULL) 790s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 790s # else 790s # return NULL; 790s # } 790s # 790s # 790s # /* ------------------------------------------------------------------------ */ 790s # 790s # /** 790s # * OrgProjectBarFrobnicatorSkeleton: 790s # * 790s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 790s # */ 790s # 790s # /** 790s # * OrgProjectBarFrobnicatorSkeletonClass: 790s # * @parent_class: The parent class. 790s # * 790s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 790s # */ 790s # 790s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 790s # { 790s # GValue *properties; 790s # GList *changed_properties; 790s # GSource *changed_properties_idle_source; 790s # GMainContext *context; 790s # GMutex lock; 790s # }; 790s # 790s # static void 790s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 790s # GDBusConnection *connection G_GNUC_UNUSED, 790s # const gchar *sender G_GNUC_UNUSED, 790s # const gchar *object_path G_GNUC_UNUSED, 790s # const gchar *interface_name, 790s # const gchar *method_name, 790s # GVariant *parameters, 790s # GDBusMethodInvocation *invocation, 790s # gpointer user_data) 790s # { 790s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 790s # _ExtendedGDBusMethodInfo *info; 790s # GVariantIter iter; 790s # GVariant *child; 790s # GValue *paramv; 790s # gsize num_params; 790s # guint num_extra; 790s # gsize n; 790s # guint signal_id; 790s # GValue return_value = G_VALUE_INIT; 790s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 790s # g_assert (info != NULL); 790s # num_params = g_variant_n_children (parameters); 790s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 790s # n = 0; 790s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 790s # g_value_set_object (¶mv[n++], skeleton); 790s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 790s # g_value_set_object (¶mv[n++], invocation); 790s # if (info->pass_fdlist) 790s # { 790s # #ifdef G_OS_UNIX 790s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 790s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 790s # #else 790s # g_assert_not_reached (); 790s # #endif 790s # } 790s # g_variant_iter_init (&iter, parameters); 790s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 790s # { 790s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 790s # if (arg_info->use_gvariant) 790s # { 790s # g_value_init (¶mv[n], G_TYPE_VARIANT); 790s # g_value_set_variant (¶mv[n], child); 790s # n++; 790s # } 790s # else 790s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 790s # g_variant_unref (child); 790s # } 790s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 790s # g_value_init (&return_value, G_TYPE_BOOLEAN); 790s # g_signal_emitv (paramv, signal_id, 0, &return_value); 790s # if (!g_value_get_boolean (&return_value)) 790s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 790s # g_value_unset (&return_value); 790s # for (n = 0; n < num_params + num_extra; n++) 790s # g_value_unset (¶mv[n]); 790s # g_free (paramv); 790s # } 790s # 790s # static GVariant * 790s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 790s # GDBusConnection *connection G_GNUC_UNUSED, 790s # const gchar *sender G_GNUC_UNUSED, 790s # const gchar *object_path G_GNUC_UNUSED, 790s # const gchar *interface_name G_GNUC_UNUSED, 790s # const gchar *property_name, 790s # GError **error, 790s # gpointer user_data) 790s # { 790s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 790s # GValue value = G_VALUE_INIT; 790s # GParamSpec *pspec; 790s # _ExtendedGDBusPropertyInfo *info; 790s # GVariant *ret; 790s # ret = NULL; 790s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 790s # g_assert (info != NULL); 790s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 790s # if (pspec == NULL) 790s # { 790s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 790s # } 790s # else 790s # { 790s # g_value_init (&value, pspec->value_type); 790s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 790s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 790s # g_value_unset (&value); 790s # } 790s # return ret; 790s # } 790s # 790s # static gboolean 790s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 790s # GDBusConnection *connection G_GNUC_UNUSED, 790s # const gchar *sender G_GNUC_UNUSED, 790s # const gchar *object_path G_GNUC_UNUSED, 790s # const gchar *interface_name G_GNUC_UNUSED, 790s # const gchar *property_name, 790s # GVariant *variant, 790s # GError **error, 790s # gpointer user_data) 790s # { 790s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 790s # GValue value = G_VALUE_INIT; 790s # GParamSpec *pspec; 790s # _ExtendedGDBusPropertyInfo *info; 790s # gboolean ret; 790s # ret = FALSE; 790s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 790s # g_assert (info != NULL); 790s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 790s # if (pspec == NULL) 790s # { 790s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 790s # } 790s # else 790s # { 790s # if (info->use_gvariant) 790s # g_value_set_variant (&value, variant); 790s # else 790s # g_dbus_gvariant_to_gvalue (variant, &value); 790s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 790s # g_value_unset (&value); 790s # ret = TRUE; 790s # } 790s # return ret; 790s # } 790s # 790s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 790s # { 790s # _org_project_bar_frobnicator_skeleton_handle_method_call, 790s # _org_project_bar_frobnicator_skeleton_handle_get_property, 790s # _org_project_bar_frobnicator_skeleton_handle_set_property, 790s # {NULL} 790s # }; 790s # 790s # static GDBusInterfaceInfo * 790s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 790s # { 790s # return org_project_bar_frobnicator_interface_info (); 790s # } 790s # 790s # static GDBusInterfaceVTable * 790s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 790s # { 790s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 790s # } 790s # 790s # static GVariant * 790s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 790s # { 790s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 790s # 790s # GVariantBuilder builder; 790s # guint n; 790s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 790s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 790s # goto out; 790s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 790s # { 790s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 790s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 790s # { 790s # GVariant *value; 790s # 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); 790s # if (value != NULL) 790s # { 790s # g_variant_take_ref (value); 790s # g_variant_builder_add (&builder, "{sv}", info->name, value); 790s # g_variant_unref (value); 790s # } 790s # } 790s # } 790s # out: 790s # return g_variant_builder_end (&builder); 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 790s # { 790s # } 790s # 790s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 790s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 790s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 790s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 790s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 790s # 790s # #else 790s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 790s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 790s # 790s # #endif 790s # static void 790s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 790s # { 790s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 790s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 790s # if (skeleton->priv->changed_properties_idle_source != NULL) 790s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 790s # g_main_context_unref (skeleton->priv->context); 790s # g_mutex_clear (&skeleton->priv->lock); 790s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 790s # { 790s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 790s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 790s # #else 790s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 790s # #endif 790s # 790s # g_mutex_init (&skeleton->priv->lock); 790s # skeleton->priv->context = g_main_context_ref_thread_default (); 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 790s # { 790s # GObjectClass *gobject_class; 790s # GDBusInterfaceSkeletonClass *skeleton_class; 790s # 790s # gobject_class = G_OBJECT_CLASS (klass); 790s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 790s # 790s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 790s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 790s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 790s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 790s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 790s # 790s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 790s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 790s # #endif 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 790s # { 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_skeleton_new: 790s # * 790s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 790s # * 790s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 790s # */ 790s # OrgProjectBarFrobnicator * 790s # org_project_bar_frobnicator_skeleton_new (void) 790s # { 790s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 790s # } 790s # 790s # /* ------------------------------------------------------------------------ 790s # * Code for interface com.acme.Coyote 790s # * ------------------------------------------------------------------------ 790s # */ 790s # 790s # /** 790s # * SECTION:ComAcmeCoyote 790s # * @title: ComAcmeCoyote 790s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 790s # * 790s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 790s # */ 790s # 790s # enum 790s # { 790s # _COM_ACME_COYOTE_SURPRISED, 790s # }; 790s # 790s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 790s # 790s # /* ---- Introspection data for com.acme.Coyote ---- */ 790s # 790s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 790s # { 790s # { 790s # -1, 790s # (gchar *) "Run", 790s # NULL, 790s # NULL, 790s # NULL 790s # }, 790s # "handle-run", 790s # FALSE 790s # }; 790s # 790s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 790s # { 790s # { 790s # -1, 790s # (gchar *) "Sleep", 790s # NULL, 790s # NULL, 790s # NULL 790s # }, 790s # "handle-sleep", 790s # FALSE 790s # }; 790s # 790s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 790s # { 790s # { 790s # -1, 790s # (gchar *) "Attack", 790s # NULL, 790s # NULL, 790s # NULL 790s # }, 790s # "handle-attack", 790s # FALSE 790s # }; 790s # 790s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 790s # { 790s # &_com_acme_coyote_method_info_run.parent_struct, 790s # &_com_acme_coyote_method_info_sleep.parent_struct, 790s # &_com_acme_coyote_method_info_attack.parent_struct, 790s # NULL 790s # }; 790s # 790s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 790s # { 790s # { 790s # -1, 790s # (gchar *) "Surprised", 790s # NULL, 790s # NULL 790s # }, 790s # "surprised" 790s # }; 790s # 790s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 790s # { 790s # &_com_acme_coyote_signal_info_surprised.parent_struct, 790s # NULL 790s # }; 790s # 790s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 790s # { 790s # { 790s # -1, 790s # (gchar *) "Mood", 790s # (gchar *) "s", 790s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 790s # NULL 790s # }, 790s # "mood", 790s # FALSE, 790s # TRUE 790s # }; 790s # 790s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 790s # { 790s # &_com_acme_coyote_property_info_mood.parent_struct, 790s # NULL 790s # }; 790s # 790s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 790s # { 790s # { 790s # -1, 790s # (gchar *) "com.acme.Coyote", 790s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 790s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 790s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 790s # NULL 790s # }, 790s # "com-acme-coyote", 790s # }; 790s # 790s # 790s # /** 790s # * com_acme_coyote_interface_info: 790s # * 790s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 790s # * 790s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 790s # */ 790s # GDBusInterfaceInfo * 790s # com_acme_coyote_interface_info (void) 790s # { 790s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_override_properties: 790s # * @klass: The class structure for a #GObject derived class. 790s # * @property_id_begin: The property id to assign to the first overridden property. 790s # * 790s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 790s # * The properties are overridden in the order they are defined. 790s # * 790s # * Returns: The last property id. 790s # */ 790s # guint 790s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 790s # { 790s # g_object_class_override_property (klass, property_id_begin++, "mood"); 790s # return property_id_begin - 1; 790s # } 790s # 790s # 790s # inline static void 790s # com_acme_coyote_signal_marshal_surprised ( 790s # GClosure *closure, 790s # GValue *return_value, 790s # unsigned int n_param_values, 790s # const GValue *param_values, 790s # void *invocation_hint, 790s # void *marshal_data) 790s # { 790s # g_cclosure_marshal_VOID__VOID (closure, 790s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 790s # } 790s # 790s # inline static void 790s # com_acme_coyote_method_marshal_run ( 790s # GClosure *closure, 790s # GValue *return_value, 790s # unsigned int n_param_values, 790s # const GValue *param_values, 790s # void *invocation_hint, 790s # void *marshal_data) 790s # { 790s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 790s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 790s # } 790s # 790s # inline static void 790s # com_acme_coyote_method_marshal_sleep ( 790s # GClosure *closure, 790s # GValue *return_value, 790s # unsigned int n_param_values, 790s # const GValue *param_values, 790s # void *invocation_hint, 790s # void *marshal_data) 790s # { 790s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 790s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 790s # } 790s # 790s # inline static void 790s # com_acme_coyote_method_marshal_attack ( 790s # GClosure *closure, 790s # GValue *return_value, 790s # unsigned int n_param_values, 790s # const GValue *param_values, 790s # void *invocation_hint, 790s # void *marshal_data) 790s # { 790s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 790s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 790s # } 790s # 790s # 790s # /** 790s # * ComAcmeCoyote: 790s # * 790s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 790s # */ 790s # 790s # /** 790s # * ComAcmeCoyoteIface: 790s # * @parent_iface: The parent interface. 790s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 790s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 790s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 790s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 790s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 790s # * 790s # * Virtual table for the D-Bus interface com.acme.Coyote. 790s # */ 790s # 790s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 790s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 790s # 790s # static void 790s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 790s # { 790s # /* GObject signals for incoming D-Bus method calls: */ 790s # /** 790s # * ComAcmeCoyote::handle-run: 790s # * @object: A #ComAcmeCoyote. 790s # * @invocation: A #GDBusMethodInvocation. 790s # * 790s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 790s # * 790s # * 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. 790s # * 790s # * 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. 790s # */ 790s # g_signal_new ("handle-run", 790s # G_TYPE_FROM_INTERFACE (iface), 790s # G_SIGNAL_RUN_LAST, 790s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 790s # g_signal_accumulator_true_handled, 790s # NULL, 790s # com_acme_coyote_method_marshal_run, 790s # G_TYPE_BOOLEAN, 790s # 1, 790s # G_TYPE_DBUS_METHOD_INVOCATION); 790s # 790s # /** 790s # * ComAcmeCoyote::handle-sleep: 790s # * @object: A #ComAcmeCoyote. 790s # * @invocation: A #GDBusMethodInvocation. 790s # * 790s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 790s # * 790s # * 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. 790s # * 790s # * 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. 790s # */ 790s # g_signal_new ("handle-sleep", 790s # G_TYPE_FROM_INTERFACE (iface), 790s # G_SIGNAL_RUN_LAST, 790s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 790s # g_signal_accumulator_true_handled, 790s # NULL, 790s # com_acme_coyote_method_marshal_sleep, 790s # G_TYPE_BOOLEAN, 790s # 1, 790s # G_TYPE_DBUS_METHOD_INVOCATION); 790s # 790s # /** 790s # * ComAcmeCoyote::handle-attack: 790s # * @object: A #ComAcmeCoyote. 790s # * @invocation: A #GDBusMethodInvocation. 790s # * 790s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 790s # * 790s # * 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. 790s # * 790s # * 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. 790s # */ 790s # g_signal_new ("handle-attack", 790s # G_TYPE_FROM_INTERFACE (iface), 790s # G_SIGNAL_RUN_LAST, 790s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 790s # g_signal_accumulator_true_handled, 790s # NULL, 790s # com_acme_coyote_method_marshal_attack, 790s # G_TYPE_BOOLEAN, 790s # 1, 790s # G_TYPE_DBUS_METHOD_INVOCATION); 790s # 790s # /* GObject signals for received D-Bus signals: */ 790s # /** 790s # * ComAcmeCoyote::surprised: 790s # * @object: A #ComAcmeCoyote. 790s # * 790s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 790s # * 790s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 790s # */ 790s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 790s # g_signal_new ("surprised", 790s # G_TYPE_FROM_INTERFACE (iface), 790s # G_SIGNAL_RUN_LAST, 790s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 790s # NULL, 790s # NULL, 790s # com_acme_coyote_signal_marshal_surprised, 790s # G_TYPE_NONE, 790s # 0); 790s # 790s # /* GObject properties for D-Bus properties: */ 790s # /** 790s # * ComAcmeCoyote:mood: 790s # * 790s # * Represents the D-Bus property "Mood". 790s # * 790s # * 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. 790s # */ 790s # g_object_interface_install_property (iface, 790s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_get_mood: (skip) 790s # * @object: A #ComAcmeCoyote. 790s # * 790s # * Gets the value of the "Mood" D-Bus property. 790s # * 790s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 790s # * 790s # * 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. 790s # * 790s # * 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. 790s # */ 790s # const gchar * 790s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 790s # { 790s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 790s # 790s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_dup_mood: (skip) 790s # * @object: A #ComAcmeCoyote. 790s # * 790s # * Gets a copy of the "Mood" D-Bus property. 790s # * 790s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 790s # * 790s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 790s # */ 790s # gchar * 790s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 790s # { 790s # gchar *value; 790s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 790s # return value; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_set_mood: (skip) 790s # * @object: A #ComAcmeCoyote. 790s # * @value: The value to set. 790s # * 790s # * Sets the "Mood" D-Bus property to @value. 790s # * 790s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 790s # */ 790s # void 790s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 790s # { 790s # g_object_set (G_OBJECT (object), "mood", value, NULL); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_emit_surprised: 790s # * @object: A #ComAcmeCoyote. 790s # * 790s # * Emits the "Surprised" D-Bus signal. 790s # */ 790s # void 790s # com_acme_coyote_emit_surprised ( 790s # ComAcmeCoyote *object) 790s # { 790s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_call_run: 790s # * @proxy: A #ComAcmeCoyoteProxy. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 790s # * @user_data: User data to pass to @callback. 790s # * 790s # * Asynchronously invokes the Run() D-Bus method on @proxy. 790s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 790s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 790s # * 790s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 790s # */ 790s # void 790s # com_acme_coyote_call_run ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data) 790s # { 790s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 790s # "Run", 790s # g_variant_new ("()"), 790s # G_DBUS_CALL_FLAGS_NONE, 790s # -1, 790s # cancellable, 790s # callback, 790s # user_data); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_call_run_finish: 790s # * @proxy: A #ComAcmeCoyoteProxy. 790s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 790s # * @error: Return location for error or %NULL. 790s # * 790s # * Finishes an operation started with com_acme_coyote_call_run(). 790s # * 790s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 790s # */ 790s # gboolean 790s # com_acme_coyote_call_run_finish ( 790s # ComAcmeCoyote *proxy, 790s # GAsyncResult *res, 790s # GError **error) 790s # { 790s # GVariant *_ret; 790s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 790s # if (_ret == NULL) 790s # goto _out; 790s # g_variant_get (_ret, 790s # "()"); 790s # g_variant_unref (_ret); 790s # _out: 790s # return _ret != NULL; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_call_run_sync: 790s # * @proxy: A #ComAcmeCoyoteProxy. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @error: Return location for error or %NULL. 790s # * 790s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 790s # * 790s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 790s # * 790s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 790s # */ 790s # gboolean 790s # com_acme_coyote_call_run_sync ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GError **error) 790s # { 790s # GVariant *_ret; 790s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 790s # "Run", 790s # g_variant_new ("()"), 790s # G_DBUS_CALL_FLAGS_NONE, 790s # -1, 790s # cancellable, 790s # error); 790s # if (_ret == NULL) 790s # goto _out; 790s # g_variant_get (_ret, 790s # "()"); 790s # g_variant_unref (_ret); 790s # _out: 790s # return _ret != NULL; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_call_sleep: 790s # * @proxy: A #ComAcmeCoyoteProxy. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 790s # * @user_data: User data to pass to @callback. 790s # * 790s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 790s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 790s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 790s # * 790s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 790s # */ 790s # void 790s # com_acme_coyote_call_sleep ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data) 790s # { 790s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 790s # "Sleep", 790s # g_variant_new ("()"), 790s # G_DBUS_CALL_FLAGS_NONE, 790s # -1, 790s # cancellable, 790s # callback, 790s # user_data); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_call_sleep_finish: 790s # * @proxy: A #ComAcmeCoyoteProxy. 790s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 790s # * @error: Return location for error or %NULL. 790s # * 790s # * Finishes an operation started with com_acme_coyote_call_sleep(). 790s # * 790s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 790s # */ 790s # gboolean 790s # com_acme_coyote_call_sleep_finish ( 790s # ComAcmeCoyote *proxy, 790s # GAsyncResult *res, 790s # GError **error) 790s # { 790s # GVariant *_ret; 790s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 790s # if (_ret == NULL) 790s # goto _out; 790s # g_variant_get (_ret, 790s # "()"); 790s # g_variant_unref (_ret); 790s # _out: 790s # return _ret != NULL; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_call_sleep_sync: 790s # * @proxy: A #ComAcmeCoyoteProxy. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @error: Return location for error or %NULL. 790s # * 790s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 790s # * 790s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 790s # * 790s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 790s # */ 790s # gboolean 790s # com_acme_coyote_call_sleep_sync ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GError **error) 790s # { 790s # GVariant *_ret; 790s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 790s # "Sleep", 790s # g_variant_new ("()"), 790s # G_DBUS_CALL_FLAGS_NONE, 790s # -1, 790s # cancellable, 790s # error); 790s # if (_ret == NULL) 790s # goto _out; 790s # g_variant_get (_ret, 790s # "()"); 790s # g_variant_unref (_ret); 790s # _out: 790s # return _ret != NULL; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_call_attack: 790s # * @proxy: A #ComAcmeCoyoteProxy. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 790s # * @user_data: User data to pass to @callback. 790s # * 790s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 790s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 790s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 790s # * 790s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 790s # */ 790s # void 790s # com_acme_coyote_call_attack ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data) 790s # { 790s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 790s # "Attack", 790s # g_variant_new ("()"), 790s # G_DBUS_CALL_FLAGS_NONE, 790s # -1, 790s # cancellable, 790s # callback, 790s # user_data); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_call_attack_finish: 790s # * @proxy: A #ComAcmeCoyoteProxy. 790s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 790s # * @error: Return location for error or %NULL. 790s # * 790s # * Finishes an operation started with com_acme_coyote_call_attack(). 790s # * 790s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 790s # */ 790s # gboolean 790s # com_acme_coyote_call_attack_finish ( 790s # ComAcmeCoyote *proxy, 790s # GAsyncResult *res, 790s # GError **error) 790s # { 790s # GVariant *_ret; 790s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 790s # if (_ret == NULL) 790s # goto _out; 790s # g_variant_get (_ret, 790s # "()"); 790s # g_variant_unref (_ret); 790s # _out: 790s # return _ret != NULL; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_call_attack_sync: 790s # * @proxy: A #ComAcmeCoyoteProxy. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @error: Return location for error or %NULL. 790s # * 790s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 790s # * 790s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 790s # * 790s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 790s # */ 790s # gboolean 790s # com_acme_coyote_call_attack_sync ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GError **error) 790s # { 790s # GVariant *_ret; 790s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 790s # "Attack", 790s # g_variant_new ("()"), 790s # G_DBUS_CALL_FLAGS_NONE, 790s # -1, 790s # cancellable, 790s # error); 790s # if (_ret == NULL) 790s # goto _out; 790s # g_variant_get (_ret, 790s # "()"); 790s # g_variant_unref (_ret); 790s # _out: 790s # return _ret != NULL; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_complete_run: 790s # * @object: A #ComAcmeCoyote. 790s # * @invocation: (transfer full): A #GDBusMethodInvocation. 790s # * 790s # * 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. 790s # * 790s # * This method will free @invocation, you cannot use it afterwards. 790s # */ 790s # void 790s # com_acme_coyote_complete_run ( 790s # ComAcmeCoyote *object G_GNUC_UNUSED, 790s # GDBusMethodInvocation *invocation) 790s # { 790s # g_dbus_method_invocation_return_value (invocation, 790s # g_variant_new ("()")); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_complete_sleep: 790s # * @object: A #ComAcmeCoyote. 790s # * @invocation: (transfer full): A #GDBusMethodInvocation. 790s # * 790s # * 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. 790s # * 790s # * This method will free @invocation, you cannot use it afterwards. 790s # */ 790s # void 790s # com_acme_coyote_complete_sleep ( 790s # ComAcmeCoyote *object G_GNUC_UNUSED, 790s # GDBusMethodInvocation *invocation) 790s # { 790s # g_dbus_method_invocation_return_value (invocation, 790s # g_variant_new ("()")); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_complete_attack: 790s # * @object: A #ComAcmeCoyote. 790s # * @invocation: (transfer full): A #GDBusMethodInvocation. 790s # * 790s # * 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. 790s # * 790s # * This method will free @invocation, you cannot use it afterwards. 790s # */ 790s # void 790s # com_acme_coyote_complete_attack ( 790s # ComAcmeCoyote *object G_GNUC_UNUSED, 790s # GDBusMethodInvocation *invocation) 790s # { 790s # g_dbus_method_invocation_return_value (invocation, 790s # g_variant_new ("()")); 790s # } 790s # 790s # /* ------------------------------------------------------------------------ */ 790s # 790s # /** 790s # * ComAcmeCoyoteProxy: 790s # * 790s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 790s # */ 790s # 790s # /** 790s # * ComAcmeCoyoteProxyClass: 790s # * @parent_class: The parent class. 790s # * 790s # * Class structure for #ComAcmeCoyoteProxy. 790s # */ 790s # 790s # struct _ComAcmeCoyoteProxyPrivate 790s # { 790s # GData *qdata; 790s # }; 790s # 790s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 790s # 790s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 790s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 790s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 790s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 790s # 790s # #else 790s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 790s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 790s # 790s # #endif 790s # static void 790s # com_acme_coyote_proxy_finalize (GObject *object) 790s # { 790s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 790s # g_datalist_clear (&proxy->priv->qdata); 790s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 790s # } 790s # 790s # static void 790s # com_acme_coyote_proxy_get_property (GObject *object, 790s # guint prop_id, 790s # GValue *value, 790s # GParamSpec *pspec G_GNUC_UNUSED) 790s # { 790s # const _ExtendedGDBusPropertyInfo *info; 790s # GVariant *variant; 790s # g_assert (prop_id != 0 && prop_id - 1 < 1); 790s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 790s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 790s # if (info->use_gvariant) 790s # { 790s # g_value_set_variant (value, variant); 790s # } 790s # else 790s # { 790s # if (variant != NULL) 790s # g_dbus_gvariant_to_gvalue (variant, value); 790s # } 790s # if (variant != NULL) 790s # g_variant_unref (variant); 790s # } 790s # 790s # static void 790s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 790s # GAsyncResult *res, 790s # gpointer user_data) 790s # { 790s # const _ExtendedGDBusPropertyInfo *info = user_data; 790s # GError *error; 790s # GVariant *_ret; 790s # error = NULL; 790s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 790s # if (!_ret) 790s # { 790s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 790s # info->parent_struct.name, 790s # error->message, g_quark_to_string (error->domain), error->code); 790s # g_error_free (error); 790s # } 790s # else 790s # { 790s # g_variant_unref (_ret); 790s # } 790s # } 790s # 790s # static void 790s # com_acme_coyote_proxy_set_property (GObject *object, 790s # guint prop_id, 790s # const GValue *value, 790s # GParamSpec *pspec G_GNUC_UNUSED) 790s # { 790s # const _ExtendedGDBusPropertyInfo *info; 790s # GVariant *variant; 790s # g_assert (prop_id != 0 && prop_id - 1 < 1); 790s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 790s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 790s # g_dbus_proxy_call (G_DBUS_PROXY (object), 790s # "org.freedesktop.DBus.Properties.Set", 790s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 790s # G_DBUS_CALL_FLAGS_NONE, 790s # -1, 790s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 790s # g_variant_unref (variant); 790s # } 790s # 790s # static void 790s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 790s # const gchar *sender_name G_GNUC_UNUSED, 790s # const gchar *signal_name, 790s # GVariant *parameters) 790s # { 790s # _ExtendedGDBusSignalInfo *info; 790s # GVariantIter iter; 790s # GVariant *child; 790s # GValue *paramv; 790s # gsize num_params; 790s # gsize n; 790s # guint signal_id; 790s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 790s # if (info == NULL) 790s # return; 790s # num_params = g_variant_n_children (parameters); 790s # paramv = g_new0 (GValue, num_params + 1); 790s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 790s # g_value_set_object (¶mv[0], proxy); 790s # g_variant_iter_init (&iter, parameters); 790s # n = 1; 790s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 790s # { 790s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 790s # if (arg_info->use_gvariant) 790s # { 790s # g_value_init (¶mv[n], G_TYPE_VARIANT); 790s # g_value_set_variant (¶mv[n], child); 790s # n++; 790s # } 790s # else 790s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 790s # g_variant_unref (child); 790s # } 790s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 790s # g_signal_emitv (paramv, signal_id, 0, NULL); 790s # for (n = 0; n < num_params + 1; n++) 790s # g_value_unset (¶mv[n]); 790s # g_free (paramv); 790s # } 790s # 790s # static void 790s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 790s # GVariant *changed_properties, 790s # const gchar *const *invalidated_properties) 790s # { 790s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 790s # guint n; 790s # const gchar *key; 790s # GVariantIter *iter; 790s # _ExtendedGDBusPropertyInfo *info; 790s # g_variant_get (changed_properties, "a{sv}", &iter); 790s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 790s # { 790s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 790s # g_datalist_remove_data (&proxy->priv->qdata, key); 790s # if (info != NULL) 790s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 790s # } 790s # g_variant_iter_free (iter); 790s # for (n = 0; invalidated_properties[n] != NULL; n++) 790s # { 790s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 790s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 790s # if (info != NULL) 790s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 790s # } 790s # } 790s # 790s # static const gchar * 790s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 790s # { 790s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 790s # GVariant *variant; 790s # const gchar *value = NULL; 790s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 790s # if (variant != NULL) 790s # { 790s # value = g_variant_get_string (variant, NULL); 790s # g_variant_unref (variant); 790s # } 790s # return value; 790s # } 790s # 790s # static void 790s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 790s # { 790s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 790s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 790s # #else 790s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 790s # #endif 790s # 790s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 790s # } 790s # 790s # static void 790s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 790s # { 790s # GObjectClass *gobject_class; 790s # GDBusProxyClass *proxy_class; 790s # 790s # gobject_class = G_OBJECT_CLASS (klass); 790s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 790s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 790s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 790s # 790s # proxy_class = G_DBUS_PROXY_CLASS (klass); 790s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 790s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 790s # 790s # com_acme_coyote_override_properties (gobject_class, 1); 790s # 790s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 790s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 790s # #endif 790s # } 790s # 790s # static void 790s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 790s # { 790s # iface->get_mood = com_acme_coyote_proxy_get_mood; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_proxy_new: 790s # * @connection: A #GDBusConnection. 790s # * @flags: Flags from the #GDBusProxyFlags enumeration. 790s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 790s # * @object_path: An object path. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 790s # * @user_data: User data to pass to @callback. 790s # * 790s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 790s # * 790s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 790s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 790s # * 790s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 790s # */ 790s # void 790s # com_acme_coyote_proxy_new ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data) 790s # { 790s # 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); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_proxy_new_finish: 790s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 790s # * @error: Return location for error or %NULL 790s # * 790s # * Finishes an operation started with com_acme_coyote_proxy_new(). 790s # * 790s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 790s # */ 790s # ComAcmeCoyote * 790s # com_acme_coyote_proxy_new_finish ( 790s # GAsyncResult *res, 790s # GError **error) 790s # { 790s # GObject *ret; 790s # GObject *source_object; 790s # source_object = g_async_result_get_source_object (res); 790s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 790s # g_object_unref (source_object); 790s # if (ret != NULL) 790s # return COM_ACME_COYOTE (ret); 790s # else 790s # return NULL; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_proxy_new_sync: 790s # * @connection: A #GDBusConnection. 790s # * @flags: Flags from the #GDBusProxyFlags enumeration. 790s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 790s # * @object_path: An object path. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @error: Return location for error or %NULL 790s # * 790s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 790s # * 790s # * The calling thread is blocked until a reply is received. 790s # * 790s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 790s # * 790s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 790s # */ 790s # ComAcmeCoyote * 790s # com_acme_coyote_proxy_new_sync ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error) 790s # { 790s # GInitable *ret; 790s # 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); 790s # if (ret != NULL) 790s # return COM_ACME_COYOTE (ret); 790s # else 790s # return NULL; 790s # } 790s # 790s # 790s # /** 790s # * com_acme_coyote_proxy_new_for_bus: 790s # * @bus_type: A #GBusType. 790s # * @flags: Flags from the #GDBusProxyFlags enumeration. 790s # * @name: A bus name (well-known or unique). 790s # * @object_path: An object path. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 790s # * @user_data: User data to pass to @callback. 790s # * 790s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 790s # * 790s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 790s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 790s # * 790s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 790s # */ 790s # void 790s # com_acme_coyote_proxy_new_for_bus ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data) 790s # { 790s # 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); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_proxy_new_for_bus_finish: 790s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 790s # * @error: Return location for error or %NULL 790s # * 790s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 790s # * 790s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 790s # */ 790s # ComAcmeCoyote * 790s # com_acme_coyote_proxy_new_for_bus_finish ( 790s # GAsyncResult *res, 790s # GError **error) 790s # { 790s # GObject *ret; 790s # GObject *source_object; 790s # source_object = g_async_result_get_source_object (res); 790s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 790s # g_object_unref (source_object); 790s # if (ret != NULL) 790s # return COM_ACME_COYOTE (ret); 790s # else 790s # return NULL; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_proxy_new_for_bus_sync: 790s # * @bus_type: A #GBusType. 790s # * @flags: Flags from the #GDBusProxyFlags enumeration. 790s # * @name: A bus name (well-known or unique). 790s # * @object_path: An object path. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @error: Return location for error or %NULL 790s # * 790s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 790s # * 790s # * The calling thread is blocked until a reply is received. 790s # * 790s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 790s # * 790s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 790s # */ 790s # ComAcmeCoyote * 790s # com_acme_coyote_proxy_new_for_bus_sync ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error) 790s # { 790s # GInitable *ret; 790s # 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); 790s # if (ret != NULL) 790s # return COM_ACME_COYOTE (ret); 790s # else 790s # return NULL; 790s # } 790s # 790s # 790s # /* ------------------------------------------------------------------------ */ 790s # 790s # /** 790s # * ComAcmeCoyoteSkeleton: 790s # * 790s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 790s # */ 790s # 790s # /** 790s # * ComAcmeCoyoteSkeletonClass: 790s # * @parent_class: The parent class. 790s # * 790s # * Class structure for #ComAcmeCoyoteSkeleton. 790s # */ 790s # 790s # struct _ComAcmeCoyoteSkeletonPrivate 790s # { 790s # GValue *properties; 790s # GList *changed_properties; 790s # GSource *changed_properties_idle_source; 790s # GMainContext *context; 790s # GMutex lock; 790s # }; 790s # 790s # static void 790s # _com_acme_coyote_skeleton_handle_method_call ( 790s # GDBusConnection *connection G_GNUC_UNUSED, 790s # const gchar *sender G_GNUC_UNUSED, 790s # const gchar *object_path G_GNUC_UNUSED, 790s # const gchar *interface_name, 790s # const gchar *method_name, 790s # GVariant *parameters, 790s # GDBusMethodInvocation *invocation, 790s # gpointer user_data) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 790s # _ExtendedGDBusMethodInfo *info; 790s # GVariantIter iter; 790s # GVariant *child; 790s # GValue *paramv; 790s # gsize num_params; 790s # guint num_extra; 790s # gsize n; 790s # guint signal_id; 790s # GValue return_value = G_VALUE_INIT; 790s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 790s # g_assert (info != NULL); 790s # num_params = g_variant_n_children (parameters); 790s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 790s # n = 0; 790s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 790s # g_value_set_object (¶mv[n++], skeleton); 790s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 790s # g_value_set_object (¶mv[n++], invocation); 790s # if (info->pass_fdlist) 790s # { 790s # #ifdef G_OS_UNIX 790s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 790s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 790s # #else 790s # g_assert_not_reached (); 790s # #endif 790s # } 790s # g_variant_iter_init (&iter, parameters); 790s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 790s # { 790s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 790s # if (arg_info->use_gvariant) 790s # { 790s # g_value_init (¶mv[n], G_TYPE_VARIANT); 790s # g_value_set_variant (¶mv[n], child); 790s # n++; 790s # } 790s # else 790s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 790s # g_variant_unref (child); 790s # } 790s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 790s # g_value_init (&return_value, G_TYPE_BOOLEAN); 790s # g_signal_emitv (paramv, signal_id, 0, &return_value); 790s # if (!g_value_get_boolean (&return_value)) 790s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 790s # g_value_unset (&return_value); 790s # for (n = 0; n < num_params + num_extra; n++) 790s # g_value_unset (¶mv[n]); 790s # g_free (paramv); 790s # } 790s # 790s # static GVariant * 790s # _com_acme_coyote_skeleton_handle_get_property ( 790s # GDBusConnection *connection G_GNUC_UNUSED, 790s # const gchar *sender G_GNUC_UNUSED, 790s # const gchar *object_path G_GNUC_UNUSED, 790s # const gchar *interface_name G_GNUC_UNUSED, 790s # const gchar *property_name, 790s # GError **error, 790s # gpointer user_data) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 790s # GValue value = G_VALUE_INIT; 790s # GParamSpec *pspec; 790s # _ExtendedGDBusPropertyInfo *info; 790s # GVariant *ret; 790s # ret = NULL; 790s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 790s # g_assert (info != NULL); 790s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 790s # if (pspec == NULL) 790s # { 790s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 790s # } 790s # else 790s # { 790s # g_value_init (&value, pspec->value_type); 790s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 790s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 790s # g_value_unset (&value); 790s # } 790s # return ret; 790s # } 790s # 790s # static gboolean 790s # _com_acme_coyote_skeleton_handle_set_property ( 790s # GDBusConnection *connection G_GNUC_UNUSED, 790s # const gchar *sender G_GNUC_UNUSED, 790s # const gchar *object_path G_GNUC_UNUSED, 790s # const gchar *interface_name G_GNUC_UNUSED, 790s # const gchar *property_name, 790s # GVariant *variant, 790s # GError **error, 790s # gpointer user_data) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 790s # GValue value = G_VALUE_INIT; 790s # GParamSpec *pspec; 790s # _ExtendedGDBusPropertyInfo *info; 790s # gboolean ret; 790s # ret = FALSE; 790s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 790s # g_assert (info != NULL); 790s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 790s # if (pspec == NULL) 790s # { 790s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 790s # } 790s # else 790s # { 790s # if (info->use_gvariant) 790s # g_value_set_variant (&value, variant); 790s # else 790s # g_dbus_gvariant_to_gvalue (variant, &value); 790s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 790s # g_value_unset (&value); 790s # ret = TRUE; 790s # } 790s # return ret; 790s # } 790s # 790s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 790s # { 790s # _com_acme_coyote_skeleton_handle_method_call, 790s # _com_acme_coyote_skeleton_handle_get_property, 790s # _com_acme_coyote_skeleton_handle_set_property, 790s # {NULL} 790s # }; 790s # 790s # static GDBusInterfaceInfo * 790s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 790s # { 790s # return com_acme_coyote_interface_info (); 790s # } 790s # 790s # static GDBusInterfaceVTable * 790s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 790s # { 790s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 790s # } 790s # 790s # static GVariant * 790s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 790s # 790s # GVariantBuilder builder; 790s # guint n; 790s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 790s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 790s # goto out; 790s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 790s # { 790s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 790s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 790s # { 790s # GVariant *value; 790s # 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); 790s # if (value != NULL) 790s # { 790s # g_variant_take_ref (value); 790s # g_variant_builder_add (&builder, "{sv}", info->name, value); 790s # g_variant_unref (value); 790s # } 790s # } 790s # } 790s # out: 790s # return g_variant_builder_end (&builder); 790s # } 790s # 790s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 790s # 790s # static void 790s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 790s # gboolean emit_changed = FALSE; 790s # 790s # g_mutex_lock (&skeleton->priv->lock); 790s # if (skeleton->priv->changed_properties_idle_source != NULL) 790s # { 790s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 790s # skeleton->priv->changed_properties_idle_source = NULL; 790s # emit_changed = TRUE; 790s # } 790s # g_mutex_unlock (&skeleton->priv->lock); 790s # 790s # if (emit_changed) 790s # _com_acme_coyote_emit_changed (skeleton); 790s # } 790s # 790s # static void 790s # _com_acme_coyote_on_signal_surprised ( 790s # ComAcmeCoyote *object) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 790s # 790s # GList *connections, *l; 790s # GVariant *signal_variant; 790s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 790s # 790s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 790s # for (l = connections; l != NULL; l = l->next) 790s # { 790s # GDBusConnection *connection = l->data; 790s # g_dbus_connection_emit_signal (connection, 790s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 790s # signal_variant, NULL); 790s # } 790s # g_variant_unref (signal_variant); 790s # g_list_free_full (connections, g_object_unref); 790s # } 790s # 790s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 790s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 790s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 790s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 790s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 790s # 790s # #else 790s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 790s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 790s # 790s # #endif 790s # static void 790s # com_acme_coyote_skeleton_finalize (GObject *object) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 790s # guint n; 790s # for (n = 0; n < 1; n++) 790s # g_value_unset (&skeleton->priv->properties[n]); 790s # g_free (skeleton->priv->properties); 790s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 790s # if (skeleton->priv->changed_properties_idle_source != NULL) 790s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 790s # g_main_context_unref (skeleton->priv->context); 790s # g_mutex_clear (&skeleton->priv->lock); 790s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 790s # } 790s # 790s # static void 790s # com_acme_coyote_skeleton_get_property (GObject *object, 790s # guint prop_id, 790s # GValue *value, 790s # GParamSpec *pspec G_GNUC_UNUSED) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 790s # g_assert (prop_id != 0 && prop_id - 1 < 1); 790s # g_mutex_lock (&skeleton->priv->lock); 790s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 790s # g_mutex_unlock (&skeleton->priv->lock); 790s # } 790s # 790s # static gboolean 790s # _com_acme_coyote_emit_changed (gpointer user_data) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 790s # GList *l; 790s # GVariantBuilder builder; 790s # GVariantBuilder invalidated_builder; 790s # guint num_changes; 790s # 790s # g_mutex_lock (&skeleton->priv->lock); 790s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 790s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 790s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 790s # { 790s # ChangedProperty *cp = l->data; 790s # GVariant *variant; 790s # const GValue *cur_value; 790s # 790s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 790s # if (!_g_value_equal (cur_value, &cp->orig_value)) 790s # { 790s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 790s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 790s # g_variant_unref (variant); 790s # num_changes++; 790s # } 790s # } 790s # if (num_changes > 0) 790s # { 790s # GList *connections, *ll; 790s # GVariant *signal_variant; 790s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 790s # &builder, &invalidated_builder)); 790s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 790s # for (ll = connections; ll != NULL; ll = ll->next) 790s # { 790s # GDBusConnection *connection = ll->data; 790s # 790s # g_dbus_connection_emit_signal (connection, 790s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 790s # "org.freedesktop.DBus.Properties", 790s # "PropertiesChanged", 790s # signal_variant, 790s # NULL); 790s # } 790s # g_variant_unref (signal_variant); 790s # g_list_free_full (connections, g_object_unref); 790s # } 790s # else 790s # { 790s # g_variant_builder_clear (&builder); 790s # g_variant_builder_clear (&invalidated_builder); 790s # } 790s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 790s # skeleton->priv->changed_properties = NULL; 790s # skeleton->priv->changed_properties_idle_source = NULL; 790s # g_mutex_unlock (&skeleton->priv->lock); 790s # return FALSE; 790s # } 790s # 790s # static void 790s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 790s # { 790s # ChangedProperty *cp; 790s # GList *l; 790s # cp = NULL; 790s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 790s # { 790s # ChangedProperty *i_cp = l->data; 790s # if (i_cp->info == info) 790s # { 790s # cp = i_cp; 790s # break; 790s # } 790s # } 790s # if (cp == NULL) 790s # { 790s # cp = g_new0 (ChangedProperty, 1); 790s # cp->prop_id = prop_id; 790s # cp->info = info; 790s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 790s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 790s # g_value_copy (orig_value, &cp->orig_value); 790s # } 790s # } 790s # 790s # static void 790s # com_acme_coyote_skeleton_notify (GObject *object, 790s # GParamSpec *pspec G_GNUC_UNUSED) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 790s # g_mutex_lock (&skeleton->priv->lock); 790s # if (skeleton->priv->changed_properties != NULL && 790s # skeleton->priv->changed_properties_idle_source == NULL) 790s # { 790s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 790s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 790s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 790s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 790s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 790s # g_source_unref (skeleton->priv->changed_properties_idle_source); 790s # } 790s # g_mutex_unlock (&skeleton->priv->lock); 790s # } 790s # 790s # static void 790s # com_acme_coyote_skeleton_set_property (GObject *object, 790s # guint prop_id, 790s # const GValue *value, 790s # GParamSpec *pspec) 790s # { 790s # const _ExtendedGDBusPropertyInfo *info; 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 790s # g_assert (prop_id != 0 && prop_id - 1 < 1); 790s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 790s # g_mutex_lock (&skeleton->priv->lock); 790s # g_object_freeze_notify (object); 790s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 790s # { 790s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 790s # info->emits_changed_signal) 790s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 790s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 790s # g_object_notify_by_pspec (object, pspec); 790s # } 790s # g_mutex_unlock (&skeleton->priv->lock); 790s # g_object_thaw_notify (object); 790s # } 790s # 790s # static void 790s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 790s # { 790s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 790s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 790s # #else 790s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 790s # #endif 790s # 790s # g_mutex_init (&skeleton->priv->lock); 790s # skeleton->priv->context = g_main_context_ref_thread_default (); 790s # skeleton->priv->properties = g_new0 (GValue, 1); 790s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 790s # } 790s # 790s # static const gchar * 790s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 790s # const gchar *value; 790s # g_mutex_lock (&skeleton->priv->lock); 790s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 790s # g_mutex_unlock (&skeleton->priv->lock); 790s # return value; 790s # } 790s # 790s # static void 790s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 790s # { 790s # GObjectClass *gobject_class; 790s # GDBusInterfaceSkeletonClass *skeleton_class; 790s # 790s # gobject_class = G_OBJECT_CLASS (klass); 790s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 790s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 790s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 790s # gobject_class->notify = com_acme_coyote_skeleton_notify; 790s # 790s # 790s # com_acme_coyote_override_properties (gobject_class, 1); 790s # 790s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 790s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 790s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 790s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 790s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 790s # 790s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 790s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 790s # #endif 790s # } 790s # 790s # static void 790s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 790s # { 790s # iface->surprised = _com_acme_coyote_on_signal_surprised; 790s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_skeleton_new: 790s # * 790s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 790s # * 790s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 790s # */ 790s # ComAcmeCoyote * 790s # com_acme_coyote_skeleton_new (void) 790s # { 790s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 790s # } 790s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2c7w9ekm/tmp3iwm9g9n2.xml', '/tmp/tmp2c7w9ekm/tmpbrmn0ubm1.xml', '--output', '-', '--body'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: /* 790s # * This file is generated by gdbus-codegen, do not modify it. 790s # * 790s # * The license of this code is the same as for the D-Bus interface description 790s # * it was derived from. Note that it links to GLib, so must comply with the 790s # * LGPL linking clauses. 790s # */ 790s # 790s # #ifdef HAVE_CONFIG_H 790s # # include "config.h" 790s # #endif 790s # 790s # #include 790s # #ifdef G_OS_UNIX 790s # # include 790s # #endif 790s # 790s # #ifdef G_ENABLE_DEBUG 790s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 790s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 790s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 790s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 790s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 790s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 790s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 790s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 790s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 790s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 790s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 790s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 790s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 790s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 790s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 790s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 790s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 790s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 790s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 790s # #else /* !G_ENABLE_DEBUG */ 790s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 790s # * Do not access GValues directly in your code. Instead, use the 790s # * g_value_get_*() functions 790s # */ 790s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 790s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 790s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 790s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 790s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 790s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 790s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 790s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 790s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 790s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 790s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 790s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 790s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 790s # #endif /* !G_ENABLE_DEBUG */ 790s # 790s # typedef struct 790s # { 790s # GDBusArgInfo parent_struct; 790s # gboolean use_gvariant; 790s # } _ExtendedGDBusArgInfo; 790s # 790s # typedef struct 790s # { 790s # GDBusMethodInfo parent_struct; 790s # const gchar *signal_name; 790s # gboolean pass_fdlist; 790s # } _ExtendedGDBusMethodInfo; 790s # 790s # typedef struct 790s # { 790s # GDBusSignalInfo parent_struct; 790s # const gchar *signal_name; 790s # } _ExtendedGDBusSignalInfo; 790s # 790s # typedef struct 790s # { 790s # GDBusPropertyInfo parent_struct; 790s # const gchar *hyphen_name; 790s # guint use_gvariant : 1; 790s # guint emits_changed_signal : 1; 790s # } _ExtendedGDBusPropertyInfo; 790s # 790s # typedef struct 790s # { 790s # GDBusInterfaceInfo parent_struct; 790s # const gchar *hyphen_name; 790s # } _ExtendedGDBusInterfaceInfo; 790s # 790s # typedef struct 790s # { 790s # const _ExtendedGDBusPropertyInfo *info; 790s # guint prop_id; 790s # GValue orig_value; /* the value before the change */ 790s # } ChangedProperty; 790s # 790s # static void 790s # _changed_property_free (ChangedProperty *data) 790s # { 790s # g_value_unset (&data->orig_value); 790s # g_free (data); 790s # } 790s # 790s # static gboolean 790s # _g_strv_equal0 (gchar **a, gchar **b) 790s # { 790s # gboolean ret = FALSE; 790s # guint n; 790s # if (a == NULL && b == NULL) 790s # { 790s # ret = TRUE; 790s # goto out; 790s # } 790s # if (a == NULL || b == NULL) 790s # goto out; 790s # if (g_strv_length (a) != g_strv_length (b)) 790s # goto out; 790s # for (n = 0; a[n] != NULL; n++) 790s # if (g_strcmp0 (a[n], b[n]) != 0) 790s # goto out; 790s # ret = TRUE; 790s # out: 790s # return ret; 790s # } 790s # 790s # static gboolean 790s # _g_variant_equal0 (GVariant *a, GVariant *b) 790s # { 790s # gboolean ret = FALSE; 790s # if (a == NULL && b == NULL) 790s # { 790s # ret = TRUE; 790s # goto out; 790s # } 790s # if (a == NULL || b == NULL) 790s # goto out; 790s # ret = g_variant_equal (a, b); 790s # out: 790s # return ret; 790s # } 790s # 790s # G_GNUC_UNUSED static gboolean 790s # _g_value_equal (const GValue *a, const GValue *b) 790s # { 790s # gboolean ret = FALSE; 790s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 790s # switch (G_VALUE_TYPE (a)) 790s # { 790s # case G_TYPE_BOOLEAN: 790s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 790s # break; 790s # case G_TYPE_UCHAR: 790s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 790s # break; 790s # case G_TYPE_INT: 790s # ret = (g_value_get_int (a) == g_value_get_int (b)); 790s # break; 790s # case G_TYPE_UINT: 790s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 790s # break; 790s # case G_TYPE_INT64: 790s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 790s # break; 790s # case G_TYPE_UINT64: 790s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 790s # break; 790s # case G_TYPE_DOUBLE: 790s # { 790s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 790s # gdouble da = g_value_get_double (a); 790s # gdouble db = g_value_get_double (b); 790s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 790s # } 790s # break; 790s # case G_TYPE_STRING: 790s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 790s # break; 790s # case G_TYPE_VARIANT: 790s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 790s # break; 790s # default: 790s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 790s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 790s # else 790s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 790s # break; 790s # } 790s # return ret; 790s # } 790s # 790s # static void 790s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 790s # GClosure *closure, 790s # GValue *return_value, 790s # unsigned int n_param_values, 790s # const GValue *param_values, 790s # void *invocation_hint G_GNUC_UNUSED, 790s # void *marshal_data) 790s # { 790s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 790s # (void *data1, 790s # GDBusMethodInvocation *arg_method_invocation, 790s # void *data2); 790s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 790s # GCClosure *cc = (GCClosure*) closure; 790s # void *data1, *data2; 790s # gboolean v_return; 790s # 790s # g_return_if_fail (return_value != NULL); 790s # g_return_if_fail (n_param_values == 2); 790s # 790s # if (G_CCLOSURE_SWAP_DATA (closure)) 790s # { 790s # data1 = closure->data; 790s # data2 = g_value_peek_pointer (param_values + 0); 790s # } 790s # else 790s # { 790s # data1 = g_value_peek_pointer (param_values + 0); 790s # data2 = closure->data; 790s # } 790s # 790s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 790s # (marshal_data ? marshal_data : cc->callback); 790s # 790s # v_return = 790s # callback (data1, 790s # g_marshal_value_peek_object (param_values + 1), 790s # data2); 790s # 790s # g_value_set_boolean (return_value, v_return); 790s # } 790s # 790s # /* ------------------------------------------------------------------------ 790s # * Code for interface org.project.Bar.Frobnicator 790s # * ------------------------------------------------------------------------ 790s # */ 790s # 790s # /** 790s # * SECTION:OrgProjectBarFrobnicator 790s # * @title: OrgProjectBarFrobnicator 790s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 790s # * 790s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 790s # */ 790s # 790s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 790s # 790s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 790s # { 790s # { 790s # -1, 790s # (gchar *) "RandomMethod", 790s # NULL, 790s # NULL, 790s # NULL 790s # }, 790s # "handle-random-method", 790s # FALSE 790s # }; 790s # 790s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 790s # { 790s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 790s # NULL 790s # }; 790s # 790s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 790s # { 790s # { 790s # -1, 790s # (gchar *) "org.project.Bar.Frobnicator", 790s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 790s # NULL, 790s # NULL, 790s # NULL 790s # }, 790s # "org-project-bar-frobnicator", 790s # }; 790s # 790s # 790s # /** 790s # * org_project_bar_frobnicator_interface_info: 790s # * 790s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 790s # * 790s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 790s # */ 790s # GDBusInterfaceInfo * 790s # org_project_bar_frobnicator_interface_info (void) 790s # { 790s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_override_properties: 790s # * @klass: The class structure for a #GObject derived class. 790s # * @property_id_begin: The property id to assign to the first overridden property. 790s # * 790s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 790s # * The properties are overridden in the order they are defined. 790s # * 790s # * Returns: The last property id. 790s # */ 790s # guint 790s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 790s # { 790s # return property_id_begin - 1; 790s # } 790s # 790s # 790s # inline static void 790s # org_project_bar_frobnicator_method_marshal_random_method ( 790s # GClosure *closure, 790s # GValue *return_value, 790s # unsigned int n_param_values, 790s # const GValue *param_values, 790s # void *invocation_hint, 790s # void *marshal_data) 790s # { 790s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 790s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 790s # } 790s # 790s # 790s # /** 790s # * OrgProjectBarFrobnicator: 790s # * 790s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 790s # */ 790s # 790s # /** 790s # * OrgProjectBarFrobnicatorIface: 790s # * @parent_iface: The parent interface. 790s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 790s # * 790s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 790s # */ 790s # 790s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 790s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 790s # 790s # static void 790s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 790s # { 790s # /* GObject signals for incoming D-Bus method calls: */ 790s # /** 790s # * OrgProjectBarFrobnicator::handle-random-method: 790s # * @object: A #OrgProjectBarFrobnicator. 790s # * @invocation: A #GDBusMethodInvocation. 790s # * 790s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 790s # * 790s # * 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. 790s # * 790s # * 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. 790s # */ 790s # g_signal_new ("handle-random-method", 790s # G_TYPE_FROM_INTERFACE (iface), 790s # G_SIGNAL_RUN_LAST, 790s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 790s # g_signal_accumulator_true_handled, 790s # NULL, 790s # org_project_bar_frobnicator_method_marshal_random_method, 790s # G_TYPE_BOOLEAN, 790s # 1, 790s # G_TYPE_DBUS_METHOD_INVOCATION); 790s # 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_call_random_method: 790s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 790s # * @user_data: User data to pass to @callback. 790s # * 790s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 790s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 790s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 790s # * 790s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 790s # */ 790s # void 790s # org_project_bar_frobnicator_call_random_method ( 790s # OrgProjectBarFrobnicator *proxy, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data) 790s # { 790s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 790s # "RandomMethod", 790s # g_variant_new ("()"), 790s # G_DBUS_CALL_FLAGS_NONE, 790s # -1, 790s # cancellable, 790s # callback, 790s # user_data); 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_call_random_method_finish: 790s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 790s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 790s # * @error: Return location for error or %NULL. 790s # * 790s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 790s # * 790s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 790s # */ 790s # gboolean 790s # org_project_bar_frobnicator_call_random_method_finish ( 790s # OrgProjectBarFrobnicator *proxy, 790s # GAsyncResult *res, 790s # GError **error) 790s # { 790s # GVariant *_ret; 790s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 790s # if (_ret == NULL) 790s # goto _out; 790s # g_variant_get (_ret, 790s # "()"); 790s # g_variant_unref (_ret); 790s # _out: 790s # return _ret != NULL; 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_call_random_method_sync: 790s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @error: Return location for error or %NULL. 790s # * 790s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 790s # * 790s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 790s # * 790s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 790s # */ 790s # gboolean 790s # org_project_bar_frobnicator_call_random_method_sync ( 790s # OrgProjectBarFrobnicator *proxy, 790s # GCancellable *cancellable, 790s # GError **error) 790s # { 790s # GVariant *_ret; 790s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 790s # "RandomMethod", 790s # g_variant_new ("()"), 790s # G_DBUS_CALL_FLAGS_NONE, 790s # -1, 790s # cancellable, 790s # error); 790s # if (_ret == NULL) 790s # goto _out; 790s # g_variant_get (_ret, 790s # "()"); 790s # g_variant_unref (_ret); 790s # _out: 790s # return _ret != NULL; 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_complete_random_method: 790s # * @object: A #OrgProjectBarFrobnicator. 790s # * @invocation: (transfer full): A #GDBusMethodInvocation. 790s # * 790s # * 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. 790s # * 790s # * This method will free @invocation, you cannot use it afterwards. 790s # */ 790s # void 790s # org_project_bar_frobnicator_complete_random_method ( 790s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 790s # GDBusMethodInvocation *invocation) 790s # { 790s # g_dbus_method_invocation_return_value (invocation, 790s # g_variant_new ("()")); 790s # } 790s # 790s # /* ------------------------------------------------------------------------ */ 790s # 790s # /** 790s # * OrgProjectBarFrobnicatorProxy: 790s # * 790s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 790s # */ 790s # 790s # /** 790s # * OrgProjectBarFrobnicatorProxyClass: 790s # * @parent_class: The parent class. 790s # * 790s # * Class structure for #OrgProjectBarFrobnicatorProxy. 790s # */ 790s # 790s # struct _OrgProjectBarFrobnicatorProxyPrivate 790s # { 790s # GData *qdata; 790s # }; 790s # 790s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 790s # 790s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 790s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 790s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 790s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 790s # 790s # #else 790s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 790s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 790s # 790s # #endif 790s # static void 790s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 790s # { 790s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 790s # g_datalist_clear (&proxy->priv->qdata); 790s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 790s # guint prop_id G_GNUC_UNUSED, 790s # GValue *value G_GNUC_UNUSED, 790s # GParamSpec *pspec G_GNUC_UNUSED) 790s # { 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 790s # guint prop_id G_GNUC_UNUSED, 790s # const GValue *value G_GNUC_UNUSED, 790s # GParamSpec *pspec G_GNUC_UNUSED) 790s # { 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 790s # const gchar *sender_name G_GNUC_UNUSED, 790s # const gchar *signal_name, 790s # GVariant *parameters) 790s # { 790s # _ExtendedGDBusSignalInfo *info; 790s # GVariantIter iter; 790s # GVariant *child; 790s # GValue *paramv; 790s # gsize num_params; 790s # gsize n; 790s # guint signal_id; 790s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 790s # if (info == NULL) 790s # return; 790s # num_params = g_variant_n_children (parameters); 790s # paramv = g_new0 (GValue, num_params + 1); 790s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 790s # g_value_set_object (¶mv[0], proxy); 790s # g_variant_iter_init (&iter, parameters); 790s # n = 1; 790s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 790s # { 790s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 790s # if (arg_info->use_gvariant) 790s # { 790s # g_value_init (¶mv[n], G_TYPE_VARIANT); 790s # g_value_set_variant (¶mv[n], child); 790s # n++; 790s # } 790s # else 790s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 790s # g_variant_unref (child); 790s # } 790s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 790s # g_signal_emitv (paramv, signal_id, 0, NULL); 790s # for (n = 0; n < num_params + 1; n++) 790s # g_value_unset (¶mv[n]); 790s # g_free (paramv); 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 790s # GVariant *changed_properties, 790s # const gchar *const *invalidated_properties) 790s # { 790s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 790s # guint n; 790s # const gchar *key; 790s # GVariantIter *iter; 790s # _ExtendedGDBusPropertyInfo *info; 790s # g_variant_get (changed_properties, "a{sv}", &iter); 790s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 790s # { 790s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 790s # g_datalist_remove_data (&proxy->priv->qdata, key); 790s # if (info != NULL) 790s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 790s # } 790s # g_variant_iter_free (iter); 790s # for (n = 0; invalidated_properties[n] != NULL; n++) 790s # { 790s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 790s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 790s # if (info != NULL) 790s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 790s # } 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 790s # { 790s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 790s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 790s # #else 790s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 790s # #endif 790s # 790s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 790s # { 790s # GObjectClass *gobject_class; 790s # GDBusProxyClass *proxy_class; 790s # 790s # gobject_class = G_OBJECT_CLASS (klass); 790s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 790s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 790s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 790s # 790s # proxy_class = G_DBUS_PROXY_CLASS (klass); 790s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 790s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 790s # 790s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 790s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 790s # #endif 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 790s # { 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_proxy_new: 790s # * @connection: A #GDBusConnection. 790s # * @flags: Flags from the #GDBusProxyFlags enumeration. 790s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 790s # * @object_path: An object path. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 790s # * @user_data: User data to pass to @callback. 790s # * 790s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 790s # * 790s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 790s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 790s # * 790s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 790s # */ 790s # void 790s # org_project_bar_frobnicator_proxy_new ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data) 790s # { 790s # 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); 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_proxy_new_finish: 790s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 790s # * @error: Return location for error or %NULL 790s # * 790s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 790s # * 790s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 790s # */ 790s # OrgProjectBarFrobnicator * 790s # org_project_bar_frobnicator_proxy_new_finish ( 790s # GAsyncResult *res, 790s # GError **error) 790s # { 790s # GObject *ret; 790s # GObject *source_object; 790s # source_object = g_async_result_get_source_object (res); 790s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 790s # g_object_unref (source_object); 790s # if (ret != NULL) 790s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 790s # else 790s # return NULL; 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_proxy_new_sync: 790s # * @connection: A #GDBusConnection. 790s # * @flags: Flags from the #GDBusProxyFlags enumeration. 790s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 790s # * @object_path: An object path. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @error: Return location for error or %NULL 790s # * 790s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 790s # * 790s # * The calling thread is blocked until a reply is received. 790s # * 790s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 790s # * 790s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 790s # */ 790s # OrgProjectBarFrobnicator * 790s # org_project_bar_frobnicator_proxy_new_sync ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error) 790s # { 790s # GInitable *ret; 790s # 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); 790s # if (ret != NULL) 790s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 790s # else 790s # return NULL; 790s # } 790s # 790s # 790s # /** 790s # * org_project_bar_frobnicator_proxy_new_for_bus: 790s # * @bus_type: A #GBusType. 790s # * @flags: Flags from the #GDBusProxyFlags enumeration. 790s # * @name: A bus name (well-known or unique). 790s # * @object_path: An object path. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 790s # * @user_data: User data to pass to @callback. 790s # * 790s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 790s # * 790s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 790s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 790s # * 790s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 790s # */ 790s # void 790s # org_project_bar_frobnicator_proxy_new_for_bus ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data) 790s # { 790s # 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); 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 790s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 790s # * @error: Return location for error or %NULL 790s # * 790s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 790s # * 790s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 790s # */ 790s # OrgProjectBarFrobnicator * 790s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 790s # GAsyncResult *res, 790s # GError **error) 790s # { 790s # GObject *ret; 790s # GObject *source_object; 790s # source_object = g_async_result_get_source_object (res); 790s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 790s # g_object_unref (source_object); 790s # if (ret != NULL) 790s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 790s # else 790s # return NULL; 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 790s # * @bus_type: A #GBusType. 790s # * @flags: Flags from the #GDBusProxyFlags enumeration. 790s # * @name: A bus name (well-known or unique). 790s # * @object_path: An object path. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @error: Return location for error or %NULL 790s # * 790s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 790s # * 790s # * The calling thread is blocked until a reply is received. 790s # * 790s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 790s # * 790s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 790s # */ 790s # OrgProjectBarFrobnicator * 790s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error) 790s # { 790s # GInitable *ret; 790s # 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); 790s # if (ret != NULL) 790s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 790s # else 790s # return NULL; 790s # } 790s # 790s # 790s # /* ------------------------------------------------------------------------ */ 790s # 790s # /** 790s # * OrgProjectBarFrobnicatorSkeleton: 790s # * 790s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 790s # */ 790s # 790s # /** 790s # * OrgProjectBarFrobnicatorSkeletonClass: 790s # * @parent_class: The parent class. 790s # * 790s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 790s # */ 790s # 790s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 790s # { 790s # GValue *properties; 790s # GList *changed_properties; 790s # GSource *changed_properties_idle_source; 790s # GMainContext *context; 790s # GMutex lock; 790s # }; 790s # 790s # static void 790s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 790s # GDBusConnection *connection G_GNUC_UNUSED, 790s # const gchar *sender G_GNUC_UNUSED, 790s # const gchar *object_path G_GNUC_UNUSED, 790s # const gchar *interface_name, 790s # const gchar *method_name, 790s # GVariant *parameters, 790s # GDBusMethodInvocation *invocation, 790s # gpointer user_data) 790s # { 790s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 790s # _ExtendedGDBusMethodInfo *info; 790s # GVariantIter iter; 790s # GVariant *child; 790s # GValue *paramv; 790s # gsize num_params; 790s # guint num_extra; 790s # gsize n; 790s # guint signal_id; 790s # GValue return_value = G_VALUE_INIT; 790s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 790s # g_assert (info != NULL); 790s # num_params = g_variant_n_children (parameters); 790s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 790s # n = 0; 790s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 790s # g_value_set_object (¶mv[n++], skeleton); 790s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 790s # g_value_set_object (¶mv[n++], invocation); 790s # if (info->pass_fdlist) 790s # { 790s # #ifdef G_OS_UNIX 790s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 790s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 790s # #else 790s # g_assert_not_reached (); 790s # #endif 790s # } 790s # g_variant_iter_init (&iter, parameters); 790s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 790s # { 790s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 790s # if (arg_info->use_gvariant) 790s # { 790s # g_value_init (¶mv[n], G_TYPE_VARIANT); 790s # g_value_set_variant (¶mv[n], child); 790s # n++; 790s # } 790s # else 790s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 790s # g_variant_unref (child); 790s # } 790s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 790s # g_value_init (&return_value, G_TYPE_BOOLEAN); 790s # g_signal_emitv (paramv, signal_id, 0, &return_value); 790s # if (!g_value_get_boolean (&return_value)) 790s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 790s # g_value_unset (&return_value); 790s # for (n = 0; n < num_params + num_extra; n++) 790s # g_value_unset (¶mv[n]); 790s # g_free (paramv); 790s # } 790s # 790s # static GVariant * 790s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 790s # GDBusConnection *connection G_GNUC_UNUSED, 790s # const gchar *sender G_GNUC_UNUSED, 790s # const gchar *object_path G_GNUC_UNUSED, 790s # const gchar *interface_name G_GNUC_UNUSED, 790s # const gchar *property_name, 790s # GError **error, 790s # gpointer user_data) 790s # { 790s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 790s # GValue value = G_VALUE_INIT; 790s # GParamSpec *pspec; 790s # _ExtendedGDBusPropertyInfo *info; 790s # GVariant *ret; 790s # ret = NULL; 790s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 790s # g_assert (info != NULL); 790s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 790s # if (pspec == NULL) 790s # { 790s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 790s # } 790s # else 790s # { 790s # g_value_init (&value, pspec->value_type); 790s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 790s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 790s # g_value_unset (&value); 790s # } 790s # return ret; 790s # } 790s # 790s # static gboolean 790s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 790s # GDBusConnection *connection G_GNUC_UNUSED, 790s # const gchar *sender G_GNUC_UNUSED, 790s # const gchar *object_path G_GNUC_UNUSED, 790s # const gchar *interface_name G_GNUC_UNUSED, 790s # const gchar *property_name, 790s # GVariant *variant, 790s # GError **error, 790s # gpointer user_data) 790s # { 790s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 790s # GValue value = G_VALUE_INIT; 790s # GParamSpec *pspec; 790s # _ExtendedGDBusPropertyInfo *info; 790s # gboolean ret; 790s # ret = FALSE; 790s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 790s # g_assert (info != NULL); 790s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 790s # if (pspec == NULL) 790s # { 790s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 790s # } 790s # else 790s # { 790s # if (info->use_gvariant) 790s # g_value_set_variant (&value, variant); 790s # else 790s # g_dbus_gvariant_to_gvalue (variant, &value); 790s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 790s # g_value_unset (&value); 790s # ret = TRUE; 790s # } 790s # return ret; 790s # } 790s # 790s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 790s # { 790s # _org_project_bar_frobnicator_skeleton_handle_method_call, 790s # _org_project_bar_frobnicator_skeleton_handle_get_property, 790s # _org_project_bar_frobnicator_skeleton_handle_set_property, 790s # {NULL} 790s # }; 790s # 790s # static GDBusInterfaceInfo * 790s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 790s # { 790s # return org_project_bar_frobnicator_interface_info (); 790s # } 790s # 790s # static GDBusInterfaceVTable * 790s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 790s # { 790s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 790s # } 790s # 790s # static GVariant * 790s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 790s # { 790s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 790s # 790s # GVariantBuilder builder; 790s # guint n; 790s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 790s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 790s # goto out; 790s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 790s # { 790s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 790s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 790s # { 790s # GVariant *value; 790s # 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); 790s # if (value != NULL) 790s # { 790s # g_variant_take_ref (value); 790s # g_variant_builder_add (&builder, "{sv}", info->name, value); 790s # g_variant_unref (value); 790s # } 790s # } 790s # } 790s # out: 790s # return g_variant_builder_end (&builder); 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 790s # { 790s # } 790s # 790s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 790s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 790s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 790s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 790s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 790s # 790s # #else 790s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 790s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 790s # 790s # #endif 790s # static void 790s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 790s # { 790s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 790s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 790s # if (skeleton->priv->changed_properties_idle_source != NULL) 790s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 790s # g_main_context_unref (skeleton->priv->context); 790s # g_mutex_clear (&skeleton->priv->lock); 790s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 790s # { 790s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 790s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 790s # #else 790s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 790s # #endif 790s # 790s # g_mutex_init (&skeleton->priv->lock); 790s # skeleton->priv->context = g_main_context_ref_thread_default (); 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 790s # { 790s # GObjectClass *gobject_class; 790s # GDBusInterfaceSkeletonClass *skeleton_class; 790s # 790s # gobject_class = G_OBJECT_CLASS (klass); 790s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 790s # 790s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 790s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 790s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 790s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 790s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 790s # 790s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 790s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 790s # #endif 790s # } 790s # 790s # static void 790s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 790s # { 790s # } 790s # 790s # /** 790s # * org_project_bar_frobnicator_skeleton_new: 790s # * 790s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 790s # * 790s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 790s # */ 790s # OrgProjectBarFrobnicator * 790s # org_project_bar_frobnicator_skeleton_new (void) 790s # { 790s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 790s # } 790s # 790s # /* ------------------------------------------------------------------------ 790s # * Code for interface com.acme.Coyote 790s # * ------------------------------------------------------------------------ 790s # */ 790s # 790s # /** 790s # * SECTION:ComAcmeCoyote 790s # * @title: ComAcmeCoyote 790s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 790s # * 790s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 790s # */ 790s # 790s # enum 790s # { 790s # _COM_ACME_COYOTE_SURPRISED, 790s # }; 790s # 790s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 790s # 790s # /* ---- Introspection data for com.acme.Coyote ---- */ 790s # 790s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 790s # { 790s # { 790s # -1, 790s # (gchar *) "Run", 790s # NULL, 790s # NULL, 790s # NULL 790s # }, 790s # "handle-run", 790s # FALSE 790s # }; 790s # 790s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 790s # { 790s # { 790s # -1, 790s # (gchar *) "Sleep", 790s # NULL, 790s # NULL, 790s # NULL 790s # }, 790s # "handle-sleep", 790s # FALSE 790s # }; 790s # 790s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 790s # { 790s # { 790s # -1, 790s # (gchar *) "Attack", 790s # NULL, 790s # NULL, 790s # NULL 790s # }, 790s # "handle-attack", 790s # FALSE 790s # }; 790s # 790s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 790s # { 790s # &_com_acme_coyote_method_info_run.parent_struct, 790s # &_com_acme_coyote_method_info_sleep.parent_struct, 790s # &_com_acme_coyote_method_info_attack.parent_struct, 790s # NULL 790s # }; 790s # 790s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 790s # { 790s # { 790s # -1, 790s # (gchar *) "Surprised", 790s # NULL, 790s # NULL 790s # }, 790s # "surprised" 790s # }; 790s # 790s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 790s # { 790s # &_com_acme_coyote_signal_info_surprised.parent_struct, 790s # NULL 790s # }; 790s # 790s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 790s # { 790s # { 790s # -1, 790s # (gchar *) "Mood", 790s # (gchar *) "s", 790s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 790s # NULL 790s # }, 790s # "mood", 790s # FALSE, 790s # TRUE 790s # }; 790s # 790s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 790s # { 790s # &_com_acme_coyote_property_info_mood.parent_struct, 790s # NULL 790s # }; 790s # 790s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 790s # { 790s # { 790s # -1, 790s # (gchar *) "com.acme.Coyote", 790s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 790s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 790s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 790s # NULL 790s # }, 790s # "com-acme-coyote", 790s # }; 790s # 790s # 790s # /** 790s # * com_acme_coyote_interface_info: 790s # * 790s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 790s # * 790s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 790s # */ 790s # GDBusInterfaceInfo * 790s # com_acme_coyote_interface_info (void) 790s # { 790s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_override_properties: 790s # * @klass: The class structure for a #GObject derived class. 790s # * @property_id_begin: The property id to assign to the first overridden property. 790s # * 790s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 790s # * The properties are overridden in the order they are defined. 790s # * 790s # * Returns: The last property id. 790s # */ 790s # guint 790s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 790s # { 790s # g_object_class_override_property (klass, property_id_begin++, "mood"); 790s # return property_id_begin - 1; 790s # } 790s # 790s # 790s # inline static void 790s # com_acme_coyote_signal_marshal_surprised ( 790s # GClosure *closure, 790s # GValue *return_value, 790s # unsigned int n_param_values, 790s # const GValue *param_values, 790s # void *invocation_hint, 790s # void *marshal_data) 790s # { 790s # g_cclosure_marshal_VOID__VOID (closure, 790s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 790s # } 790s # 790s # inline static void 790s # com_acme_coyote_method_marshal_run ( 790s # GClosure *closure, 790s # GValue *return_value, 790s # unsigned int n_param_values, 790s # const GValue *param_values, 790s # void *invocation_hint, 790s # void *marshal_data) 790s # { 790s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 790s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 790s # } 790s # 790s # inline static void 790s # com_acme_coyote_method_marshal_sleep ( 790s # GClosure *closure, 790s # GValue *return_value, 790s # unsigned int n_param_values, 790s # const GValue *param_values, 790s # void *invocation_hint, 790s # void *marshal_data) 790s # { 790s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 790s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 790s # } 790s # 790s # inline static void 790s # com_acme_coyote_method_marshal_attack ( 790s # GClosure *closure, 790s # GValue *return_value, 790s # unsigned int n_param_values, 790s # const GValue *param_values, 790s # void *invocation_hint, 790s # void *marshal_data) 790s # { 790s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 790s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 790s # } 790s # 790s # 790s # /** 790s # * ComAcmeCoyote: 790s # * 790s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 790s # */ 790s # 790s # /** 790s # * ComAcmeCoyoteIface: 790s # * @parent_iface: The parent interface. 790s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 790s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 790s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 790s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 790s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 790s # * 790s # * Virtual table for the D-Bus interface com.acme.Coyote. 790s # */ 790s # 790s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 790s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 790s # 790s # static void 790s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 790s # { 790s # /* GObject signals for incoming D-Bus method calls: */ 790s # /** 790s # * ComAcmeCoyote::handle-run: 790s # * @object: A #ComAcmeCoyote. 790s # * @invocation: A #GDBusMethodInvocation. 790s # * 790s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 790s # * 790s # * 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. 790s # * 790s # * 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. 790s # */ 790s # g_signal_new ("handle-run", 790s # G_TYPE_FROM_INTERFACE (iface), 790s # G_SIGNAL_RUN_LAST, 790s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 790s # g_signal_accumulator_true_handled, 790s # NULL, 790s # com_acme_coyote_method_marshal_run, 790s # G_TYPE_BOOLEAN, 790s # 1, 790s # G_TYPE_DBUS_METHOD_INVOCATION); 790s # 790s # /** 790s # * ComAcmeCoyote::handle-sleep: 790s # * @object: A #ComAcmeCoyote. 790s # * @invocation: A #GDBusMethodInvocation. 790s # * 790s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 790s # * 790s # * 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. 790s # * 790s # * 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. 790s # */ 790s # g_signal_new ("handle-sleep", 790s # G_TYPE_FROM_INTERFACE (iface), 790s # G_SIGNAL_RUN_LAST, 790s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 790s # g_signal_accumulator_true_handled, 790s # NULL, 790s # com_acme_coyote_method_marshal_sleep, 790s # G_TYPE_BOOLEAN, 790s # 1, 790s # G_TYPE_DBUS_METHOD_INVOCATION); 790s # 790s # /** 790s # * ComAcmeCoyote::handle-attack: 790s # * @object: A #ComAcmeCoyote. 790s # * @invocation: A #GDBusMethodInvocation. 790s # * 790s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 790s # * 790s # * 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. 790s # * 790s # * 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. 790s # */ 790s # g_signal_new ("handle-attack", 790s # G_TYPE_FROM_INTERFACE (iface), 790s # G_SIGNAL_RUN_LAST, 790s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 790s # g_signal_accumulator_true_handled, 790s # NULL, 790s # com_acme_coyote_method_marshal_attack, 790s # G_TYPE_BOOLEAN, 790s # 1, 790s # G_TYPE_DBUS_METHOD_INVOCATION); 790s # 790s # /* GObject signals for received D-Bus signals: */ 790s # /** 790s # * ComAcmeCoyote::surprised: 790s # * @object: A #ComAcmeCoyote. 790s # * 790s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 790s # * 790s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 790s # */ 790s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 790s # g_signal_new ("surprised", 790s # G_TYPE_FROM_INTERFACE (iface), 790s # G_SIGNAL_RUN_LAST, 790s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 790s # NULL, 790s # NULL, 790s # com_acme_coyote_signal_marshal_surprised, 790s # G_TYPE_NONE, 790s # 0); 790s # 790s # /* GObject properties for D-Bus properties: */ 790s # /** 790s # * ComAcmeCoyote:mood: 790s # * 790s # * Represents the D-Bus property "Mood". 790s # * 790s # * 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. 790s # */ 790s # g_object_interface_install_property (iface, 790s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_get_mood: (skip) 790s # * @object: A #ComAcmeCoyote. 790s # * 790s # * Gets the value of the "Mood" D-Bus property. 790s # * 790s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 790s # * 790s # * 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. 790s # * 790s # * 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. 790s # */ 790s # const gchar * 790s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 790s # { 790s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 790s # 790s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_dup_mood: (skip) 790s # * @object: A #ComAcmeCoyote. 790s # * 790s # * Gets a copy of the "Mood" D-Bus property. 790s # * 790s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 790s # * 790s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 790s # */ 790s # gchar * 790s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 790s # { 790s # gchar *value; 790s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 790s # return value; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_set_mood: (skip) 790s # * @object: A #ComAcmeCoyote. 790s # * @value: The value to set. 790s # * 790s # * Sets the "Mood" D-Bus property to @value. 790s # * 790s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 790s # */ 790s # void 790s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 790s # { 790s # g_object_set (G_OBJECT (object), "mood", value, NULL); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_emit_surprised: 790s # * @object: A #ComAcmeCoyote. 790s # * 790s # * Emits the "Surprised" D-Bus signal. 790s # */ 790s # void 790s # com_acme_coyote_emit_surprised ( 790s # ComAcmeCoyote *object) 790s # { 790s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_call_run: 790s # * @proxy: A #ComAcmeCoyoteProxy. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 790s # * @user_data: User data to pass to @callback. 790s # * 790s # * Asynchronously invokes the Run() D-Bus method on @proxy. 790s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 790s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 790s # * 790s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 790s # */ 790s # void 790s # com_acme_coyote_call_run ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data) 790s # { 790s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 790s # "Run", 790s # g_variant_new ("()"), 790s # G_DBUS_CALL_FLAGS_NONE, 790s # -1, 790s # cancellable, 790s # callback, 790s # user_data); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_call_run_finish: 790s # * @proxy: A #ComAcmeCoyoteProxy. 790s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 790s # * @error: Return location for error or %NULL. 790s # * 790s # * Finishes an operation started with com_acme_coyote_call_run(). 790s # * 790s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 790s # */ 790s # gboolean 790s # com_acme_coyote_call_run_finish ( 790s # ComAcmeCoyote *proxy, 790s # GAsyncResult *res, 790s # GError **error) 790s # { 790s # GVariant *_ret; 790s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 790s # if (_ret == NULL) 790s # goto _out; 790s # g_variant_get (_ret, 790s # "()"); 790s # g_variant_unref (_ret); 790s # _out: 790s # return _ret != NULL; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_call_run_sync: 790s # * @proxy: A #ComAcmeCoyoteProxy. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @error: Return location for error or %NULL. 790s # * 790s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 790s # * 790s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 790s # * 790s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 790s # */ 790s # gboolean 790s # com_acme_coyote_call_run_sync ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GError **error) 790s # { 790s # GVariant *_ret; 790s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 790s # "Run", 790s # g_variant_new ("()"), 790s # G_DBUS_CALL_FLAGS_NONE, 790s # -1, 790s # cancellable, 790s # error); 790s # if (_ret == NULL) 790s # goto _out; 790s # g_variant_get (_ret, 790s # "()"); 790s # g_variant_unref (_ret); 790s # _out: 790s # return _ret != NULL; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_call_sleep: 790s # * @proxy: A #ComAcmeCoyoteProxy. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 790s # * @user_data: User data to pass to @callback. 790s # * 790s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 790s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 790s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 790s # * 790s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 790s # */ 790s # void 790s # com_acme_coyote_call_sleep ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data) 790s # { 790s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 790s # "Sleep", 790s # g_variant_new ("()"), 790s # G_DBUS_CALL_FLAGS_NONE, 790s # -1, 790s # cancellable, 790s # callback, 790s # user_data); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_call_sleep_finish: 790s # * @proxy: A #ComAcmeCoyoteProxy. 790s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 790s # * @error: Return location for error or %NULL. 790s # * 790s # * Finishes an operation started with com_acme_coyote_call_sleep(). 790s # * 790s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 790s # */ 790s # gboolean 790s # com_acme_coyote_call_sleep_finish ( 790s # ComAcmeCoyote *proxy, 790s # GAsyncResult *res, 790s # GError **error) 790s # { 790s # GVariant *_ret; 790s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 790s # if (_ret == NULL) 790s # goto _out; 790s # g_variant_get (_ret, 790s # "()"); 790s # g_variant_unref (_ret); 790s # _out: 790s # return _ret != NULL; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_call_sleep_sync: 790s # * @proxy: A #ComAcmeCoyoteProxy. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @error: Return location for error or %NULL. 790s # * 790s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 790s # * 790s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 790s # * 790s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 790s # */ 790s # gboolean 790s # com_acme_coyote_call_sleep_sync ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GError **error) 790s # { 790s # GVariant *_ret; 790s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 790s # "Sleep", 790s # g_variant_new ("()"), 790s # G_DBUS_CALL_FLAGS_NONE, 790s # -1, 790s # cancellable, 790s # error); 790s # if (_ret == NULL) 790s # goto _out; 790s # g_variant_get (_ret, 790s # "()"); 790s # g_variant_unref (_ret); 790s # _out: 790s # return _ret != NULL; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_call_attack: 790s # * @proxy: A #ComAcmeCoyoteProxy. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 790s # * @user_data: User data to pass to @callback. 790s # * 790s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 790s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 790s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 790s # * 790s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 790s # */ 790s # void 790s # com_acme_coyote_call_attack ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data) 790s # { 790s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 790s # "Attack", 790s # g_variant_new ("()"), 790s # G_DBUS_CALL_FLAGS_NONE, 790s # -1, 790s # cancellable, 790s # callback, 790s # user_data); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_call_attack_finish: 790s # * @proxy: A #ComAcmeCoyoteProxy. 790s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 790s # * @error: Return location for error or %NULL. 790s # * 790s # * Finishes an operation started with com_acme_coyote_call_attack(). 790s # * 790s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 790s # */ 790s # gboolean 790s # com_acme_coyote_call_attack_finish ( 790s # ComAcmeCoyote *proxy, 790s # GAsyncResult *res, 790s # GError **error) 790s # { 790s # GVariant *_ret; 790s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 790s # if (_ret == NULL) 790s # goto _out; 790s # g_variant_get (_ret, 790s # "()"); 790s # g_variant_unref (_ret); 790s # _out: 790s # return _ret != NULL; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_call_attack_sync: 790s # * @proxy: A #ComAcmeCoyoteProxy. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @error: Return location for error or %NULL. 790s # * 790s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 790s # * 790s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 790s # * 790s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 790s # */ 790s # gboolean 790s # com_acme_coyote_call_attack_sync ( 790s # ComAcmeCoyote *proxy, 790s # GCancellable *cancellable, 790s # GError **error) 790s # { 790s # GVariant *_ret; 790s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 790s # "Attack", 790s # g_variant_new ("()"), 790s # G_DBUS_CALL_FLAGS_NONE, 790s # -1, 790s # cancellable, 790s # error); 790s # if (_ret == NULL) 790s # goto _out; 790s # g_variant_get (_ret, 790s # "()"); 790s # g_variant_unref (_ret); 790s # _out: 790s # return _ret != NULL; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_complete_run: 790s # * @object: A #ComAcmeCoyote. 790s # * @invocation: (transfer full): A #GDBusMethodInvocation. 790s # * 790s # * 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. 790s # * 790s # * This method will free @invocation, you cannot use it afterwards. 790s # */ 790s # void 790s # com_acme_coyote_complete_run ( 790s # ComAcmeCoyote *object G_GNUC_UNUSED, 790s # GDBusMethodInvocation *invocation) 790s # { 790s # g_dbus_method_invocation_return_value (invocation, 790s # g_variant_new ("()")); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_complete_sleep: 790s # * @object: A #ComAcmeCoyote. 790s # * @invocation: (transfer full): A #GDBusMethodInvocation. 790s # * 790s # * 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. 790s # * 790s # * This method will free @invocation, you cannot use it afterwards. 790s # */ 790s # void 790s # com_acme_coyote_complete_sleep ( 790s # ComAcmeCoyote *object G_GNUC_UNUSED, 790s # GDBusMethodInvocation *invocation) 790s # { 790s # g_dbus_method_invocation_return_value (invocation, 790s # g_variant_new ("()")); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_complete_attack: 790s # * @object: A #ComAcmeCoyote. 790s # * @invocation: (transfer full): A #GDBusMethodInvocation. 790s # * 790s # * 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. 790s # * 790s # * This method will free @invocation, you cannot use it afterwards. 790s # */ 790s # void 790s # com_acme_coyote_complete_attack ( 790s # ComAcmeCoyote *object G_GNUC_UNUSED, 790s # GDBusMethodInvocation *invocation) 790s # { 790s # g_dbus_method_invocation_return_value (invocation, 790s # g_variant_new ("()")); 790s # } 790s # 790s # /* ------------------------------------------------------------------------ */ 790s # 790s # /** 790s # * ComAcmeCoyoteProxy: 790s # * 790s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 790s # */ 790s # 790s # /** 790s # * ComAcmeCoyoteProxyClass: 790s # * @parent_class: The parent class. 790s # * 790s # * Class structure for #ComAcmeCoyoteProxy. 790s # */ 790s # 790s # struct _ComAcmeCoyoteProxyPrivate 790s # { 790s # GData *qdata; 790s # }; 790s # 790s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 790s # 790s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 790s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 790s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 790s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 790s # 790s # #else 790s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 790s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 790s # 790s # #endif 790s # static void 790s # com_acme_coyote_proxy_finalize (GObject *object) 790s # { 790s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 790s # g_datalist_clear (&proxy->priv->qdata); 790s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 790s # } 790s # 790s # static void 790s # com_acme_coyote_proxy_get_property (GObject *object, 790s # guint prop_id, 790s # GValue *value, 790s # GParamSpec *pspec G_GNUC_UNUSED) 790s # { 790s # const _ExtendedGDBusPropertyInfo *info; 790s # GVariant *variant; 790s # g_assert (prop_id != 0 && prop_id - 1 < 1); 790s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 790s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 790s # if (info->use_gvariant) 790s # { 790s # g_value_set_variant (value, variant); 790s # } 790s # else 790s # { 790s # if (variant != NULL) 790s # g_dbus_gvariant_to_gvalue (variant, value); 790s # } 790s # if (variant != NULL) 790s # g_variant_unref (variant); 790s # } 790s # 790s # static void 790s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 790s # GAsyncResult *res, 790s # gpointer user_data) 790s # { 790s # const _ExtendedGDBusPropertyInfo *info = user_data; 790s # GError *error; 790s # GVariant *_ret; 790s # error = NULL; 790s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 790s # if (!_ret) 790s # { 790s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 790s # info->parent_struct.name, 790s # error->message, g_quark_to_string (error->domain), error->code); 790s # g_error_free (error); 790s # } 790s # else 790s # { 790s # g_variant_unref (_ret); 790s # } 790s # } 790s # 790s # static void 790s # com_acme_coyote_proxy_set_property (GObject *object, 790s # guint prop_id, 790s # const GValue *value, 790s # GParamSpec *pspec G_GNUC_UNUSED) 790s # { 790s # const _ExtendedGDBusPropertyInfo *info; 790s # GVariant *variant; 790s # g_assert (prop_id != 0 && prop_id - 1 < 1); 790s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 790s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 790s # g_dbus_proxy_call (G_DBUS_PROXY (object), 790s # "org.freedesktop.DBus.Properties.Set", 790s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 790s # G_DBUS_CALL_FLAGS_NONE, 790s # -1, 790s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 790s # g_variant_unref (variant); 790s # } 790s # 790s # static void 790s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 790s # const gchar *sender_name G_GNUC_UNUSED, 790s # const gchar *signal_name, 790s # GVariant *parameters) 790s # { 790s # _ExtendedGDBusSignalInfo *info; 790s # GVariantIter iter; 790s # GVariant *child; 790s # GValue *paramv; 790s # gsize num_params; 790s # gsize n; 790s # guint signal_id; 790s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 790s # if (info == NULL) 790s # return; 790s # num_params = g_variant_n_children (parameters); 790s # paramv = g_new0 (GValue, num_params + 1); 790s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 790s # g_value_set_object (¶mv[0], proxy); 790s # g_variant_iter_init (&iter, parameters); 790s # n = 1; 790s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 790s # { 790s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 790s # if (arg_info->use_gvariant) 790s # { 790s # g_value_init (¶mv[n], G_TYPE_VARIANT); 790s # g_value_set_variant (¶mv[n], child); 790s # n++; 790s # } 790s # else 790s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 790s # g_variant_unref (child); 790s # } 790s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 790s # g_signal_emitv (paramv, signal_id, 0, NULL); 790s # for (n = 0; n < num_params + 1; n++) 790s # g_value_unset (¶mv[n]); 790s # g_free (paramv); 790s # } 790s # 790s # static void 790s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 790s # GVariant *changed_properties, 790s # const gchar *const *invalidated_properties) 790s # { 790s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 790s # guint n; 790s # const gchar *key; 790s # GVariantIter *iter; 790s # _ExtendedGDBusPropertyInfo *info; 790s # g_variant_get (changed_properties, "a{sv}", &iter); 790s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 790s # { 790s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 790s # g_datalist_remove_data (&proxy->priv->qdata, key); 790s # if (info != NULL) 790s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 790s # } 790s # g_variant_iter_free (iter); 790s # for (n = 0; invalidated_properties[n] != NULL; n++) 790s # { 790s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 790s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 790s # if (info != NULL) 790s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 790s # } 790s # } 790s # 790s # static const gchar * 790s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 790s # { 790s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 790s # GVariant *variant; 790s # const gchar *value = NULL; 790s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 790s # if (variant != NULL) 790s # { 790s # value = g_variant_get_string (variant, NULL); 790s # g_variant_unref (variant); 790s # } 790s # return value; 790s # } 790s # 790s # static void 790s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 790s # { 790s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 790s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 790s # #else 790s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 790s # #endif 790s # 790s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 790s # } 790s # 790s # static void 790s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 790s # { 790s # GObjectClass *gobject_class; 790s # GDBusProxyClass *proxy_class; 790s # 790s # gobject_class = G_OBJECT_CLASS (klass); 790s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 790s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 790s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 790s # 790s # proxy_class = G_DBUS_PROXY_CLASS (klass); 790s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 790s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 790s # 790s # com_acme_coyote_override_properties (gobject_class, 1); 790s # 790s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 790s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 790s # #endif 790s # } 790s # 790s # static void 790s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 790s # { 790s # iface->get_mood = com_acme_coyote_proxy_get_mood; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_proxy_new: 790s # * @connection: A #GDBusConnection. 790s # * @flags: Flags from the #GDBusProxyFlags enumeration. 790s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 790s # * @object_path: An object path. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 790s # * @user_data: User data to pass to @callback. 790s # * 790s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 790s # * 790s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 790s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 790s # * 790s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 790s # */ 790s # void 790s # com_acme_coyote_proxy_new ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data) 790s # { 790s # 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); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_proxy_new_finish: 790s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 790s # * @error: Return location for error or %NULL 790s # * 790s # * Finishes an operation started with com_acme_coyote_proxy_new(). 790s # * 790s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 790s # */ 790s # ComAcmeCoyote * 790s # com_acme_coyote_proxy_new_finish ( 790s # GAsyncResult *res, 790s # GError **error) 790s # { 790s # GObject *ret; 790s # GObject *source_object; 790s # source_object = g_async_result_get_source_object (res); 790s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 790s # g_object_unref (source_object); 790s # if (ret != NULL) 790s # return COM_ACME_COYOTE (ret); 790s # else 790s # return NULL; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_proxy_new_sync: 790s # * @connection: A #GDBusConnection. 790s # * @flags: Flags from the #GDBusProxyFlags enumeration. 790s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 790s # * @object_path: An object path. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @error: Return location for error or %NULL 790s # * 790s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 790s # * 790s # * The calling thread is blocked until a reply is received. 790s # * 790s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 790s # * 790s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 790s # */ 790s # ComAcmeCoyote * 790s # com_acme_coyote_proxy_new_sync ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error) 790s # { 790s # GInitable *ret; 790s # 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); 790s # if (ret != NULL) 790s # return COM_ACME_COYOTE (ret); 790s # else 790s # return NULL; 790s # } 790s # 790s # 790s # /** 790s # * com_acme_coyote_proxy_new_for_bus: 790s # * @bus_type: A #GBusType. 790s # * @flags: Flags from the #GDBusProxyFlags enumeration. 790s # * @name: A bus name (well-known or unique). 790s # * @object_path: An object path. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 790s # * @user_data: User data to pass to @callback. 790s # * 790s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 790s # * 790s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 790s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 790s # * 790s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 790s # */ 790s # void 790s # com_acme_coyote_proxy_new_for_bus ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data) 790s # { 790s # 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); 790s # } 790s # 790s # /** 790s # * com_acme_coyote_proxy_new_for_bus_finish: 790s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 790s # * @error: Return location for error or %NULL 790s # * 790s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 790s # * 790s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 790s # */ 790s # ComAcmeCoyote * 790s # com_acme_coyote_proxy_new_for_bus_finish ( 790s # GAsyncResult *res, 790s # GError **error) 790s # { 790s # GObject *ret; 790s # GObject *source_object; 790s # source_object = g_async_result_get_source_object (res); 790s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 790s # g_object_unref (source_object); 790s # if (ret != NULL) 790s # return COM_ACME_COYOTE (ret); 790s # else 790s # return NULL; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_proxy_new_for_bus_sync: 790s # * @bus_type: A #GBusType. 790s # * @flags: Flags from the #GDBusProxyFlags enumeration. 790s # * @name: A bus name (well-known or unique). 790s # * @object_path: An object path. 790s # * @cancellable: (nullable): A #GCancellable or %NULL. 790s # * @error: Return location for error or %NULL 790s # * 790s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 790s # * 790s # * The calling thread is blocked until a reply is received. 790s # * 790s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 790s # * 790s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 790s # */ 790s # ComAcmeCoyote * 790s # com_acme_coyote_proxy_new_for_bus_sync ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error) 790s # { 790s # GInitable *ret; 790s # 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); 790s # if (ret != NULL) 790s # return COM_ACME_COYOTE (ret); 790s # else 790s # return NULL; 790s # } 790s # 790s # 790s # /* ------------------------------------------------------------------------ */ 790s # 790s # /** 790s # * ComAcmeCoyoteSkeleton: 790s # * 790s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 790s # */ 790s # 790s # /** 790s # * ComAcmeCoyoteSkeletonClass: 790s # * @parent_class: The parent class. 790s # * 790s # * Class structure for #ComAcmeCoyoteSkeleton. 790s # */ 790s # 790s # struct _ComAcmeCoyoteSkeletonPrivate 790s # { 790s # GValue *properties; 790s # GList *changed_properties; 790s # GSource *changed_properties_idle_source; 790s # GMainContext *context; 790s # GMutex lock; 790s # }; 790s # 790s # static void 790s # _com_acme_coyote_skeleton_handle_method_call ( 790s # GDBusConnection *connection G_GNUC_UNUSED, 790s # const gchar *sender G_GNUC_UNUSED, 790s # const gchar *object_path G_GNUC_UNUSED, 790s # const gchar *interface_name, 790s # const gchar *method_name, 790s # GVariant *parameters, 790s # GDBusMethodInvocation *invocation, 790s # gpointer user_data) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 790s # _ExtendedGDBusMethodInfo *info; 790s # GVariantIter iter; 790s # GVariant *child; 790s # GValue *paramv; 790s # gsize num_params; 790s # guint num_extra; 790s # gsize n; 790s # guint signal_id; 790s # GValue return_value = G_VALUE_INIT; 790s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 790s # g_assert (info != NULL); 790s # num_params = g_variant_n_children (parameters); 790s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 790s # n = 0; 790s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 790s # g_value_set_object (¶mv[n++], skeleton); 790s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 790s # g_value_set_object (¶mv[n++], invocation); 790s # if (info->pass_fdlist) 790s # { 790s # #ifdef G_OS_UNIX 790s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 790s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 790s # #else 790s # g_assert_not_reached (); 790s # #endif 790s # } 790s # g_variant_iter_init (&iter, parameters); 790s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 790s # { 790s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 790s # if (arg_info->use_gvariant) 790s # { 790s # g_value_init (¶mv[n], G_TYPE_VARIANT); 790s # g_value_set_variant (¶mv[n], child); 790s # n++; 790s # } 790s # else 790s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 790s # g_variant_unref (child); 790s # } 790s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 790s # g_value_init (&return_value, G_TYPE_BOOLEAN); 790s # g_signal_emitv (paramv, signal_id, 0, &return_value); 790s # if (!g_value_get_boolean (&return_value)) 790s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 790s # g_value_unset (&return_value); 790s # for (n = 0; n < num_params + num_extra; n++) 790s # g_value_unset (¶mv[n]); 790s # g_free (paramv); 790s # } 790s # 790s # static GVariant * 790s # _com_acme_coyote_skeleton_handle_get_property ( 790s # GDBusConnection *connection G_GNUC_UNUSED, 790s # const gchar *sender G_GNUC_UNUSED, 790s # const gchar *object_path G_GNUC_UNUSED, 790s # const gchar *interface_name G_GNUC_UNUSED, 790s # const gchar *property_name, 790s # GError **error, 790s # gpointer user_data) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 790s # GValue value = G_VALUE_INIT; 790s # GParamSpec *pspec; 790s # _ExtendedGDBusPropertyInfo *info; 790s # GVariant *ret; 790s # ret = NULL; 790s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 790s # g_assert (info != NULL); 790s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 790s # if (pspec == NULL) 790s # { 790s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 790s # } 790s # else 790s # { 790s # g_value_init (&value, pspec->value_type); 790s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 790s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 790s # g_value_unset (&value); 790s # } 790s # return ret; 790s # } 790s # 790s # static gboolean 790s # _com_acme_coyote_skeleton_handle_set_property ( 790s # GDBusConnection *connection G_GNUC_UNUSED, 790s # const gchar *sender G_GNUC_UNUSED, 790s # const gchar *object_path G_GNUC_UNUSED, 790s # const gchar *interface_name G_GNUC_UNUSED, 790s # const gchar *property_name, 790s # GVariant *variant, 790s # GError **error, 790s # gpointer user_data) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 790s # GValue value = G_VALUE_INIT; 790s # GParamSpec *pspec; 790s # _ExtendedGDBusPropertyInfo *info; 790s # gboolean ret; 790s # ret = FALSE; 790s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 790s # g_assert (info != NULL); 790s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 790s # if (pspec == NULL) 790s # { 790s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 790s # } 790s # else 790s # { 790s # if (info->use_gvariant) 790s # g_value_set_variant (&value, variant); 790s # else 790s # g_dbus_gvariant_to_gvalue (variant, &value); 790s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 790s # g_value_unset (&value); 790s # ret = TRUE; 790s # } 790s # return ret; 790s # } 790s # 790s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 790s # { 790s # _com_acme_coyote_skeleton_handle_method_call, 790s # _com_acme_coyote_skeleton_handle_get_property, 790s # _com_acme_coyote_skeleton_handle_set_property, 790s # {NULL} 790s # }; 790s # 790s # static GDBusInterfaceInfo * 790s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 790s # { 790s # return com_acme_coyote_interface_info (); 790s # } 790s # 790s # static GDBusInterfaceVTable * 790s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 790s # { 790s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 790s # } 790s # 790s # static GVariant * 790s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 790s # 790s # GVariantBuilder builder; 790s # guint n; 790s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 790s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 790s # goto out; 790s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 790s # { 790s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 790s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 790s # { 790s # GVariant *value; 790s # 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); 790s # if (value != NULL) 790s # { 790s # g_variant_take_ref (value); 790s # g_variant_builder_add (&builder, "{sv}", info->name, value); 790s # g_variant_unref (value); 790s # } 790s # } 790s # } 790s # out: 790s # return g_variant_builder_end (&builder); 790s # } 790s # 790s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 790s # 790s # static void 790s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 790s # gboolean emit_changed = FALSE; 790s # 790s # g_mutex_lock (&skeleton->priv->lock); 790s # if (skeleton->priv->changed_properties_idle_source != NULL) 790s # { 790s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 790s # skeleton->priv->changed_properties_idle_source = NULL; 790s # emit_changed = TRUE; 790s # } 790s # g_mutex_unlock (&skeleton->priv->lock); 790s # 790s # if (emit_changed) 790s # _com_acme_coyote_emit_changed (skeleton); 790s # } 790s # 790s # static void 790s # _com_acme_coyote_on_signal_surprised ( 790s # ComAcmeCoyote *object) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 790s # 790s # GList *connections, *l; 790s # GVariant *signal_variant; 790s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 790s # 790s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 790s # for (l = connections; l != NULL; l = l->next) 790s # { 790s # GDBusConnection *connection = l->data; 790s # g_dbus_connection_emit_signal (connection, 790s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 790s # signal_variant, NULL); 790s # } 790s # g_variant_unref (signal_variant); 790s # g_list_free_full (connections, g_object_unref); 790s # } 790s # 790s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 790s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 790s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 790s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 790s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 790s # 790s # #else 790s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 790s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 790s # 790s # #endif 790s # static void 790s # com_acme_coyote_skeleton_finalize (GObject *object) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 790s # guint n; 790s # for (n = 0; n < 1; n++) 790s # g_value_unset (&skeleton->priv->properties[n]); 790s # g_free (skeleton->priv->properties); 790s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 790s # if (skeleton->priv->changed_properties_idle_source != NULL) 790s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 790s # g_main_context_unref (skeleton->priv->context); 790s # g_mutex_clear (&skeleton->priv->lock); 790s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 790s # } 790s # 790s # static void 790s # com_acme_coyote_skeleton_get_property (GObject *object, 790s # guint prop_id, 790s # GValue *value, 790s # GParamSpec *pspec G_GNUC_UNUSED) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 790s # g_assert (prop_id != 0 && prop_id - 1 < 1); 790s # g_mutex_lock (&skeleton->priv->lock); 790s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 790s # g_mutex_unlock (&skeleton->priv->lock); 790s # } 790s # 790s # static gboolean 790s # _com_acme_coyote_emit_changed (gpointer user_data) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 790s # GList *l; 790s # GVariantBuilder builder; 790s # GVariantBuilder invalidated_builder; 790s # guint num_changes; 790s # 790s # g_mutex_lock (&skeleton->priv->lock); 790s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 790s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 790s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 790s # { 790s # ChangedProperty *cp = l->data; 790s # GVariant *variant; 790s # const GValue *cur_value; 790s # 790s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 790s # if (!_g_value_equal (cur_value, &cp->orig_value)) 790s # { 790s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 790s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 790s # g_variant_unref (variant); 790s # num_changes++; 790s # } 790s # } 790s # if (num_changes > 0) 790s # { 790s # GList *connections, *ll; 790s # GVariant *signal_variant; 790s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 790s # &builder, &invalidated_builder)); 790s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 790s # for (ll = connections; ll != NULL; ll = ll->next) 790s # { 790s # GDBusConnection *connection = ll->data; 790s # 790s # g_dbus_connection_emit_signal (connection, 790s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 790s # "org.freedesktop.DBus.Properties", 790s # "PropertiesChanged", 790s # signal_variant, 790s # NULL); 790s # } 790s # g_variant_unref (signal_variant); 790s # g_list_free_full (connections, g_object_unref); 790s # } 790s # else 790s # { 790s # g_variant_builder_clear (&builder); 790s # g_variant_builder_clear (&invalidated_builder); 790s # } 790s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 790s # skeleton->priv->changed_properties = NULL; 790s # skeleton->priv->changed_properties_idle_source = NULL; 790s # g_mutex_unlock (&skeleton->priv->lock); 790s # return FALSE; 790s # } 790s # 790s # static void 790s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 790s # { 790s # ChangedProperty *cp; 790s # GList *l; 790s # cp = NULL; 790s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 790s # { 790s # ChangedProperty *i_cp = l->data; 790s # if (i_cp->info == info) 790s # { 790s # cp = i_cp; 790s # break; 790s # } 790s # } 790s # if (cp == NULL) 790s # { 790s # cp = g_new0 (ChangedProperty, 1); 790s # cp->prop_id = prop_id; 790s # cp->info = info; 790s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 790s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 790s # g_value_copy (orig_value, &cp->orig_value); 790s # } 790s # } 790s # 790s # static void 790s # com_acme_coyote_skeleton_notify (GObject *object, 790s # GParamSpec *pspec G_GNUC_UNUSED) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 790s # g_mutex_lock (&skeleton->priv->lock); 790s # if (skeleton->priv->changed_properties != NULL && 790s # skeleton->priv->changed_properties_idle_source == NULL) 790s # { 790s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 790s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 790s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 790s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 790s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 790s # g_source_unref (skeleton->priv->changed_properties_idle_source); 790s # } 790s # g_mutex_unlock (&skeleton->priv->lock); 790s # } 790s # 790s # static void 790s # com_acme_coyote_skeleton_set_property (GObject *object, 790s # guint prop_id, 790s # const GValue *value, 790s # GParamSpec *pspec) 790s # { 790s # const _ExtendedGDBusPropertyInfo *info; 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 790s # g_assert (prop_id != 0 && prop_id - 1 < 1); 790s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 790s # g_mutex_lock (&skeleton->priv->lock); 790s # g_object_freeze_notify (object); 790s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 790s # { 790s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 790s # info->emits_changed_signal) 790s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 790s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 790s # g_object_notify_by_pspec (object, pspec); 790s # } 790s # g_mutex_unlock (&skeleton->priv->lock); 790s # g_object_thaw_notify (object); 790s # } 790s # 790s # static void 790s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 790s # { 790s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 790s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 790s # #else 790s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 790s # #endif 790s # 790s # g_mutex_init (&skeleton->priv->lock); 790s # skeleton->priv->context = g_main_context_ref_thread_default (); 790s # skeleton->priv->properties = g_new0 (GValue, 1); 790s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 790s # } 790s # 790s # static const gchar * 790s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 790s # { 790s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 790s # const gchar *value; 790s # g_mutex_lock (&skeleton->priv->lock); 790s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 790s # g_mutex_unlock (&skeleton->priv->lock); 790s # return value; 790s # } 790s # 790s # static void 790s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 790s # { 790s # GObjectClass *gobject_class; 790s # GDBusInterfaceSkeletonClass *skeleton_class; 790s # 790s # gobject_class = G_OBJECT_CLASS (klass); 790s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 790s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 790s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 790s # gobject_class->notify = com_acme_coyote_skeleton_notify; 790s # 790s # 790s # com_acme_coyote_override_properties (gobject_class, 1); 790s # 790s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 790s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 790s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 790s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 790s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 790s # 790s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 790s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 790s # #endif 790s # } 790s # 790s # static void 790s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 790s # { 790s # iface->surprised = _com_acme_coyote_on_signal_surprised; 790s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 790s # } 790s # 790s # /** 790s # * com_acme_coyote_skeleton_new: 790s # * 790s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 790s # * 790s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 790s # */ 790s # ComAcmeCoyote * 790s # com_acme_coyote_skeleton_new (void) 790s # { 790s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 790s # } 790s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 790s # tmpdir: /tmp/tmph_d5ew73 790s # codegen: /usr/bin/gdbus-codegen 790s # /tmp/tmph_d5ew73/tmpsuue65xz.xml: 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph_d5ew73/tmpsuue65xz.xml', '--output', '-', '--header'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: /* 790s # * This file is generated by gdbus-codegen, do not modify it. 790s # * 790s # * The license of this code is the same as for the D-Bus interface description 790s # * it was derived from. Note that it links to GLib, so must comply with the 790s # * LGPL linking clauses. 790s # */ 790s # 790s # #ifndef __STDOUT__ 790s # #define __STDOUT__ 790s # 790s # #include 790s # 790s # G_BEGIN_DECLS 790s # 790s # 790s # /* ------------------------------------------------------------------------ */ 790s # /* Declarations for FDPassing */ 790s # 790s # #define TYPE_FDPASSING (fdpassing_get_type ()) 790s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 790s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 790s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 790s # 790s # struct _FDPassing; 790s # typedef struct _FDPassing FDPassing; 790s # typedef struct _FDPassingIface FDPassingIface; 790s # 790s # struct _FDPassingIface 790s # { 790s # GTypeInterface parent_iface; 790s # 790s # gboolean (*handle_hello_fd) ( 790s # FDPassing *object, 790s # GDBusMethodInvocation *invocation, 790s # GUnixFDList *fd_list, 790s # const gchar *arg_greeting); 790s # 790s # gboolean (*handle_no_annotation) ( 790s # FDPassing *object, 790s # GDBusMethodInvocation *invocation, 790s # GVariant *arg_greeting, 790s # const gchar *arg_greeting_locale); 790s # 790s # gboolean (*handle_no_annotation_nested) ( 790s # FDPassing *object, 790s # GDBusMethodInvocation *invocation, 790s # GVariant *arg_files); 790s # 790s # }; 790s # 790s # GType fdpassing_get_type (void) G_GNUC_CONST; 790s # 790s # GDBusInterfaceInfo *fdpassing_interface_info (void); 790s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 790s # 790s # 790s # /* D-Bus method call completion functions: */ 790s # void fdpassing_complete_hello_fd ( 790s # FDPassing *object, 790s # GDBusMethodInvocation *invocation, 790s # GUnixFDList *fd_list, 790s # const gchar *response); 790s # 790s # void fdpassing_complete_no_annotation ( 790s # FDPassing *object, 790s # GDBusMethodInvocation *invocation, 790s # GVariant *response, 790s # const gchar *response_locale); 790s # 790s # void fdpassing_complete_no_annotation_nested ( 790s # FDPassing *object, 790s # GDBusMethodInvocation *invocation); 790s # 790s # 790s # 790s # /* D-Bus method calls: */ 790s # void fdpassing_call_hello_fd ( 790s # FDPassing *proxy, 790s # const gchar *arg_greeting, 790s # GUnixFDList *fd_list, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # 790s # gboolean fdpassing_call_hello_fd_finish ( 790s # FDPassing *proxy, 790s # gchar **out_response, 790s # GUnixFDList **out_fd_list, 790s # GAsyncResult *res, 790s # GError **error); 790s # 790s # gboolean fdpassing_call_hello_fd_sync ( 790s # FDPassing *proxy, 790s # const gchar *arg_greeting, 790s # GUnixFDList *fd_list, 790s # gchar **out_response, 790s # GUnixFDList **out_fd_list, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # void fdpassing_call_no_annotation ( 790s # FDPassing *proxy, 790s # GVariant *arg_greeting, 790s # const gchar *arg_greeting_locale, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # 790s # gboolean fdpassing_call_no_annotation_finish ( 790s # FDPassing *proxy, 790s # GVariant **out_response, 790s # gchar **out_response_locale, 790s # GAsyncResult *res, 790s # GError **error); 790s # 790s # gboolean fdpassing_call_no_annotation_sync ( 790s # FDPassing *proxy, 790s # GVariant *arg_greeting, 790s # const gchar *arg_greeting_locale, 790s # GVariant **out_response, 790s # gchar **out_response_locale, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # void fdpassing_call_no_annotation_nested ( 790s # FDPassing *proxy, 790s # GVariant *arg_files, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # 790s # gboolean fdpassing_call_no_annotation_nested_finish ( 790s # FDPassing *proxy, 790s # GAsyncResult *res, 790s # GError **error); 790s # 790s # gboolean fdpassing_call_no_annotation_nested_sync ( 790s # FDPassing *proxy, 790s # GVariant *arg_files, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # 790s # 790s # /* ---- */ 790s # 790s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 790s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 790s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 790s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 790s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 790s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 790s # 790s # typedef struct _FDPassingProxy FDPassingProxy; 790s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 790s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 790s # 790s # struct _FDPassingProxy 790s # { 790s # /*< private >*/ 790s # GDBusProxy parent_instance; 790s # FDPassingProxyPrivate *priv; 790s # }; 790s # 790s # struct _FDPassingProxyClass 790s # { 790s # GDBusProxyClass parent_class; 790s # }; 790s # 790s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 790s # 790s # #if GLIB_CHECK_VERSION(2, 44, 0) 790s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 790s # #endif 790s # 790s # void fdpassing_proxy_new ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # FDPassing *fdpassing_proxy_new_finish ( 790s # GAsyncResult *res, 790s # GError **error); 790s # FDPassing *fdpassing_proxy_new_sync ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # void fdpassing_proxy_new_for_bus ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 790s # GAsyncResult *res, 790s # GError **error); 790s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # 790s # /* ---- */ 790s # 790s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 790s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 790s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 790s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 790s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 790s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 790s # 790s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 790s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 790s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 790s # 790s # struct _FDPassingSkeleton 790s # { 790s # /*< private >*/ 790s # GDBusInterfaceSkeleton parent_instance; 790s # FDPassingSkeletonPrivate *priv; 790s # }; 790s # 790s # struct _FDPassingSkeletonClass 790s # { 790s # GDBusInterfaceSkeletonClass parent_class; 790s # }; 790s # 790s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 790s # 790s # #if GLIB_CHECK_VERSION(2, 44, 0) 790s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 790s # #endif 790s # 790s # FDPassing *fdpassing_skeleton_new (void); 790s # 790s # 790s # G_END_DECLS 790s # 790s # #endif /* __STDOUT__ */ 790s # /tmp/tmph_d5ew73/tmp1y4o1si6.xml: 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph_d5ew73/tmp1y4o1si6.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: /* 790s # * This file is generated by gdbus-codegen, do not modify it. 790s # * 790s # * The license of this code is the same as for the D-Bus interface description 790s # * it was derived from. Note that it links to GLib, so must comply with the 790s # * LGPL linking clauses. 790s # */ 790s # 790s # #ifndef __STDOUT__ 790s # #define __STDOUT__ 790s # 790s # #include 790s # 790s # G_BEGIN_DECLS 790s # 790s # 790s # /* ------------------------------------------------------------------------ */ 790s # /* Declarations for FDPassing */ 790s # 790s # #define TYPE_FDPASSING (fdpassing_get_type ()) 790s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 790s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 790s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 790s # 790s # struct _FDPassing; 790s # typedef struct _FDPassing FDPassing; 790s # typedef struct _FDPassingIface FDPassingIface; 790s # 790s # struct _FDPassingIface 790s # { 790s # GTypeInterface parent_iface; 790s # 790s # gboolean (*handle_hello_fd) ( 790s # FDPassing *object, 790s # GDBusMethodInvocation *invocation, 790s # GUnixFDList *fd_list, 790s # const gchar *arg_greeting); 790s # 790s # gboolean (*handle_no_annotation) ( 790s # FDPassing *object, 790s # GDBusMethodInvocation *invocation, 790s # GVariant *arg_greeting, 790s # const gchar *arg_greeting_locale); 790s # 790s # gboolean (*handle_no_annotation_nested) ( 790s # FDPassing *object, 790s # GDBusMethodInvocation *invocation, 790s # GVariant *arg_files); 790s # 790s # }; 790s # 790s # GType fdpassing_get_type (void) G_GNUC_CONST; 790s # 790s # GDBusInterfaceInfo *fdpassing_interface_info (void); 790s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 790s # 790s # 790s # /* D-Bus method call completion functions: */ 790s # void fdpassing_complete_hello_fd ( 790s # FDPassing *object, 790s # GDBusMethodInvocation *invocation, 790s # GUnixFDList *fd_list, 790s # const gchar *response); 790s # 790s # void fdpassing_complete_no_annotation ( 790s # FDPassing *object, 790s # GDBusMethodInvocation *invocation, 790s # GVariant *response, 790s # const gchar *response_locale); 790s # 790s # void fdpassing_complete_no_annotation_nested ( 790s # FDPassing *object, 790s # GDBusMethodInvocation *invocation); 790s # 790s # 790s # 790s # /* D-Bus method calls: */ 790s # void fdpassing_call_hello_fd ( 790s # FDPassing *proxy, 790s # const gchar *arg_greeting, 790s # GUnixFDList *fd_list, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # 790s # gboolean fdpassing_call_hello_fd_finish ( 790s # FDPassing *proxy, 790s # gchar **out_response, 790s # GUnixFDList **out_fd_list, 790s # GAsyncResult *res, 790s # GError **error); 790s # 790s # gboolean fdpassing_call_hello_fd_sync ( 790s # FDPassing *proxy, 790s # const gchar *arg_greeting, 790s # GUnixFDList *fd_list, 790s # gchar **out_response, 790s # GUnixFDList **out_fd_list, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # void fdpassing_call_no_annotation ( 790s # FDPassing *proxy, 790s # GVariant *arg_greeting, 790s # const gchar *arg_greeting_locale, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # 790s # gboolean fdpassing_call_no_annotation_finish ( 790s # FDPassing *proxy, 790s # GVariant **out_response, 790s # gchar **out_response_locale, 790s # GAsyncResult *res, 790s # GError **error); 790s # 790s # gboolean fdpassing_call_no_annotation_sync ( 790s # FDPassing *proxy, 790s # GVariant *arg_greeting, 790s # const gchar *arg_greeting_locale, 790s # GVariant **out_response, 790s # gchar **out_response_locale, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # void fdpassing_call_no_annotation_nested ( 790s # FDPassing *proxy, 790s # GVariant *arg_files, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # 790s # gboolean fdpassing_call_no_annotation_nested_finish ( 790s # FDPassing *proxy, 790s # GAsyncResult *res, 790s # GError **error); 790s # 790s # gboolean fdpassing_call_no_annotation_nested_sync ( 790s # FDPassing *proxy, 790s # GVariant *arg_files, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # 790s # 790s # /* ---- */ 790s # 790s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 790s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 790s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 790s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 790s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 790s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 790s # 790s # typedef struct _FDPassingProxy FDPassingProxy; 790s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 790s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 790s # 790s # struct _FDPassingProxy 790s # { 790s # /*< private >*/ 790s # GDBusProxy parent_instance; 790s # FDPassingProxyPrivate *priv; 790s # }; 790s # 790s # struct _FDPassingProxyClass 790s # { 790s # GDBusProxyClass parent_class; 790s # }; 790s # 790s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 790s # 790s # #if GLIB_CHECK_VERSION(2, 44, 0) 790s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 790s # #endif 790s # 790s # void fdpassing_proxy_new ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # FDPassing *fdpassing_proxy_new_finish ( 790s # GAsyncResult *res, 790s # GError **error); 790s # FDPassing *fdpassing_proxy_new_sync ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # void fdpassing_proxy_new_for_bus ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 790s # GAsyncResult *res, 790s # GError **error); 790s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # 790s # /* ---- */ 790s # 790s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 790s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 790s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 790s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 790s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 790s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 790s # 790s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 790s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 790s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 790s # 790s # struct _FDPassingSkeleton 790s # { 790s # /*< private >*/ 790s # GDBusInterfaceSkeleton parent_instance; 790s # FDPassingSkeletonPrivate *priv; 790s # }; 790s # 790s # struct _FDPassingSkeletonClass 790s # { 790s # GDBusInterfaceSkeletonClass parent_class; 790s # }; 790s # 790s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 790s # 790s # #if GLIB_CHECK_VERSION(2, 44, 0) 790s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 790s # #endif 790s # 790s # FDPassing *fdpassing_skeleton_new (void); 790s # 790s # 790s # G_END_DECLS 790s # 790s # #endif /* __STDOUT__ */ 790s # /tmp/tmph_d5ew73/tmp_tfrp50v.xml: 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # 790s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph_d5ew73/tmp_tfrp50v.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 790s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 790s # Output: /* 790s # * This file is generated by gdbus-codegen, do not modify it. 790s # * 790s # * The license of this code is the same as for the D-Bus interface description 790s # * it was derived from. Note that it links to GLib, so must comply with the 790s # * LGPL linking clauses. 790s # */ 790s # 790s # #ifndef __STDOUT__ 790s # #define __STDOUT__ 790s # 790s # #include 790s # 790s # G_BEGIN_DECLS 790s # 790s # 790s # /* ------------------------------------------------------------------------ */ 790s # /* Declarations for FDPassing */ 790s # 790s # #define TYPE_FDPASSING (fdpassing_get_type ()) 790s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 790s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 790s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 790s # 790s # struct _FDPassing; 790s # typedef struct _FDPassing FDPassing; 790s # typedef struct _FDPassingIface FDPassingIface; 790s # 790s # struct _FDPassingIface 790s # { 790s # GTypeInterface parent_iface; 790s # 790s # gboolean (*handle_hello_fd) ( 790s # FDPassing *object, 790s # GDBusMethodInvocation *invocation, 790s # GUnixFDList *fd_list, 790s # const gchar *arg_greeting); 790s # 790s # gboolean (*handle_no_annotation) ( 790s # FDPassing *object, 790s # GDBusMethodInvocation *invocation, 790s # GUnixFDList *fd_list, 790s # GVariant *arg_greeting, 790s # const gchar *arg_greeting_locale); 790s # 790s # gboolean (*handle_no_annotation_nested) ( 790s # FDPassing *object, 790s # GDBusMethodInvocation *invocation, 790s # GUnixFDList *fd_list, 790s # GVariant *arg_files); 790s # 790s # }; 790s # 790s # GType fdpassing_get_type (void) G_GNUC_CONST; 790s # 790s # GDBusInterfaceInfo *fdpassing_interface_info (void); 790s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 790s # 790s # 790s # /* D-Bus method call completion functions: */ 790s # void fdpassing_complete_hello_fd ( 790s # FDPassing *object, 790s # GDBusMethodInvocation *invocation, 790s # GUnixFDList *fd_list, 790s # const gchar *response); 790s # 790s # void fdpassing_complete_no_annotation ( 790s # FDPassing *object, 790s # GDBusMethodInvocation *invocation, 790s # GUnixFDList *fd_list, 790s # GVariant *response, 790s # const gchar *response_locale); 790s # 790s # void fdpassing_complete_no_annotation_nested ( 790s # FDPassing *object, 790s # GDBusMethodInvocation *invocation, 790s # GUnixFDList *fd_list); 790s # 790s # 790s # 790s # /* D-Bus method calls: */ 790s # void fdpassing_call_hello_fd ( 790s # FDPassing *proxy, 790s # const gchar *arg_greeting, 790s # GDBusCallFlags call_flags, 790s # gint timeout_msec, 790s # GUnixFDList *fd_list, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # 790s # gboolean fdpassing_call_hello_fd_finish ( 790s # FDPassing *proxy, 790s # gchar **out_response, 790s # GUnixFDList **out_fd_list, 790s # GAsyncResult *res, 790s # GError **error); 790s # 790s # gboolean fdpassing_call_hello_fd_sync ( 790s # FDPassing *proxy, 790s # const gchar *arg_greeting, 790s # GDBusCallFlags call_flags, 790s # gint timeout_msec, 790s # GUnixFDList *fd_list, 790s # gchar **out_response, 790s # GUnixFDList **out_fd_list, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # void fdpassing_call_no_annotation ( 790s # FDPassing *proxy, 790s # GVariant *arg_greeting, 790s # const gchar *arg_greeting_locale, 790s # GDBusCallFlags call_flags, 790s # gint timeout_msec, 790s # GUnixFDList *fd_list, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # 790s # gboolean fdpassing_call_no_annotation_finish ( 790s # FDPassing *proxy, 790s # GVariant **out_response, 790s # gchar **out_response_locale, 790s # GUnixFDList **out_fd_list, 790s # GAsyncResult *res, 790s # GError **error); 790s # 790s # gboolean fdpassing_call_no_annotation_sync ( 790s # FDPassing *proxy, 790s # GVariant *arg_greeting, 790s # const gchar *arg_greeting_locale, 790s # GDBusCallFlags call_flags, 790s # gint timeout_msec, 790s # GUnixFDList *fd_list, 790s # GVariant **out_response, 790s # gchar **out_response_locale, 790s # GUnixFDList **out_fd_list, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # void fdpassing_call_no_annotation_nested ( 790s # FDPassing *proxy, 790s # GVariant *arg_files, 790s # GDBusCallFlags call_flags, 790s # gint timeout_msec, 790s # GUnixFDList *fd_list, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # 790s # gboolean fdpassing_call_no_annotation_nested_finish ( 790s # FDPassing *proxy, 790s # GUnixFDList **out_fd_list, 790s # GAsyncResult *res, 790s # GError **error); 790s # 790s # gboolean fdpassing_call_no_annotation_nested_sync ( 790s # FDPassing *proxy, 790s # GVariant *arg_files, 790s # GDBusCallFlags call_flags, 790s # gint timeout_msec, 790s # GUnixFDList *fd_list, 790s # GUnixFDList **out_fd_list, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # 790s # 790s # /* ---- */ 790s # 790s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 790s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 790s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 790s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 790s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 790s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 790s # 790s # typedef struct _FDPassingProxy FDPassingProxy; 790s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 790s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 790s # 790s # struct _FDPassingProxy 790s # { 790s # /*< private >*/ 790s # GDBusProxy parent_instance; 790s # FDPassingProxyPrivate *priv; 790s # }; 790s # 790s # struct _FDPassingProxyClass 790s # { 790s # GDBusProxyClass parent_class; 790s # }; 790s # 790s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 790s # 790s # #if GLIB_CHECK_VERSION(2, 44, 0) 790s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 790s # #endif 790s # 790s # void fdpassing_proxy_new ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # FDPassing *fdpassing_proxy_new_finish ( 790s # GAsyncResult *res, 790s # GError **error); 790s # FDPassing *fdpassing_proxy_new_sync ( 790s # GDBusConnection *connection, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # void fdpassing_proxy_new_for_bus ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GAsyncReadyCallback callback, 790s # gpointer user_data); 790s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 790s # GAsyncResult *res, 790s # GError **error); 790s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 790s # GBusType bus_type, 790s # GDBusProxyFlags flags, 790s # const gchar *name, 790s # const gchar *object_path, 790s # GCancellable *cancellable, 790s # GError **error); 790s # 790s # 790s # /* ---- */ 790s # 790s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 790s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 790s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 790s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 790s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 790s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 790s # 790s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 790s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 790s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 790s # 790s # struct _FDPassingSkeleton 790s # { 790s # /*< private >*/ 790s # GDBusInterfaceSkeleton parent_instance; 790s # FDPassingSkeletonPrivate *priv; 790s # }; 790s # 790s # struct _FDPassingSkeletonClass 790s # { 790s # GDBusInterfaceSkeletonClass parent_class; 790s # }; 790s # 790s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 790s # 790s # #if GLIB_CHECK_VERSION(2, 44, 0) 790s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 790s # #endif 790s # 790s # FDPassing *fdpassing_skeleton_new (void); 790s # 790s # 790s # G_END_DECLS 790s # 790s # #endif /* __STDOUT__ */ 790s 1..39 790s ok - glib/codegen.py.test 790s # Running test: glib/mount-operation.test 790s TAP version 13 790s # random seed: R02Sf84ee470046d93e97f4e4cd792b27de1 790s 1..2 790s # Start of mount-operation tests 790s ok 1 /mount-operation/construction 790s ok 2 /mount-operation/properties 790s # End of mount-operation tests 790s ok - glib/mount-operation.test 790s # Running test: glib/flags.test 790s TAP version 13 790s # random seed: R02S611eb5a6667ecb7f7e2792aed23626f8 790s 1..1 790s # Start of gobject tests 790s # Start of flags tests 790s ok 1 /gobject/flags/validate 790s # End of flags tests 790s # End of gobject tests 790s ok - glib/flags.test 790s # Running test: glib/unicode-normalize.test 790s TAP version 13 790s # random seed: R02S5f0b240abae7212cf073de90689dee79 790s 1..3 790s # Start of unicode tests 790s # Processing Part0 # Specific cases 790s # Processing Part1 # Character by character test 791s # Processing Part2 # Canonical Order Test 791s # Processing Part3 # PRI #29 Test 791s ok 1 /unicode/normalize 791s # Invalid UTF-8 vector 0 791s # Invalid UTF-8 vector 1 791s # Invalid UTF-8 vector 2 791s # Invalid UTF-8 vector 3 791s # Invalid UTF-8 vector 4 791s # Invalid UTF-8 vector 5 791s # Invalid UTF-8 vector 6 791s # Invalid UTF-8 vector 7 791s # Invalid UTF-8 vector 8 791s # Invalid UTF-8 vector 9 791s # Invalid UTF-8 vector 10 791s # Invalid UTF-8 vector 11 791s # Invalid UTF-8 vector 12 791s ok 2 /unicode/normalize-invalid 791s # Start of normalize tests 791s ok 3 /unicode/normalize/bad-length 791s # End of normalize tests 791s # End of unicode tests 791s ok - glib/unicode-normalize.test 791s # Running test: glib/unicode-encoding.test 791s TAP version 13 791s # random seed: R02S777f3ffe5fa7511989b5180b8ca138b5 791s 1..1 791s # Start of unicode tests 791s ok 1 /unicode/encoding 791s # End of unicode tests 791s ok - glib/unicode-encoding.test 791s # Running test: glib/permission.test 791s TAP version 13 791s # random seed: R02S89ab4046bde454fe31d9ee09ff205cef 791s 1..1 791s # Start of permission tests 791s ok 1 /permission/simple 791s # End of permission tests 791s ok - glib/permission.test 791s # Running test: glib/buffered-output-stream.test 791s TAP version 13 791s # random seed: R02S409553fd75a04cdcfd2f500520522fa6 791s 1..5 791s # Start of buffered-output-stream tests 791s ok 1 /buffered-output-stream/write 791s ok 2 /buffered-output-stream/grow 791s ok 3 /buffered-output-stream/seek 791s ok 4 /buffered-output-stream/truncate 791s # End of buffered-output-stream tests 791s # Start of filter-output-stream tests 791s ok 5 /filter-output-stream/close 791s # End of filter-output-stream tests 791s ok - glib/buffered-output-stream.test 791s # Running test: glib/network-address.test 791s TAP version 13 791s # random seed: R02S405b9d90f39e6093bd80201229fe9a1b 791s 1..72 791s # Start of network-address tests 791s ok 1 /network-address/basic 791s ok 2 /network-address/scope-id 791s ok 3 /network-address/uri-scope-id 791s ok 4 /network-address/to-string 791s # Start of parse-host tests 791s ok 5 /network-address/parse-host/0 791s ok 6 /network-address/parse-host/1 791s ok 7 /network-address/parse-host/2 791s ok 8 /network-address/parse-host/3 791s ok 9 /network-address/parse-host/4 791s ok 10 /network-address/parse-host/5 791s ok 11 /network-address/parse-host/6 791s ok 12 /network-address/parse-host/7 791s ok 13 /network-address/parse-host/8 791s ok 14 /network-address/parse-host/9 791s ok 15 /network-address/parse-host/10 791s ok 16 /network-address/parse-host/11 791s ok 17 /network-address/parse-host/12 791s ok 18 /network-address/parse-host/13 791s # End of parse-host tests 791s # Start of parse-uri tests 791s ok 19 /network-address/parse-uri/0 791s ok 20 /network-address/parse-uri/1 791s ok 21 /network-address/parse-uri/2 791s ok 22 /network-address/parse-uri/3 791s ok 23 /network-address/parse-uri/4 791s ok 24 /network-address/parse-uri/5 791s ok 25 /network-address/parse-uri/6 791s ok 26 /network-address/parse-uri/7 791s ok 27 /network-address/parse-uri/8 791s ok 28 /network-address/parse-uri/9 791s # End of parse-uri tests 791s # Start of resolve-address tests 791s # Input: 192.168.1.2 791s ok 29 /network-address/resolve-address/0 791s # Input: fe80::42 791s ok 30 /network-address/resolve-address/1 791s # Input: 192.168.1.2:80 791s ok 31 /network-address/resolve-address/2 791s # Input: [fe80::42] 791s ok 32 /network-address/resolve-address/3 791s # Input: [fe80::42]:80 791s ok 33 /network-address/resolve-address/4 791s # Input: 192.168.258 791s ok 34 /network-address/resolve-address/5 791s # Input: 192.11010306 791s ok 35 /network-address/resolve-address/6 791s # Input: 3232235778 791s ok 36 /network-address/resolve-address/7 791s # Input: 0300.0250.0001.0001 791s ok 37 /network-address/resolve-address/8 791s # Input: 0xC0.0xA8.0x01.0x02 791s ok 38 /network-address/resolve-address/9 791s # Input: 0xc0.0xa8.0x01.0x02 791s ok 39 /network-address/resolve-address/10 791s # Input: 0xc0a80102 791s ok 40 /network-address/resolve-address/11 791s # End of resolve-address tests 791s # Start of loopback tests 791s ok 41 /network-address/loopback/basic 791s ok 42 /network-address/loopback/sync 791s ok 43 /network-address/loopback/async 791s # End of loopback tests 791s # Start of localhost tests 791s ok 44 /network-address/localhost/async 791s ok 45 /network-address/localhost/sync 791s # End of localhost tests 791s # Start of happy-eyeballs tests 791s ok 46 /network-address/happy-eyeballs/basic 791s ok 47 /network-address/happy-eyeballs/parallel 791s ok 48 /network-address/happy-eyeballs/slow-ipv4 791s ok 49 /network-address/happy-eyeballs/slow-ipv6 791s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 792s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 792s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 792s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 792s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 792s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 792s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 792s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 792s # /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. 792s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 792s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 792s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 792s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 792s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 792s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 792s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 792s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 792s ok 57 /network-address/happy-eyeballs/both-error 792s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 792s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 792s ok 58 /network-address/happy-eyeballs/both-error-delays-1 792s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 792s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 792s ok 59 /network-address/happy-eyeballs/both-error-delays-2 792s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 792s ok 60 /network-address/happy-eyeballs/both-error-delays-3 792s # End of happy-eyeballs tests 792s # End of network-address tests 792s # Start of gresolver tests 792s # Start of resolve-address tests 792s # Input: 192.168.1.2 792s ok 61 /gresolver/resolve-address/0 792s # Input: fe80::42 792s ok 62 /gresolver/resolve-address/1 792s # Input: 192.168.1.2:80 792s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 792s ok 63 /gresolver/resolve-address/2 792s # Input: [fe80::42] 792s # Error: Error resolving ?[fe80::42]?: Name or service not known 792s ok 64 /gresolver/resolve-address/3 792s # Input: [fe80::42]:80 792s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 792s ok 65 /gresolver/resolve-address/4 792s # Input: 192.168.258 792s # Error: Error resolving ?192.168.258?: Name or service not known 792s ok 66 /gresolver/resolve-address/5 792s # Input: 192.11010306 792s # Error: Error resolving ?192.11010306?: Name or service not known 792s ok 67 /gresolver/resolve-address/6 792s # Input: 3232235778 792s # Error: Error resolving ?3232235778?: Name or service not known 792s ok 68 /gresolver/resolve-address/7 792s # Input: 0300.0250.0001.0001 792s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 792s ok 69 /gresolver/resolve-address/8 792s # Input: 0xC0.0xA8.0x01.0x02 792s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 792s ok 70 /gresolver/resolve-address/9 792s # Input: 0xc0.0xa8.0x01.0x02 792s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 792s ok 71 /gresolver/resolve-address/10 792s # Input: 0xc0a80102 792s # Error: Error resolving ?0xc0a80102?: Name or service not known 792s ok 72 /gresolver/resolve-address/11 792s # End of resolve-address tests 792s # End of gresolver tests 792s ok - glib/network-address.test 792s # Running test: glib/timeout.test 792s TAP version 13 792s # random seed: R02Sc1e1e61179a529dc8d6771a224bc6648 792s 1..5 792s # Start of timeout tests 792s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 793s # Executing: glib/timeout.test 794s ok 1 /timeout/seconds 794s # slow test /timeout/seconds executed in 2.10 secs 797s ok 2 /timeout/seconds-once 797s # slow test /timeout/seconds-once executed in 2.10 secs 797s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 798s # Executing: glib/timeout.test 799s ok 3 /timeout/weeks-overflow 799s # slow test /timeout/weeks-overflow executed in 2.10 secs 799s ok 4 /timeout/far-future-ready-time 803s # Executing: glib/timeout.test 808s # Executing: glib/timeout.test 809s ok 5 /timeout/rounding 809s # slow test /timeout/rounding executed in 10.54 secs 809s # End of timeout tests 809s ok - glib/timeout.test 809s # Running test: glib/tls-database.test 809s TAP version 13 809s # random seed: R02Saf6b4ffd859d4112fbbbbe9a6034ba9e 809s 1..1 809s # Start of tls-backend tests 809s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 809s ok 1 /tls-backend/set-default-database 809s # End of tls-backend tests 809s ok - glib/tls-database.test 809s # Running test: glib/markup-parse.test 809s TAP version 13 809s # random seed: R02S17f69c77a79b1e1850d042ac03463987 809s 1..71 809s # Start of markup tests 809s # Start of parse tests 809s ok 1 /markup/parse/fail-24.gmarkup 809s ok 2 /markup/parse/fail-19.gmarkup 809s ok 3 /markup/parse/fail-52.gmarkup 809s ok 4 /markup/parse/valid-7.gmarkup 809s ok 5 /markup/parse/fail-42.gmarkup 809s ok 6 /markup/parse/fail-1.gmarkup 809s ok 7 /markup/parse/valid-11.gmarkup 809s ok 8 /markup/parse/fail-37.gmarkup 809s ok 9 /markup/parse/fail-27.gmarkup 809s ok 10 /markup/parse/valid-13.gmarkup 809s ok 11 /markup/parse/fail-39.gmarkup 809s ok 12 /markup/parse/fail-48.gmarkup 809s ok 13 /markup/parse/valid-10.gmarkup 809s ok 14 /markup/parse/fail-32.gmarkup 809s ok 15 /markup/parse/valid-2.gmarkup 809s ok 16 /markup/parse/fail-17.gmarkup 809s ok 17 /markup/parse/valid-12.gmarkup 809s ok 18 /markup/parse/fail-3.gmarkup 809s ok 19 /markup/parse/valid-9.gmarkup 809s ok 20 /markup/parse/fail-36.gmarkup 809s ok 21 /markup/parse/valid-1.gmarkup 809s ok 22 /markup/parse/fail-49.gmarkup 809s ok 23 /markup/parse/fail-13.gmarkup 809s ok 24 /markup/parse/fail-34.gmarkup 809s ok 25 /markup/parse/fail-25.gmarkup 809s ok 26 /markup/parse/fail-38.gmarkup 809s ok 27 /markup/parse/fail-14.gmarkup 809s ok 28 /markup/parse/fail-41.gmarkup 809s ok 29 /markup/parse/valid-4.gmarkup 809s ok 30 /markup/parse/fail-50.gmarkup 809s ok 31 /markup/parse/fail-53.gmarkup 809s ok 32 /markup/parse/valid-16.gmarkup 809s ok 33 /markup/parse/fail-7.gmarkup 809s ok 34 /markup/parse/fail-31.gmarkup 809s ok 35 /markup/parse/valid-17.gmarkup 809s ok 36 /markup/parse/fail-8.gmarkup 809s ok 37 /markup/parse/valid-5.gmarkup 809s ok 38 /markup/parse/fail-28.gmarkup 809s ok 39 /markup/parse/fail-54.gmarkup 809s ok 40 /markup/parse/valid-14.gmarkup 809s ok 41 /markup/parse/fail-6.gmarkup 809s ok 42 /markup/parse/valid-8.gmarkup 809s ok 43 /markup/parse/fail-51.gmarkup 809s ok 44 /markup/parse/fail-12.gmarkup 809s ok 45 /markup/parse/fail-18.gmarkup 809s ok 46 /markup/parse/fail-46.gmarkup 809s ok 47 /markup/parse/fail-47.gmarkup 809s ok 48 /markup/parse/valid-15.gmarkup 809s ok 49 /markup/parse/fail-29.gmarkup 809s ok 50 /markup/parse/fail-45.gmarkup 809s ok 51 /markup/parse/fail-35.gmarkup 809s ok 52 /markup/parse/fail-16.gmarkup 809s ok 53 /markup/parse/fail-40.gmarkup 809s ok 54 /markup/parse/fail-20.gmarkup 809s ok 55 /markup/parse/fail-15.gmarkup 809s ok 56 /markup/parse/fail-43.gmarkup 809s ok 57 /markup/parse/fail-33.gmarkup 809s ok 58 /markup/parse/fail-2.gmarkup 809s ok 59 /markup/parse/fail-11.gmarkup 809s ok 60 /markup/parse/fail-22.gmarkup 809s ok 61 /markup/parse/fail-9.gmarkup 809s ok 62 /markup/parse/fail-5.gmarkup 809s ok 63 /markup/parse/fail-23.gmarkup 809s ok 64 /markup/parse/valid-3.gmarkup 809s ok 65 /markup/parse/valid-6.gmarkup 809s ok 66 /markup/parse/fail-10.gmarkup 809s ok 67 /markup/parse/fail-44.gmarkup 809s ok 68 /markup/parse/fail-30.gmarkup 809s ok 69 /markup/parse/fail-26.gmarkup 809s ok 70 /markup/parse/fail-4.gmarkup 809s ok 71 /markup/parse/fail-21.gmarkup 809s # End of parse tests 809s # End of markup tests 809s ok - glib/markup-parse.test 809s # Running test: glib/cxx-11.test 809s TAP version 13 809s # random seed: R02S24a170e45dc80a52d879250df12c2877 809s 1..2 809s # Start of gtask tests 809s # 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. 809s ok 1 /gtask/name 809s # Start of name tests 809s # 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. 809s ok 2 /gtask/name/macro-wrapper 809s # End of name tests 809s # End of gtask tests 809s ok - glib/cxx-11.test 809s # Running test: glib/signals-refcount2.test 809s TAP version 13 809s # random seed: R02S821c4a373ea584779e0547a93c7467e6 809s 1..1 809s # Start of gobject tests 809s # Start of refcount tests 809s # init 0x2aa0b93d420 809s # 809s # init 0x2aa0b93d5c0 809s # 813s # Executing: glib/signals-refcount2.test 814s # dispose 0x2aa0b93d420! 814s # 814s # dispose 0x2aa0b93d5c0! 814s # 814s ok 1 /gobject/refcount/signals 814s # slow test /gobject/refcount/signals executed in 5.00 secs 814s # End of refcount tests 814s # End of gobject tests 814s ok - glib/signals-refcount2.test 814s # Running test: glib/deprecated-properties.test 814s TAP version 13 814s # random seed: R02Sb7a7d9e1c57852ab652a545e6f069923 814s 1..3 814s # Start of deprecated-properties tests 814s ok 1 /deprecated-properties/construct 814s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 814s ok 2 /deprecated-properties/default-construct 814s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 814s ok 3 /deprecated-properties/set 814s # End of deprecated-properties tests 814s ok - glib/deprecated-properties.test 814s # Running test: glib/gthash.test 814s TAP version 13 814s # random seed: R02Sa2ff2e81701743d6d7201c516b58c743 814s 1..1 814s # Start of gthash tests 814s ok 1 /gthash/build-retrieve 814s # End of gthash tests 814s ok - glib/gthash.test 814s # Running test: glib/signals-refcount3.test 814s TAP version 13 814s # random seed: R02S76f39b62b0990960b1aea2994c901956 814s 1..1 814s # Start of gobject tests 814s # Start of refcount tests 814s # init 0x2aa3b92e420 814s # 814s # init 0x2aa3b92e5c0 814s # 818s # Executing: glib/signals-refcount3.test 819s # dispose 0x2aa3b92e420! 819s # 819s # dispose 0x2aa3b92e5c0! 819s # 819s ok 1 /gobject/refcount/signals 819s # slow test /gobject/refcount/signals executed in 5.00 secs 819s # End of refcount tests 819s # End of gobject tests 819s ok - glib/signals-refcount3.test 819s # Running test: glib/mkenums.py.test 819s TAP version 13 819s ok 1 __main__.TestMkenums.test_available_in 819s # tmpdir: /tmp/tmpv9apjgzx 819s # rspfile: False, mkenums: /usr/bin/glib-mkenums 819s # /tmp/tmpv9apjgzx/tmp361yw8f2.h: 819s # typedef enum { 819s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 819s # } GDBusServerFlags; 819s # 819s # /tmp/tmpv9apjgzx/tmp2pvf913x.template: 819s # /*** BEGIN file-header ***/ 819s # file-header 819s # /*** END file-header ***/ 819s # 819s # /*** BEGIN file-production ***/ 819s # file-production 819s # filename: @filename@ 819s # basename: @basename@ 819s # /*** END file-production ***/ 819s # 819s # /*** BEGIN enumeration-production ***/ 819s # enumeration-production 819s # EnumName: @EnumName@ 819s # enum_name: @enum_name@ 819s # ENUMNAME: @ENUMNAME@ 819s # ENUMSHORT: @ENUMSHORT@ 819s # ENUMPREFIX: @ENUMPREFIX@ 819s # enumsince: @enumsince@ 819s # type: @type@ 819s # Type: @Type@ 819s # TYPE: @TYPE@ 819s # /*** END enumeration-production ***/ 819s # 819s # /*** BEGIN value-header ***/ 819s # value-header 819s # EnumName: @EnumName@ 819s # enum_name: @enum_name@ 819s # ENUMNAME: @ENUMNAME@ 819s # ENUMSHORT: @ENUMSHORT@ 819s # ENUMPREFIX: @ENUMPREFIX@ 819s # enumsince: @enumsince@ 819s # type: @type@ 819s # Type: @Type@ 819s # TYPE: @TYPE@ 819s # /*** END value-header ***/ 819s # 819s # /*** BEGIN value-production ***/ 819s # value-production 819s # VALUENAME: @VALUENAME@ 819s # valuenick: @valuenick@ 819s # valuenum: @valuenum@ 819s # type: @type@ 819s # Type: @Type@ 819s # TYPE: @TYPE@ 819s # /*** END value-production ***/ 819s # 819s # /*** BEGIN value-tail ***/ 819s # value-tail 819s # EnumName: @EnumName@ 819s # enum_name: @enum_name@ 819s # ENUMNAME: @ENUMNAME@ 819s # ENUMSHORT: @ENUMSHORT@ 819s # ENUMPREFIX: @ENUMPREFIX@ 819s # enumsince: @enumsince@ 819s # type: @type@ 819s # Type: @Type@ 819s # TYPE: @TYPE@ 819s # /*** END value-tail ***/ 819s # 819s # /*** BEGIN comment ***/ 819s # comment 819s # comment: @comment@ 819s # /*** END comment ***/ 819s # 819s # /*** BEGIN file-tail ***/ 819s # file-tail 819s # /*** END file-tail ***/ 819s # 819s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpv9apjgzx/tmp2pvf913x.template', '/tmp/tmpv9apjgzx/tmp361yw8f2.h'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: comment 819s # 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. 819s # 819s # 819s # file-header 819s # file-production 819s # filename: /tmp/tmpv9apjgzx/tmp361yw8f2.h 819s # basename: tmp361yw8f2.h 819s # enumeration-production 819s # EnumName: GDBusServerFlags 819s # enum_name: g_dbus_server_flags 819s # ENUMNAME: G_DBUS_SERVER_FLAGS 819s # ENUMSHORT: DBUS_SERVER_FLAGS 819s # ENUMPREFIX: G 819s # enumsince: 819s # type: flags 819s # Type: Flags 819s # TYPE: FLAGS 819s # value-header 819s # EnumName: GDBusServerFlags 819s # enum_name: g_dbus_server_flags 819s # ENUMNAME: G_DBUS_SERVER_FLAGS 819s # ENUMSHORT: DBUS_SERVER_FLAGS 819s # ENUMPREFIX: G 819s # enumsince: 819s # type: flags 819s # Type: Flags 819s # TYPE: FLAGS 819s # value-production 819s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 819s # valuenick: user 819s # valuenum: 4 819s # type: flags 819s # Type: Flags 819s # TYPE: FLAGS 819s # value-tail 819s # EnumName: GDBusServerFlags 819s # enum_name: g_dbus_server_flags 819s # ENUMNAME: G_DBUS_SERVER_FLAGS 819s # ENUMSHORT: DBUS_SERVER_FLAGS 819s # ENUMPREFIX: G 819s # enumsince: 819s # type: flags 819s # Type: Flags 819s # TYPE: FLAGS 819s # file-tail 819s # 819s # comment 819s # comment: Generated data ends here 819s ok 2 __main__.TestMkenums.test_comma_in_enum_value 819s # tmpdir: /tmp/tmpypp88t9v 819s # rspfile: False, mkenums: /usr/bin/glib-mkenums 819s # /tmp/tmpypp88t9v/tmpe3267hz4.h: 819s # typedef enum { 819s # ENUM_VALUE_WITH_COMMA = ',', 819s # } TestCommaEnum; 819s # 819s # /tmp/tmpypp88t9v/tmpr0e6jsod.template: 819s # /*** BEGIN file-header ***/ 819s # file-header 819s # /*** END file-header ***/ 819s # 819s # /*** BEGIN file-production ***/ 819s # file-production 819s # filename: @filename@ 819s # basename: @basename@ 819s # /*** END file-production ***/ 819s # 819s # /*** BEGIN enumeration-production ***/ 819s # enumeration-production 819s # EnumName: @EnumName@ 819s # enum_name: @enum_name@ 819s # ENUMNAME: @ENUMNAME@ 819s # ENUMSHORT: @ENUMSHORT@ 819s # ENUMPREFIX: @ENUMPREFIX@ 819s # enumsince: @enumsince@ 819s # type: @type@ 819s # Type: @Type@ 819s # TYPE: @TYPE@ 819s # /*** END enumeration-production ***/ 819s # 819s # /*** BEGIN value-header ***/ 819s # value-header 819s # EnumName: @EnumName@ 819s # enum_name: @enum_name@ 819s # ENUMNAME: @ENUMNAME@ 819s # ENUMSHORT: @ENUMSHORT@ 819s # ENUMPREFIX: @ENUMPREFIX@ 819s # enumsince: @enumsince@ 819s # type: @type@ 819s # Type: @Type@ 819s # TYPE: @TYPE@ 819s # /*** END value-header ***/ 819s # 819s # /*** BEGIN value-production ***/ 819s # value-production 819s # VALUENAME: @VALUENAME@ 819s # valuenick: @valuenick@ 819s # valuenum: @valuenum@ 819s # type: @type@ 819s # Type: @Type@ 819s # TYPE: @TYPE@ 819s # /*** END value-production ***/ 819s # 819s # /*** BEGIN value-tail ***/ 819s # value-tail 819s # EnumName: @EnumName@ 819s # enum_name: @enum_name@ 819s # ENUMNAME: @ENUMNAME@ 819s # ENUMSHORT: @ENUMSHORT@ 819s # ENUMPREFIX: @ENUMPREFIX@ 819s # enumsince: @enumsince@ 819s # type: @type@ 819s # Type: @Type@ 819s # TYPE: @TYPE@ 819s # /*** END value-tail ***/ 819s # 819s # /*** BEGIN comment ***/ 819s # comment 819s # comment: @comment@ 819s # /*** END comment ***/ 819s # 819s # /*** BEGIN file-tail ***/ 819s # file-tail 819s # /*** END file-tail ***/ 819s # 819s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpypp88t9v/tmpr0e6jsod.template', '/tmp/tmpypp88t9v/tmpe3267hz4.h'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: comment 819s # 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. 819s # 819s # 819s # file-header 819s # file-production 819s # filename: /tmp/tmpypp88t9v/tmpe3267hz4.h 819s # basename: tmpe3267hz4.h 819s # enumeration-production 819s # EnumName: TestCommaEnum 819s # enum_name: test_comma_enum 819s # ENUMNAME: TEST_COMMA_ENUM 819s # ENUMSHORT: COMMA_ENUM 819s # ENUMPREFIX: TEST 819s # enumsince: 819s # type: enum 819s # Type: Enum 819s # TYPE: ENUM 819s # value-header 819s # EnumName: TestCommaEnum 819s # enum_name: test_comma_enum 819s # ENUMNAME: TEST_COMMA_ENUM 819s # ENUMSHORT: COMMA_ENUM 819s # ENUMPREFIX: TEST 819s # enumsince: 819s # type: enum 819s # Type: Enum 819s # TYPE: ENUM 819s # value-production 819s # VALUENAME: ENUM_VALUE_WITH_COMMA 819s # valuenick: comma 819s # valuenum: 44 819s # type: enum 819s # Type: Enum 819s # TYPE: ENUM 819s # value-tail 819s # EnumName: TestCommaEnum 819s # enum_name: test_comma_enum 819s # ENUMNAME: TEST_COMMA_ENUM 819s # ENUMSHORT: COMMA_ENUM 819s # ENUMPREFIX: TEST 819s # enumsince: 819s # type: enum 819s # Type: Enum 819s # TYPE: ENUM 819s # file-tail 819s # 819s # comment 819s # comment: Generated data ends here 820s ok 3 __main__.TestMkenums.test_deprecated_in 820s # tmpdir: /tmp/tmpacq9ka_5 820s # rspfile: False, mkenums: /usr/bin/glib-mkenums 820s # /tmp/tmpacq9ka_5/tmpkzmht3jr.h: 820s # typedef enum { 820s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 820s # } GDBusServerFlags; 820s # 820s # /tmp/tmpacq9ka_5/tmpaqal_k2o.template: 820s # /*** BEGIN file-header ***/ 820s # file-header 820s # /*** END file-header ***/ 820s # 820s # /*** BEGIN file-production ***/ 820s # file-production 820s # filename: @filename@ 820s # basename: @basename@ 820s # /*** END file-production ***/ 820s # 820s # /*** BEGIN enumeration-production ***/ 820s # enumeration-production 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END enumeration-production ***/ 820s # 820s # /*** BEGIN value-header ***/ 820s # value-header 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-header ***/ 820s # 820s # /*** BEGIN value-production ***/ 820s # value-production 820s # VALUENAME: @VALUENAME@ 820s # valuenick: @valuenick@ 820s # valuenum: @valuenum@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-production ***/ 820s # 820s # /*** BEGIN value-tail ***/ 820s # value-tail 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-tail ***/ 820s # 820s # /*** BEGIN comment ***/ 820s # comment 820s # comment: @comment@ 820s # /*** END comment ***/ 820s # 820s # /*** BEGIN file-tail ***/ 820s # file-tail 820s # /*** END file-tail ***/ 820s # 820s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpacq9ka_5/tmpaqal_k2o.template', '/tmp/tmpacq9ka_5/tmpkzmht3jr.h'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: comment 820s # 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. 820s # 820s # 820s # file-header 820s # file-production 820s # filename: /tmp/tmpacq9ka_5/tmpkzmht3jr.h 820s # basename: tmpkzmht3jr.h 820s # enumeration-production 820s # EnumName: GDBusServerFlags 820s # enum_name: g_dbus_server_flags 820s # ENUMNAME: G_DBUS_SERVER_FLAGS 820s # ENUMSHORT: DBUS_SERVER_FLAGS 820s # ENUMPREFIX: G 820s # enumsince: 820s # type: flags 820s # Type: Flags 820s # TYPE: FLAGS 820s # value-header 820s # EnumName: GDBusServerFlags 820s # enum_name: g_dbus_server_flags 820s # ENUMNAME: G_DBUS_SERVER_FLAGS 820s # ENUMSHORT: DBUS_SERVER_FLAGS 820s # ENUMPREFIX: G 820s # enumsince: 820s # type: flags 820s # Type: Flags 820s # TYPE: FLAGS 820s # value-production 820s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 820s # valuenick: user 820s # valuenum: 4 820s # type: flags 820s # Type: Flags 820s # TYPE: FLAGS 820s # value-tail 820s # EnumName: GDBusServerFlags 820s # enum_name: g_dbus_server_flags 820s # ENUMNAME: G_DBUS_SERVER_FLAGS 820s # ENUMSHORT: DBUS_SERVER_FLAGS 820s # ENUMPREFIX: G 820s # enumsince: 820s # type: flags 820s # Type: Flags 820s # TYPE: FLAGS 820s # file-tail 820s # 820s # comment 820s # comment: Generated data ends here 820s ok 4 __main__.TestMkenums.test_deprecated_in_for 820s # tmpdir: /tmp/tmpc9hzp3xo 820s # rspfile: False, mkenums: /usr/bin/glib-mkenums 820s # /tmp/tmpc9hzp3xo/tmpky_eshr9.h: 820s # typedef enum { 820s # 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) 820s # } GDBusServerFlags; 820s # 820s # /tmp/tmpc9hzp3xo/tmpxftyauwp.template: 820s # /*** BEGIN file-header ***/ 820s # file-header 820s # /*** END file-header ***/ 820s # 820s # /*** BEGIN file-production ***/ 820s # file-production 820s # filename: @filename@ 820s # basename: @basename@ 820s # /*** END file-production ***/ 820s # 820s # /*** BEGIN enumeration-production ***/ 820s # enumeration-production 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END enumeration-production ***/ 820s # 820s # /*** BEGIN value-header ***/ 820s # value-header 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-header ***/ 820s # 820s # /*** BEGIN value-production ***/ 820s # value-production 820s # VALUENAME: @VALUENAME@ 820s # valuenick: @valuenick@ 820s # valuenum: @valuenum@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-production ***/ 820s # 820s # /*** BEGIN value-tail ***/ 820s # value-tail 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-tail ***/ 820s # 820s # /*** BEGIN comment ***/ 820s # comment 820s # comment: @comment@ 820s # /*** END comment ***/ 820s # 820s # /*** BEGIN file-tail ***/ 820s # file-tail 820s # /*** END file-tail ***/ 820s # 820s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpc9hzp3xo/tmpxftyauwp.template', '/tmp/tmpc9hzp3xo/tmpky_eshr9.h'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: comment 820s # 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. 820s # 820s # 820s # file-header 820s # file-production 820s # filename: /tmp/tmpc9hzp3xo/tmpky_eshr9.h 820s # basename: tmpky_eshr9.h 820s # enumeration-production 820s # EnumName: GDBusServerFlags 820s # enum_name: g_dbus_server_flags 820s # ENUMNAME: G_DBUS_SERVER_FLAGS 820s # ENUMSHORT: DBUS_SERVER_FLAGS 820s # ENUMPREFIX: G 820s # enumsince: 820s # type: flags 820s # Type: Flags 820s # TYPE: FLAGS 820s # value-header 820s # EnumName: GDBusServerFlags 820s # enum_name: g_dbus_server_flags 820s # ENUMNAME: G_DBUS_SERVER_FLAGS 820s # ENUMSHORT: DBUS_SERVER_FLAGS 820s # ENUMPREFIX: G 820s # enumsince: 820s # type: flags 820s # Type: Flags 820s # TYPE: FLAGS 820s # value-production 820s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 820s # valuenick: user 820s # valuenum: 4 820s # type: flags 820s # Type: Flags 820s # TYPE: FLAGS 820s # value-tail 820s # EnumName: GDBusServerFlags 820s # enum_name: g_dbus_server_flags 820s # ENUMNAME: G_DBUS_SERVER_FLAGS 820s # ENUMSHORT: DBUS_SERVER_FLAGS 820s # ENUMPREFIX: G 820s # enumsince: 820s # type: flags 820s # Type: Flags 820s # TYPE: FLAGS 820s # file-tail 820s # 820s # comment 820s # comment: Generated data ends here 820s ok 5 __main__.TestMkenums.test_empty_header 820s # tmpdir: /tmp/tmpg3ld9_30 820s # rspfile: False, mkenums: /usr/bin/glib-mkenums 820s # /tmp/tmpg3ld9_30/tmp32frza_q.h: 820s # /tmp/tmpg3ld9_30/tmpq82jxg5m.template: 820s # /*** BEGIN file-header ***/ 820s # file-header 820s # /*** END file-header ***/ 820s # 820s # /*** BEGIN file-production ***/ 820s # file-production 820s # filename: @filename@ 820s # basename: @basename@ 820s # /*** END file-production ***/ 820s # 820s # /*** BEGIN enumeration-production ***/ 820s # enumeration-production 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END enumeration-production ***/ 820s # 820s # /*** BEGIN value-header ***/ 820s # value-header 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-header ***/ 820s # 820s # /*** BEGIN value-production ***/ 820s # value-production 820s # VALUENAME: @VALUENAME@ 820s # valuenick: @valuenick@ 820s # valuenum: @valuenum@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-production ***/ 820s # 820s # /*** BEGIN value-tail ***/ 820s # value-tail 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-tail ***/ 820s # 820s # /*** BEGIN comment ***/ 820s # comment 820s # comment: @comment@ 820s # /*** END comment ***/ 820s # 820s # /*** BEGIN file-tail ***/ 820s # file-tail 820s # /*** END file-tail ***/ 820s # 820s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpg3ld9_30/tmpq82jxg5m.template', '/tmp/tmpg3ld9_30/tmp32frza_q.h'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: comment 820s # 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. 820s # 820s # 820s # file-header 820s # file-tail 820s # 820s # comment 820s # comment: Generated data ends here 820s ok 6 __main__.TestMkenums.test_empty_template 820s # tmpdir: /tmp/tmpzpqxrjmf 820s # rspfile: False, mkenums: /usr/bin/glib-mkenums 820s # /tmp/tmpzpqxrjmf/tmpfaxx3myf.template: 820s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpzpqxrjmf/tmpfaxx3myf.template'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # 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. */ 820s # 820s # 820s # /* Generated data ends here */ 820s ok 7 __main__.TestMkenums.test_enum_name 820s # tmpdir: /tmp/tmp92jb8pjo 820s # rspfile: False, mkenums: /usr/bin/glib-mkenums 820s # /tmp/tmp92jb8pjo/tmplmlvrrl6.h: 820s # typedef enum _SomeEnumIdentifier { 820s # ENUM_VALUE 820s # } SomeEnumIdentifier; 820s # 820s # /tmp/tmp92jb8pjo/tmpasf6f_n9.template: 820s # /*** BEGIN file-header ***/ 820s # file-header 820s # /*** END file-header ***/ 820s # 820s # /*** BEGIN file-production ***/ 820s # file-production 820s # filename: @filename@ 820s # basename: @basename@ 820s # /*** END file-production ***/ 820s # 820s # /*** BEGIN enumeration-production ***/ 820s # enumeration-production 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END enumeration-production ***/ 820s # 820s # /*** BEGIN value-header ***/ 820s # value-header 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-header ***/ 820s # 820s # /*** BEGIN value-production ***/ 820s # value-production 820s # VALUENAME: @VALUENAME@ 820s # valuenick: @valuenick@ 820s # valuenum: @valuenum@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-production ***/ 820s # 820s # /*** BEGIN value-tail ***/ 820s # value-tail 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-tail ***/ 820s # 820s # /*** BEGIN comment ***/ 820s # comment 820s # comment: @comment@ 820s # /*** END comment ***/ 820s # 820s # /*** BEGIN file-tail ***/ 820s # file-tail 820s # /*** END file-tail ***/ 820s # 820s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp92jb8pjo/tmpasf6f_n9.template', '/tmp/tmp92jb8pjo/tmplmlvrrl6.h'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: comment 820s # 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. 820s # 820s # 820s # file-header 820s # file-production 820s # filename: /tmp/tmp92jb8pjo/tmplmlvrrl6.h 820s # basename: tmplmlvrrl6.h 820s # enumeration-production 820s # EnumName: SomeEnumIdentifier 820s # enum_name: some_enum_identifier 820s # ENUMNAME: SOME_ENUM_IDENTIFIER 820s # ENUMSHORT: ENUM_IDENTIFIER 820s # ENUMPREFIX: SOME 820s # enumsince: 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # value-header 820s # EnumName: SomeEnumIdentifier 820s # enum_name: some_enum_identifier 820s # ENUMNAME: SOME_ENUM_IDENTIFIER 820s # ENUMSHORT: ENUM_IDENTIFIER 820s # ENUMPREFIX: SOME 820s # enumsince: 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # value-production 820s # VALUENAME: ENUM_VALUE 820s # valuenick: value 820s # valuenum: 0 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # value-tail 820s # EnumName: SomeEnumIdentifier 820s # enum_name: some_enum_identifier 820s # ENUMNAME: SOME_ENUM_IDENTIFIER 820s # ENUMSHORT: ENUM_IDENTIFIER 820s # ENUMPREFIX: SOME 820s # enumsince: 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # file-tail 820s # 820s # comment 820s # comment: Generated data ends here 820s ok 8 __main__.TestMkenums.test_enum_private_public 820s # tmpdir: /tmp/tmpwrnobnky 820s # rspfile: False, mkenums: /usr/bin/glib-mkenums 820s # /tmp/tmpwrnobnky/tmpgfrepfyx.h: 820s # typedef enum { 820s # ENUM_VALUE_PUBLIC1, 820s # /*< private >*/ 820s # ENUM_VALUE_PRIVATE, 820s # } SomeEnumA 820s # 820s # /tmp/tmpwrnobnky/tmpw30zjs6q.template: 820s # /*** BEGIN file-header ***/ 820s # file-header 820s # /*** END file-header ***/ 820s # 820s # /*** BEGIN file-production ***/ 820s # file-production 820s # filename: @filename@ 820s # basename: @basename@ 820s # /*** END file-production ***/ 820s # 820s # /*** BEGIN enumeration-production ***/ 820s # enumeration-production 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END enumeration-production ***/ 820s # 820s # /*** BEGIN value-header ***/ 820s # value-header 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-header ***/ 820s # 820s # /*** BEGIN value-production ***/ 820s # value-production 820s # VALUENAME: @VALUENAME@ 820s # valuenick: @valuenick@ 820s # valuenum: @valuenum@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-production ***/ 820s # 820s # /*** BEGIN value-tail ***/ 820s # value-tail 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-tail ***/ 820s # 820s # /*** BEGIN comment ***/ 820s # comment 820s # comment: @comment@ 820s # /*** END comment ***/ 820s # 820s # /*** BEGIN file-tail ***/ 820s # file-tail 820s # /*** END file-tail ***/ 820s # 820s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpwrnobnky/tmpw30zjs6q.template', '/tmp/tmpwrnobnky/tmpgfrepfyx.h'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: comment 820s # 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. 820s # 820s # 820s # file-header 820s # file-production 820s # filename: /tmp/tmpwrnobnky/tmpgfrepfyx.h 820s # basename: tmpgfrepfyx.h 820s # enumeration-production 820s # EnumName: SomeEnumA 820s # enum_name: some_enum_a 820s # ENUMNAME: SOME_ENUM_A 820s # ENUMSHORT: ENUM_A 820s # ENUMPREFIX: SOME 820s # enumsince: 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # value-header 820s # EnumName: SomeEnumA 820s # enum_name: some_enum_a 820s # ENUMNAME: SOME_ENUM_A 820s # ENUMSHORT: ENUM_A 820s # ENUMPREFIX: SOME 820s # enumsince: 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # value-production 820s # VALUENAME: ENUM_VALUE_PUBLIC1 820s # valuenick: public1 820s # valuenum: 0 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # value-tail 820s # EnumName: SomeEnumA 820s # enum_name: some_enum_a 820s # ENUMNAME: SOME_ENUM_A 820s # ENUMSHORT: ENUM_A 820s # ENUMPREFIX: SOME 820s # enumsince: 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # file-tail 820s # 820s # comment 820s # comment: Generated data ends here 820s # /tmp/tmpwrnobnky/tmpd0ksbebv.h: 820s # typedef enum { 820s # /*< private >*/ 820s # ENUM_VALUE_PRIVATE, 820s # /*< public >*/ 820s # ENUM_VALUE_PUBLIC2, 820s # } SomeEnumB; 820s # 820s # /tmp/tmpwrnobnky/tmpkqw8bonx.template: 820s # /*** BEGIN file-header ***/ 820s # file-header 820s # /*** END file-header ***/ 820s # 820s # /*** BEGIN file-production ***/ 820s # file-production 820s # filename: @filename@ 820s # basename: @basename@ 820s # /*** END file-production ***/ 820s # 820s # /*** BEGIN enumeration-production ***/ 820s # enumeration-production 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END enumeration-production ***/ 820s # 820s # /*** BEGIN value-header ***/ 820s # value-header 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-header ***/ 820s # 820s # /*** BEGIN value-production ***/ 820s # value-production 820s # VALUENAME: @VALUENAME@ 820s # valuenick: @valuenick@ 820s # valuenum: @valuenum@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-production ***/ 820s # 820s # /*** BEGIN value-tail ***/ 820s # value-tail 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-tail ***/ 820s # 820s # /*** BEGIN comment ***/ 820s # comment 820s # comment: @comment@ 820s # /*** END comment ***/ 820s # 820s # /*** BEGIN file-tail ***/ 820s # file-tail 820s # /*** END file-tail ***/ 820s # 820s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpwrnobnky/tmpkqw8bonx.template', '/tmp/tmpwrnobnky/tmpd0ksbebv.h'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: comment 820s # 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. 820s # 820s # 820s # file-header 820s # file-production 820s # filename: /tmp/tmpwrnobnky/tmpd0ksbebv.h 820s # basename: tmpd0ksbebv.h 820s # enumeration-production 820s # EnumName: SomeEnumB 820s # enum_name: some_enum_b 820s # ENUMNAME: SOME_ENUM_B 820s # ENUMSHORT: ENUM_B 820s # ENUMPREFIX: SOME 820s # enumsince: 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # value-header 820s # EnumName: SomeEnumB 820s # enum_name: some_enum_b 820s # ENUMNAME: SOME_ENUM_B 820s # ENUMSHORT: ENUM_B 820s # ENUMPREFIX: SOME 820s # enumsince: 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # value-production 820s # VALUENAME: ENUM_VALUE_PUBLIC2 820s # valuenick: public2 820s # valuenum: 1 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # value-tail 820s # EnumName: SomeEnumB 820s # enum_name: some_enum_b 820s # ENUMNAME: SOME_ENUM_B 820s # ENUMSHORT: ENUM_B 820s # ENUMPREFIX: SOME 820s # enumsince: 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # file-tail 820s # 820s # comment 820s # comment: Generated data ends here 820s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 820s # tmpdir: /tmp/tmptu7xw09x 820s # rspfile: False, mkenums: /usr/bin/glib-mkenums 820s # /tmp/tmptu7xw09x/tmp93ww0vum.h: 820s # typedef enum { 820s # /*< private >*/ 820s # ENUM_VALUE_PRIVATE = 5, 820s # /*< public >*/ 820s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 820s # } TestSymbolicEnum; 820s # 820s # /tmp/tmptu7xw09x/tmp9vy7a1nj.template: 820s # /*** BEGIN file-header ***/ 820s # file-header 820s # /*** END file-header ***/ 820s # 820s # /*** BEGIN file-production ***/ 820s # file-production 820s # filename: @filename@ 820s # basename: @basename@ 820s # /*** END file-production ***/ 820s # 820s # /*** BEGIN enumeration-production ***/ 820s # enumeration-production 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END enumeration-production ***/ 820s # 820s # /*** BEGIN value-header ***/ 820s # value-header 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-header ***/ 820s # 820s # /*** BEGIN value-production ***/ 820s # value-production 820s # VALUENAME: @VALUENAME@ 820s # valuenick: @valuenick@ 820s # valuenum: @valuenum@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-production ***/ 820s # 820s # /*** BEGIN value-tail ***/ 820s # value-tail 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-tail ***/ 820s # 820s # /*** BEGIN comment ***/ 820s # comment 820s # comment: @comment@ 820s # /*** END comment ***/ 820s # 820s # /*** BEGIN file-tail ***/ 820s # file-tail 820s # /*** END file-tail ***/ 820s # 820s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmptu7xw09x/tmp9vy7a1nj.template', '/tmp/tmptu7xw09x/tmp93ww0vum.h'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: comment 820s # 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. 820s # 820s # 820s # file-header 820s # file-production 820s # filename: /tmp/tmptu7xw09x/tmp93ww0vum.h 820s # basename: tmp93ww0vum.h 820s # enumeration-production 820s # EnumName: TestSymbolicEnum 820s # enum_name: test_symbolic_enum 820s # ENUMNAME: TEST_SYMBOLIC_ENUM 820s # ENUMSHORT: SYMBOLIC_ENUM 820s # ENUMPREFIX: TEST 820s # enumsince: 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # value-header 820s # EnumName: TestSymbolicEnum 820s # enum_name: test_symbolic_enum 820s # ENUMNAME: TEST_SYMBOLIC_ENUM 820s # ENUMSHORT: SYMBOLIC_ENUM 820s # ENUMPREFIX: TEST 820s # enumsince: 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # value-production 820s # VALUENAME: ENUM_VALUE_PUBLIC 820s # valuenick: public 820s # valuenum: 7 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # value-tail 820s # EnumName: TestSymbolicEnum 820s # enum_name: test_symbolic_enum 820s # ENUMNAME: TEST_SYMBOLIC_ENUM 820s # ENUMSHORT: SYMBOLIC_ENUM 820s # ENUMPREFIX: TEST 820s # enumsince: 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # file-tail 820s # 820s # comment 820s # comment: Generated data ends here 820s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 820s # tmpdir: /tmp/tmpoxlh757h 820s # rspfile: False, mkenums: /usr/bin/glib-mkenums 820s # /tmp/tmpoxlh757h/tmp5i0t60qz.template: 820s # /*** BEGIN file-header ***/ 820s # file-header 820s # filename: @filename@ 820s # basename: @basename@ 820s # /*** END file-header ***/ 820s # 820s # /*** BEGIN comment ***/ 820s # comment 820s # comment: @comment@ 820s # /*** END comment ***/ 820s # 820s # /*** BEGIN file-tail ***/ 820s # file-tail 820s # filename: @filename@ 820s # basename: @basename@ 820s # /*** END file-tail ***/ 820s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpoxlh757h/tmp5i0t60qz.template'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: comment 820s # 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. 820s # 820s # 820s # file-header 820s # filename: @filename@ 820s # basename: @basename@ 820s # file-tail 820s # filename: @filename@ 820s # basename: @basename@ 820s # 820s # comment 820s # comment: Generated data ends here 820s ok 11 __main__.TestMkenums.test_help 820s # tmpdir: /tmp/tmp3aqbydas 820s # rspfile: False, mkenums: /usr/bin/glib-mkenums 820s # Running: ['/usr/bin/glib-mkenums', '--help'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 820s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 820s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 820s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 820s # [--comments COMMENT_TMPL] [--template TEMPLATE] 820s # [--output OUTPUT] [--version] 820s # [args ...] 820s # 820s # positional arguments: 820s # args One or more input files, or a single argument 820s # @rspfile_path pointing to a file that contains the 820s # actual arguments 820s # 820s # options: 820s # -h, --help show this help message and exit 820s # --identifier-prefix IDPREFIX 820s # Identifier prefix 820s # --symbol-prefix SYMPREFIX 820s # Symbol prefix 820s # --fhead FHEAD Output file header 820s # --ftail FTAIL Output file footer 820s # --fprod FPROD Put out TEXT every time a new input file is being 820s # processed. 820s # --eprod EPROD Per enum text, produced prior to value iterations 820s # --vhead VHEAD Value header, produced before iterating over enum 820s # values 820s # --vprod VPROD Value text, produced for each enum value. 820s # --vtail VTAIL Value tail, produced after iterating over enum values 820s # --comments COMMENT_TMPL 820s # Comment structure 820s # --template TEMPLATE Template file 820s # --output OUTPUT 820s # --version, -v Print version information 820s # 820s # Production text substitutions: 820s # @EnumName@ PrefixTheXEnum 820s # @enum_name@ prefix_the_xenum 820s # @ENUMNAME@ PREFIX_THE_XENUM 820s # @ENUMSHORT@ THE_XENUM 820s # @ENUMPREFIX@ PREFIX 820s # @enumsince@ the user-provided since value given 820s # @VALUENAME@ PREFIX_THE_XVALUE 820s # @valuenick@ the-xvalue 820s # @valuenum@ the integer value (limited support, Since: 2.26) 820s # @type@ either enum or flags 820s # @Type@ either Enum or Flags 820s # @TYPE@ either ENUM or FLAGS 820s # @filename@ name of current input file 820s # @basename@ base name of the current input file (Since: 2.22) 820s ok 12 __main__.TestMkenums.test_no_args 820s # tmpdir: /tmp/tmp86k78soh 820s # rspfile: False, mkenums: /usr/bin/glib-mkenums 820s # Running: ['/usr/bin/glib-mkenums'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # 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. */ 820s # 820s # 820s # /* Generated data ends here */ 820s ok 13 __main__.TestMkenums.test_no_headers 820s # tmpdir: /tmp/tmp1rk7ohdw 820s # rspfile: False, mkenums: /usr/bin/glib-mkenums 820s # /tmp/tmp1rk7ohdw/tmpnb27fqr0.template: 820s # /*** BEGIN file-header ***/ 820s # file-header 820s # /*** END file-header ***/ 820s # 820s # /*** BEGIN file-production ***/ 820s # file-production 820s # filename: @filename@ 820s # basename: @basename@ 820s # /*** END file-production ***/ 820s # 820s # /*** BEGIN enumeration-production ***/ 820s # enumeration-production 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END enumeration-production ***/ 820s # 820s # /*** BEGIN value-header ***/ 820s # value-header 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-header ***/ 820s # 820s # /*** BEGIN value-production ***/ 820s # value-production 820s # VALUENAME: @VALUENAME@ 820s # valuenick: @valuenick@ 820s # valuenum: @valuenum@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-production ***/ 820s # 820s # /*** BEGIN value-tail ***/ 820s # value-tail 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-tail ***/ 820s # 820s # /*** BEGIN comment ***/ 820s # comment 820s # comment: @comment@ 820s # /*** END comment ***/ 820s # 820s # /*** BEGIN file-tail ***/ 820s # file-tail 820s # /*** END file-tail ***/ 820s # 820s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1rk7ohdw/tmpnb27fqr0.template'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: comment 820s # 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. 820s # 820s # 820s # file-header 820s # file-tail 820s # 820s # comment 820s # comment: Generated data ends here 820s ok 14 __main__.TestMkenums.test_no_nick 820s # tmpdir: /tmp/tmpg2let32y 820s # rspfile: False, mkenums: /usr/bin/glib-mkenums 820s # /tmp/tmpg2let32y/tmpbhyscz8_.h: 820s # typedef enum { 820s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 820s # } GeglSamplerType; 820s # 820s # /tmp/tmpg2let32y/tmp61tn6abi.template: 820s # /*** BEGIN file-header ***/ 820s # file-header 820s # /*** END file-header ***/ 820s # 820s # /*** BEGIN file-production ***/ 820s # file-production 820s # filename: @filename@ 820s # basename: @basename@ 820s # /*** END file-production ***/ 820s # 820s # /*** BEGIN enumeration-production ***/ 820s # enumeration-production 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END enumeration-production ***/ 820s # 820s # /*** BEGIN value-header ***/ 820s # value-header 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-header ***/ 820s # 820s # /*** BEGIN value-production ***/ 820s # value-production 820s # VALUENAME: @VALUENAME@ 820s # valuenick: @valuenick@ 820s # valuenum: @valuenum@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-production ***/ 820s # 820s # /*** BEGIN value-tail ***/ 820s # value-tail 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-tail ***/ 820s # 820s # /*** BEGIN comment ***/ 820s # comment 820s # comment: @comment@ 820s # /*** END comment ***/ 820s # 820s # /*** BEGIN file-tail ***/ 820s # file-tail 820s # /*** END file-tail ***/ 820s # 820s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpg2let32y/tmp61tn6abi.template', '/tmp/tmpg2let32y/tmpbhyscz8_.h'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: comment 820s # 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. 820s # 820s # 820s # file-header 820s # file-production 820s # filename: /tmp/tmpg2let32y/tmpbhyscz8_.h 820s # basename: tmpbhyscz8_.h 820s # enumeration-production 820s # EnumName: GeglSamplerType 820s # enum_name: gegl_sampler_type 820s # ENUMNAME: GEGL_SAMPLER_TYPE 820s # ENUMSHORT: SAMPLER_TYPE 820s # ENUMPREFIX: GEGL 820s # enumsince: 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # value-header 820s # EnumName: GeglSamplerType 820s # enum_name: gegl_sampler_type 820s # ENUMNAME: GEGL_SAMPLER_TYPE 820s # ENUMSHORT: SAMPLER_TYPE 820s # ENUMPREFIX: GEGL 820s # enumsince: 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # value-production 820s # VALUENAME: GEGL_SAMPLER_NEAREST 820s # valuenick: nearest 820s # valuenum: 0 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # value-tail 820s # EnumName: GeglSamplerType 820s # enum_name: gegl_sampler_type 820s # ENUMNAME: GEGL_SAMPLER_TYPE 820s # ENUMSHORT: SAMPLER_TYPE 820s # ENUMPREFIX: GEGL 820s # enumsince: 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # file-tail 820s # 820s # comment 820s # comment: Generated data ends here 820s ok 15 __main__.TestMkenums.test_non_utf8_encoding 820s # tmpdir: /tmp/tmpt13fyn2y 820s # rspfile: False, mkenums: /usr/bin/glib-mkenums 820s # /tmp/tmpt13fyn2y/tmpi9az39hg.h: 820s # /* Copyright © La Peña */ 820s # typedef enum { 820s # ENUM_VALUE 820s # } SomeEnumIdentifier; 820s # 820s # /tmp/tmpt13fyn2y/tmpcswi3oqp.template: 820s # /*** BEGIN file-header ***/ 820s # file-header 820s # /*** END file-header ***/ 820s # 820s # /*** BEGIN file-production ***/ 820s # file-production 820s # filename: @filename@ 820s # basename: @basename@ 820s # /*** END file-production ***/ 820s # 820s # /*** BEGIN enumeration-production ***/ 820s # enumeration-production 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END enumeration-production ***/ 820s # 820s # /*** BEGIN value-header ***/ 820s # value-header 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-header ***/ 820s # 820s # /*** BEGIN value-production ***/ 820s # value-production 820s # VALUENAME: @VALUENAME@ 820s # valuenick: @valuenick@ 820s # valuenum: @valuenum@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-production ***/ 820s # 820s # /*** BEGIN value-tail ***/ 820s # value-tail 820s # EnumName: @EnumName@ 820s # enum_name: @enum_name@ 820s # ENUMNAME: @ENUMNAME@ 820s # ENUMSHORT: @ENUMSHORT@ 820s # ENUMPREFIX: @ENUMPREFIX@ 820s # enumsince: @enumsince@ 820s # type: @type@ 820s # Type: @Type@ 820s # TYPE: @TYPE@ 820s # /*** END value-tail ***/ 820s # 820s # /*** BEGIN comment ***/ 820s # comment 820s # comment: @comment@ 820s # /*** END comment ***/ 820s # 820s # /*** BEGIN file-tail ***/ 820s # file-tail 820s # /*** END file-tail ***/ 820s # 820s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt13fyn2y/tmpcswi3oqp.template', '/tmp/tmpt13fyn2y/tmpi9az39hg.h'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: comment 820s # 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. 820s # 820s # 820s # file-header 820s # file-production 820s # filename: /tmp/tmpt13fyn2y/tmpi9az39hg.h 820s # basename: tmpi9az39hg.h 820s # enumeration-production 820s # EnumName: SomeEnumIdentifier 820s # enum_name: some_enum_identifier 820s # ENUMNAME: SOME_ENUM_IDENTIFIER 820s # ENUMSHORT: ENUM_IDENTIFIER 820s # ENUMPREFIX: SOME 820s # enumsince: 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # value-header 820s # EnumName: SomeEnumIdentifier 820s # enum_name: some_enum_identifier 820s # ENUMNAME: SOME_ENUM_IDENTIFIER 820s # ENUMSHORT: ENUM_IDENTIFIER 820s # ENUMPREFIX: SOME 820s # enumsince: 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # value-production 820s # VALUENAME: ENUM_VALUE 820s # valuenick: value 820s # valuenum: 0 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # value-tail 820s # EnumName: SomeEnumIdentifier 820s # enum_name: some_enum_identifier 820s # ENUMNAME: SOME_ENUM_IDENTIFIER 820s # ENUMSHORT: ENUM_IDENTIFIER 820s # ENUMPREFIX: SOME 820s # enumsince: 820s # type: enum 820s # Type: Enum 820s # TYPE: ENUM 820s # file-tail 820s # 820s # comment 820s # comment: Generated data ends here 821s ok 16 __main__.TestMkenums.test_reproducible 821s # tmpdir: /tmp/tmpubsnb91a 821s # rspfile: False, mkenums: /usr/bin/glib-mkenums 821s # /tmp/tmpubsnb91a/tmpoxpzeyji.template: template 821s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpubsnb91a/tmpoxpzeyji.template', '/tmp/tmpubsnb91a/tmpjx8hat4t1.h', '/tmp/tmpubsnb91a/tmpyt144yp02.h'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # 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. */ 821s # 821s # 821s # /* Generated data ends here */ 821s # /tmp/tmpubsnb91a/tmpm3b975ys.template: template 821s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpubsnb91a/tmpm3b975ys.template', '/tmp/tmpubsnb91a/tmpyt144yp02.h', '/tmp/tmpubsnb91a/tmpjx8hat4t1.h'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # 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. */ 821s # 821s # 821s # /* Generated data ends here */ 821s ok 17 __main__.TestMkenums.test_since 821s # tmpdir: /tmp/tmpvkmxuqjq 821s # rspfile: False, mkenums: /usr/bin/glib-mkenums 821s # /tmp/tmpvkmxuqjq/tmpizxfbj4u.h: 821s # typedef enum { /*< since=1.0 >*/ 821s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 821s # } QmiWmsMessageProtocol; 821s # 821s # /tmp/tmpvkmxuqjq/tmpvmu8im3g.template: 821s # /*** BEGIN file-header ***/ 821s # file-header 821s # /*** END file-header ***/ 821s # 821s # /*** BEGIN file-production ***/ 821s # file-production 821s # filename: @filename@ 821s # basename: @basename@ 821s # /*** END file-production ***/ 821s # 821s # /*** BEGIN enumeration-production ***/ 821s # enumeration-production 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END enumeration-production ***/ 821s # 821s # /*** BEGIN value-header ***/ 821s # value-header 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-header ***/ 821s # 821s # /*** BEGIN value-production ***/ 821s # value-production 821s # VALUENAME: @VALUENAME@ 821s # valuenick: @valuenick@ 821s # valuenum: @valuenum@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-production ***/ 821s # 821s # /*** BEGIN value-tail ***/ 821s # value-tail 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-tail ***/ 821s # 821s # /*** BEGIN comment ***/ 821s # comment 821s # comment: @comment@ 821s # /*** END comment ***/ 821s # 821s # /*** BEGIN file-tail ***/ 821s # file-tail 821s # /*** END file-tail ***/ 821s # 821s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvkmxuqjq/tmpvmu8im3g.template', '/tmp/tmpvkmxuqjq/tmpizxfbj4u.h'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: comment 821s # 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. 821s # 821s # 821s # file-header 821s # file-production 821s # filename: /tmp/tmpvkmxuqjq/tmpizxfbj4u.h 821s # basename: tmpizxfbj4u.h 821s # enumeration-production 821s # EnumName: QmiWmsMessageProtocol 821s # enum_name: qmi_wms_message_protocol 821s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 821s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 821s # ENUMPREFIX: QMI 821s # enumsince: 1.0 821s # type: enum 821s # Type: Enum 821s # TYPE: ENUM 821s # value-header 821s # EnumName: QmiWmsMessageProtocol 821s # enum_name: qmi_wms_message_protocol 821s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 821s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 821s # ENUMPREFIX: QMI 821s # enumsince: 1.0 821s # type: enum 821s # Type: Enum 821s # TYPE: ENUM 821s # value-production 821s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 821s # valuenick: cdma 821s # valuenum: 0 821s # type: enum 821s # Type: Enum 821s # TYPE: ENUM 821s # value-tail 821s # EnumName: QmiWmsMessageProtocol 821s # enum_name: qmi_wms_message_protocol 821s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 821s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 821s # ENUMPREFIX: QMI 821s # enumsince: 1.0 821s # type: enum 821s # Type: Enum 821s # TYPE: ENUM 821s # file-tail 821s # 821s # comment 821s # comment: Generated data ends here 821s ok 18 __main__.TestMkenums.test_with_double_quotes 821s # tmpdir: /tmp/tmpglsrltd_ 821s # rspfile: False, mkenums: /usr/bin/glib-mkenums 821s # /tmp/tmpglsrltd_/tmpty04zx0l.h: 821s # typedef enum { 821s # FOO_VALUE /*< nick="eek, a comma" >*/ 821s # } Foo; 821s # 821s # /tmp/tmpglsrltd_/tmpqr53k521.template: 821s # /*** BEGIN file-header ***/ 821s # file-header 821s # /*** END file-header ***/ 821s # 821s # /*** BEGIN file-production ***/ 821s # file-production 821s # filename: @filename@ 821s # basename: @basename@ 821s # /*** END file-production ***/ 821s # 821s # /*** BEGIN enumeration-production ***/ 821s # enumeration-production 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END enumeration-production ***/ 821s # 821s # /*** BEGIN value-header ***/ 821s # value-header 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-header ***/ 821s # 821s # /*** BEGIN value-production ***/ 821s # value-production 821s # VALUENAME: @VALUENAME@ 821s # valuenick: @valuenick@ 821s # valuenum: @valuenum@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-production ***/ 821s # 821s # /*** BEGIN value-tail ***/ 821s # value-tail 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-tail ***/ 821s # 821s # /*** BEGIN comment ***/ 821s # comment 821s # comment: @comment@ 821s # /*** END comment ***/ 821s # 821s # /*** BEGIN file-tail ***/ 821s # file-tail 821s # /*** END file-tail ***/ 821s # 821s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpglsrltd_/tmpqr53k521.template', '/tmp/tmpglsrltd_/tmpty04zx0l.h'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: comment 821s # 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. 821s # 821s # 821s # file-header 821s # file-production 821s # filename: /tmp/tmpglsrltd_/tmpty04zx0l.h 821s # basename: tmpty04zx0l.h 821s # enumeration-production 821s # EnumName: Foo 821s # enum_name: foo_ 821s # ENUMNAME: FOO_ 821s # ENUMSHORT: 821s # ENUMPREFIX: FOO 821s # enumsince: 821s # type: enum 821s # Type: Enum 821s # TYPE: ENUM 821s # value-header 821s # EnumName: Foo 821s # enum_name: foo_ 821s # ENUMNAME: FOO_ 821s # ENUMSHORT: 821s # ENUMPREFIX: FOO 821s # enumsince: 821s # type: enum 821s # Type: Enum 821s # TYPE: ENUM 821s # value-production 821s # VALUENAME: FOO_VALUE 821s # valuenick: eek, a comma 821s # valuenum: 0 821s # type: enum 821s # Type: Enum 821s # TYPE: ENUM 821s # value-tail 821s # EnumName: Foo 821s # enum_name: foo_ 821s # ENUMNAME: FOO_ 821s # ENUMSHORT: 821s # ENUMPREFIX: FOO 821s # enumsince: 821s # type: enum 821s # Type: Enum 821s # TYPE: ENUM 821s # file-tail 821s # 821s # comment 821s # comment: Generated data ends here 821s ok 19 __main__.TestRspMkenums.test_available_in 821s # tmpdir: /tmp/tmp2sqmcal8 821s # rspfile: True, mkenums: /usr/bin/glib-mkenums 821s # /tmp/tmp2sqmcal8/tmpd9hw3_i0.h: 821s # typedef enum { 821s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 821s # } GDBusServerFlags; 821s # 821s # /tmp/tmp2sqmcal8/tmpfkn1u2on.template: 821s # /*** BEGIN file-header ***/ 821s # file-header 821s # /*** END file-header ***/ 821s # 821s # /*** BEGIN file-production ***/ 821s # file-production 821s # filename: @filename@ 821s # basename: @basename@ 821s # /*** END file-production ***/ 821s # 821s # /*** BEGIN enumeration-production ***/ 821s # enumeration-production 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END enumeration-production ***/ 821s # 821s # /*** BEGIN value-header ***/ 821s # value-header 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-header ***/ 821s # 821s # /*** BEGIN value-production ***/ 821s # value-production 821s # VALUENAME: @VALUENAME@ 821s # valuenick: @valuenick@ 821s # valuenum: @valuenum@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-production ***/ 821s # 821s # /*** BEGIN value-tail ***/ 821s # value-tail 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-tail ***/ 821s # 821s # /*** BEGIN comment ***/ 821s # comment 821s # comment: @comment@ 821s # /*** END comment ***/ 821s # 821s # /*** BEGIN file-tail ***/ 821s # file-tail 821s # /*** END file-tail ***/ 821s # 821s # Response file contains: --template /tmp/tmp2sqmcal8/tmpfkn1u2on.template /tmp/tmp2sqmcal8/tmpd9hw3_i0.h 821s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2sqmcal8/tmp5n61nu_n'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: comment 821s # 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. 821s # 821s # 821s # file-header 821s # file-production 821s # filename: /tmp/tmp2sqmcal8/tmpd9hw3_i0.h 821s # basename: tmpd9hw3_i0.h 821s # enumeration-production 821s # EnumName: GDBusServerFlags 821s # enum_name: g_dbus_server_flags 821s # ENUMNAME: G_DBUS_SERVER_FLAGS 821s # ENUMSHORT: DBUS_SERVER_FLAGS 821s # ENUMPREFIX: G 821s # enumsince: 821s # type: flags 821s # Type: Flags 821s # TYPE: FLAGS 821s # value-header 821s # EnumName: GDBusServerFlags 821s # enum_name: g_dbus_server_flags 821s # ENUMNAME: G_DBUS_SERVER_FLAGS 821s # ENUMSHORT: DBUS_SERVER_FLAGS 821s # ENUMPREFIX: G 821s # enumsince: 821s # type: flags 821s # Type: Flags 821s # TYPE: FLAGS 821s # value-production 821s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 821s # valuenick: user 821s # valuenum: 4 821s # type: flags 821s # Type: Flags 821s # TYPE: FLAGS 821s # value-tail 821s # EnumName: GDBusServerFlags 821s # enum_name: g_dbus_server_flags 821s # ENUMNAME: G_DBUS_SERVER_FLAGS 821s # ENUMSHORT: DBUS_SERVER_FLAGS 821s # ENUMPREFIX: G 821s # enumsince: 821s # type: flags 821s # Type: Flags 821s # TYPE: FLAGS 821s # file-tail 821s # 821s # comment 821s # comment: Generated data ends here 821s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 821s # tmpdir: /tmp/tmpi8w0rvr9 821s # rspfile: True, mkenums: /usr/bin/glib-mkenums 821s # /tmp/tmpi8w0rvr9/tmp4os7ci2i.h: 821s # typedef enum { 821s # ENUM_VALUE_WITH_COMMA = ',', 821s # } TestCommaEnum; 821s # 821s # /tmp/tmpi8w0rvr9/tmp12s6rbaa.template: 821s # /*** BEGIN file-header ***/ 821s # file-header 821s # /*** END file-header ***/ 821s # 821s # /*** BEGIN file-production ***/ 821s # file-production 821s # filename: @filename@ 821s # basename: @basename@ 821s # /*** END file-production ***/ 821s # 821s # /*** BEGIN enumeration-production ***/ 821s # enumeration-production 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END enumeration-production ***/ 821s # 821s # /*** BEGIN value-header ***/ 821s # value-header 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-header ***/ 821s # 821s # /*** BEGIN value-production ***/ 821s # value-production 821s # VALUENAME: @VALUENAME@ 821s # valuenick: @valuenick@ 821s # valuenum: @valuenum@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-production ***/ 821s # 821s # /*** BEGIN value-tail ***/ 821s # value-tail 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-tail ***/ 821s # 821s # /*** BEGIN comment ***/ 821s # comment 821s # comment: @comment@ 821s # /*** END comment ***/ 821s # 821s # /*** BEGIN file-tail ***/ 821s # file-tail 821s # /*** END file-tail ***/ 821s # 821s # Response file contains: --template /tmp/tmpi8w0rvr9/tmp12s6rbaa.template /tmp/tmpi8w0rvr9/tmp4os7ci2i.h 821s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpi8w0rvr9/tmpi123upk2'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: comment 821s # 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. 821s # 821s # 821s # file-header 821s # file-production 821s # filename: /tmp/tmpi8w0rvr9/tmp4os7ci2i.h 821s # basename: tmp4os7ci2i.h 821s # enumeration-production 821s # EnumName: TestCommaEnum 821s # enum_name: test_comma_enum 821s # ENUMNAME: TEST_COMMA_ENUM 821s # ENUMSHORT: COMMA_ENUM 821s # ENUMPREFIX: TEST 821s # enumsince: 821s # type: enum 821s # Type: Enum 821s # TYPE: ENUM 821s # value-header 821s # EnumName: TestCommaEnum 821s # enum_name: test_comma_enum 821s # ENUMNAME: TEST_COMMA_ENUM 821s # ENUMSHORT: COMMA_ENUM 821s # ENUMPREFIX: TEST 821s # enumsince: 821s # type: enum 821s # Type: Enum 821s # TYPE: ENUM 821s # value-production 821s # VALUENAME: ENUM_VALUE_WITH_COMMA 821s # valuenick: comma 821s # valuenum: 44 821s # type: enum 821s # Type: Enum 821s # TYPE: ENUM 821s # value-tail 821s # EnumName: TestCommaEnum 821s # enum_name: test_comma_enum 821s # ENUMNAME: TEST_COMMA_ENUM 821s # ENUMSHORT: COMMA_ENUM 821s # ENUMPREFIX: TEST 821s # enumsince: 821s # type: enum 821s # Type: Enum 821s # TYPE: ENUM 821s # file-tail 821s # 821s # comment 821s # comment: Generated data ends here 821s ok 21 __main__.TestRspMkenums.test_deprecated_in 821s # tmpdir: /tmp/tmpca7bfbjl 821s # rspfile: True, mkenums: /usr/bin/glib-mkenums 821s # /tmp/tmpca7bfbjl/tmp8q2wr2c4.h: 821s # typedef enum { 821s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 821s # } GDBusServerFlags; 821s # 821s # /tmp/tmpca7bfbjl/tmpt_ltgeyg.template: 821s # /*** BEGIN file-header ***/ 821s # file-header 821s # /*** END file-header ***/ 821s # 821s # /*** BEGIN file-production ***/ 821s # file-production 821s # filename: @filename@ 821s # basename: @basename@ 821s # /*** END file-production ***/ 821s # 821s # /*** BEGIN enumeration-production ***/ 821s # enumeration-production 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END enumeration-production ***/ 821s # 821s # /*** BEGIN value-header ***/ 821s # value-header 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-header ***/ 821s # 821s # /*** BEGIN value-production ***/ 821s # value-production 821s # VALUENAME: @VALUENAME@ 821s # valuenick: @valuenick@ 821s # valuenum: @valuenum@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-production ***/ 821s # 821s # /*** BEGIN value-tail ***/ 821s # value-tail 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-tail ***/ 821s # 821s # /*** BEGIN comment ***/ 821s # comment 821s # comment: @comment@ 821s # /*** END comment ***/ 821s # 821s # /*** BEGIN file-tail ***/ 821s # file-tail 821s # /*** END file-tail ***/ 821s # 821s # Response file contains: --template /tmp/tmpca7bfbjl/tmpt_ltgeyg.template /tmp/tmpca7bfbjl/tmp8q2wr2c4.h 821s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpca7bfbjl/tmp15goufoi'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: comment 821s # 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. 821s # 821s # 821s # file-header 821s # file-production 821s # filename: /tmp/tmpca7bfbjl/tmp8q2wr2c4.h 821s # basename: tmp8q2wr2c4.h 821s # enumeration-production 821s # EnumName: GDBusServerFlags 821s # enum_name: g_dbus_server_flags 821s # ENUMNAME: G_DBUS_SERVER_FLAGS 821s # ENUMSHORT: DBUS_SERVER_FLAGS 821s # ENUMPREFIX: G 821s # enumsince: 821s # type: flags 821s # Type: Flags 821s # TYPE: FLAGS 821s # value-header 821s # EnumName: GDBusServerFlags 821s # enum_name: g_dbus_server_flags 821s # ENUMNAME: G_DBUS_SERVER_FLAGS 821s # ENUMSHORT: DBUS_SERVER_FLAGS 821s # ENUMPREFIX: G 821s # enumsince: 821s # type: flags 821s # Type: Flags 821s # TYPE: FLAGS 821s # value-production 821s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 821s # valuenick: user 821s # valuenum: 4 821s # type: flags 821s # Type: Flags 821s # TYPE: FLAGS 821s # value-tail 821s # EnumName: GDBusServerFlags 821s # enum_name: g_dbus_server_flags 821s # ENUMNAME: G_DBUS_SERVER_FLAGS 821s # ENUMSHORT: DBUS_SERVER_FLAGS 821s # ENUMPREFIX: G 821s # enumsince: 821s # type: flags 821s # Type: Flags 821s # TYPE: FLAGS 821s # file-tail 821s # 821s # comment 821s # comment: Generated data ends here 821s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 821s # tmpdir: /tmp/tmpmfbyx74m 821s # rspfile: True, mkenums: /usr/bin/glib-mkenums 821s # /tmp/tmpmfbyx74m/tmppqjj5tz0.h: 821s # typedef enum { 821s # 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) 821s # } GDBusServerFlags; 821s # 821s # /tmp/tmpmfbyx74m/tmpj5vdnlwo.template: 821s # /*** BEGIN file-header ***/ 821s # file-header 821s # /*** END file-header ***/ 821s # 821s # /*** BEGIN file-production ***/ 821s # file-production 821s # filename: @filename@ 821s # basename: @basename@ 821s # /*** END file-production ***/ 821s # 821s # /*** BEGIN enumeration-production ***/ 821s # enumeration-production 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END enumeration-production ***/ 821s # 821s # /*** BEGIN value-header ***/ 821s # value-header 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-header ***/ 821s # 821s # /*** BEGIN value-production ***/ 821s # value-production 821s # VALUENAME: @VALUENAME@ 821s # valuenick: @valuenick@ 821s # valuenum: @valuenum@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-production ***/ 821s # 821s # /*** BEGIN value-tail ***/ 821s # value-tail 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-tail ***/ 821s # 821s # /*** BEGIN comment ***/ 821s # comment 821s # comment: @comment@ 821s # /*** END comment ***/ 821s # 821s # /*** BEGIN file-tail ***/ 821s # file-tail 821s # /*** END file-tail ***/ 821s # 821s # Response file contains: --template /tmp/tmpmfbyx74m/tmpj5vdnlwo.template /tmp/tmpmfbyx74m/tmppqjj5tz0.h 821s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmfbyx74m/tmp1ljv0ym8'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: comment 821s # 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. 821s # 821s # 821s # file-header 821s # file-production 821s # filename: /tmp/tmpmfbyx74m/tmppqjj5tz0.h 821s # basename: tmppqjj5tz0.h 821s # enumeration-production 821s # EnumName: GDBusServerFlags 821s # enum_name: g_dbus_server_flags 821s # ENUMNAME: G_DBUS_SERVER_FLAGS 821s # ENUMSHORT: DBUS_SERVER_FLAGS 821s # ENUMPREFIX: G 821s # enumsince: 821s # type: flags 821s # Type: Flags 821s # TYPE: FLAGS 821s # value-header 821s # EnumName: GDBusServerFlags 821s # enum_name: g_dbus_server_flags 821s # ENUMNAME: G_DBUS_SERVER_FLAGS 821s # ENUMSHORT: DBUS_SERVER_FLAGS 821s # ENUMPREFIX: G 821s # enumsince: 821s # type: flags 821s # Type: Flags 821s # TYPE: FLAGS 821s # value-production 821s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 821s # valuenick: user 821s # valuenum: 4 821s # type: flags 821s # Type: Flags 821s # TYPE: FLAGS 821s # value-tail 821s # EnumName: GDBusServerFlags 821s # enum_name: g_dbus_server_flags 821s # ENUMNAME: G_DBUS_SERVER_FLAGS 821s # ENUMSHORT: DBUS_SERVER_FLAGS 821s # ENUMPREFIX: G 821s # enumsince: 821s # type: flags 821s # Type: Flags 821s # TYPE: FLAGS 821s # file-tail 821s # 821s # comment 821s # comment: Generated data ends here 821s ok 23 __main__.TestRspMkenums.test_empty_header 821s # tmpdir: /tmp/tmphcq5ftqq 821s # rspfile: True, mkenums: /usr/bin/glib-mkenums 821s # /tmp/tmphcq5ftqq/tmp8ccijrt3.h: 821s # /tmp/tmphcq5ftqq/tmpqkrr94_v.template: 821s # /*** BEGIN file-header ***/ 821s # file-header 821s # /*** END file-header ***/ 821s # 821s # /*** BEGIN file-production ***/ 821s # file-production 821s # filename: @filename@ 821s # basename: @basename@ 821s # /*** END file-production ***/ 821s # 821s # /*** BEGIN enumeration-production ***/ 821s # enumeration-production 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END enumeration-production ***/ 821s # 821s # /*** BEGIN value-header ***/ 821s # value-header 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-header ***/ 821s # 821s # /*** BEGIN value-production ***/ 821s # value-production 821s # VALUENAME: @VALUENAME@ 821s # valuenick: @valuenick@ 821s # valuenum: @valuenum@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-production ***/ 821s # 821s # /*** BEGIN value-tail ***/ 821s # value-tail 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-tail ***/ 821s # 821s # /*** BEGIN comment ***/ 821s # comment 821s # comment: @comment@ 821s # /*** END comment ***/ 821s # 821s # /*** BEGIN file-tail ***/ 821s # file-tail 821s # /*** END file-tail ***/ 821s # 821s # Response file contains: --template /tmp/tmphcq5ftqq/tmpqkrr94_v.template /tmp/tmphcq5ftqq/tmp8ccijrt3.h 821s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphcq5ftqq/tmpveropywr'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: comment 821s # 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. 821s # 821s # 821s # file-header 821s # file-tail 821s # 821s # comment 821s # comment: Generated data ends here 821s ok 24 __main__.TestRspMkenums.test_empty_template 821s # tmpdir: /tmp/tmphvwlxyji 821s # rspfile: True, mkenums: /usr/bin/glib-mkenums 821s # /tmp/tmphvwlxyji/tmpsl5zleko.template: 821s # Response file contains: --template /tmp/tmphvwlxyji/tmpsl5zleko.template 821s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphvwlxyji/tmpfhcycak6'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # 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. */ 821s # 821s # 821s # /* Generated data ends here */ 821s ok 25 __main__.TestRspMkenums.test_enum_name 821s # tmpdir: /tmp/tmptfqpcojw 821s # rspfile: True, mkenums: /usr/bin/glib-mkenums 821s # /tmp/tmptfqpcojw/tmpfpzguvjb.h: 821s # typedef enum _SomeEnumIdentifier { 821s # ENUM_VALUE 821s # } SomeEnumIdentifier; 821s # 821s # /tmp/tmptfqpcojw/tmpd3zvm99i.template: 821s # /*** BEGIN file-header ***/ 821s # file-header 821s # /*** END file-header ***/ 821s # 821s # /*** BEGIN file-production ***/ 821s # file-production 821s # filename: @filename@ 821s # basename: @basename@ 821s # /*** END file-production ***/ 821s # 821s # /*** BEGIN enumeration-production ***/ 821s # enumeration-production 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END enumeration-production ***/ 821s # 821s # /*** BEGIN value-header ***/ 821s # value-header 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-header ***/ 821s # 821s # /*** BEGIN value-production ***/ 821s # value-production 821s # VALUENAME: @VALUENAME@ 821s # valuenick: @valuenick@ 821s # valuenum: @valuenum@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-production ***/ 821s # 821s # /*** BEGIN value-tail ***/ 821s # value-tail 821s # EnumName: @EnumName@ 821s # enum_name: @enum_name@ 821s # ENUMNAME: @ENUMNAME@ 821s # ENUMSHORT: @ENUMSHORT@ 821s # ENUMPREFIX: @ENUMPREFIX@ 821s # enumsince: @enumsince@ 821s # type: @type@ 821s # Type: @Type@ 821s # TYPE: @TYPE@ 821s # /*** END value-tail ***/ 821s # 821s # /*** BEGIN comment ***/ 821s # comment 821s # comment: @comment@ 821s # /*** END comment ***/ 821s # 821s # /*** BEGIN file-tail ***/ 821s # file-tail 821s # /*** END file-tail ***/ 821s # 821s # Response file contains: --template /tmp/tmptfqpcojw/tmpd3zvm99i.template /tmp/tmptfqpcojw/tmpfpzguvjb.h 821s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmptfqpcojw/tmp5kk7gj2n'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: comment 821s # 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. 821s # 821s # 821s # file-header 821s # file-production 821s # filename: /tmp/tmptfqpcojw/tmpfpzguvjb.h 821s # basename: tmpfpzguvjb.h 821s # enumeration-production 821s # EnumName: SomeEnumIdentifier 821s # enum_name: some_enum_identifier 821s # ENUMNAME: SOME_ENUM_IDENTIFIER 821s # ENUMSHORT: ENUM_IDENTIFIER 821s # ENUMPREFIX: SOME 821s # enumsince: 821s # type: enum 821s # Type: Enum 821s # TYPE: ENUM 821s # value-header 821s # EnumName: SomeEnumIdentifier 821s # enum_name: some_enum_identifier 821s # ENUMNAME: SOME_ENUM_IDENTIFIER 821s # ENUMSHORT: ENUM_IDENTIFIER 821s # ENUMPREFIX: SOME 821s # enumsince: 821s # type: enum 821s # Type: Enum 821s # TYPE: ENUM 821s # value-production 821s # VALUENAME: ENUM_VALUE 821s # valuenick: value 821s # valuenum: 0 821s # type: enum 821s # Type: Enum 821s # TYPE: ENUM 821s # value-tail 821s # EnumName: SomeEnumIdentifier 821s # enum_name: some_enum_identifier 821s # ENUMNAME: SOME_ENUM_IDENTIFIER 821s # ENUMSHORT: ENUM_IDENTIFIER 821s # ENUMPREFIX: SOME 821s # enumsince: 821s # type: enum 821s # Type: Enum 821s # TYPE: ENUM 821s # file-tail 821s # 821s # comment 821s # comment: Generated data ends here 822s ok 26 __main__.TestRspMkenums.test_enum_private_public 822s # tmpdir: /tmp/tmpktzg53ui 822s # rspfile: True, mkenums: /usr/bin/glib-mkenums 822s # /tmp/tmpktzg53ui/tmphrrhajuw.h: 822s # typedef enum { 822s # ENUM_VALUE_PUBLIC1, 822s # /*< private >*/ 822s # ENUM_VALUE_PRIVATE, 822s # } SomeEnumA 822s # 822s # /tmp/tmpktzg53ui/tmp69gbma2g.template: 822s # /*** BEGIN file-header ***/ 822s # file-header 822s # /*** END file-header ***/ 822s # 822s # /*** BEGIN file-production ***/ 822s # file-production 822s # filename: @filename@ 822s # basename: @basename@ 822s # /*** END file-production ***/ 822s # 822s # /*** BEGIN enumeration-production ***/ 822s # enumeration-production 822s # EnumName: @EnumName@ 822s # enum_name: @enum_name@ 822s # ENUMNAME: @ENUMNAME@ 822s # ENUMSHORT: @ENUMSHORT@ 822s # ENUMPREFIX: @ENUMPREFIX@ 822s # enumsince: @enumsince@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END enumeration-production ***/ 822s # 822s # /*** BEGIN value-header ***/ 822s # value-header 822s # EnumName: @EnumName@ 822s # enum_name: @enum_name@ 822s # ENUMNAME: @ENUMNAME@ 822s # ENUMSHORT: @ENUMSHORT@ 822s # ENUMPREFIX: @ENUMPREFIX@ 822s # enumsince: @enumsince@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END value-header ***/ 822s # 822s # /*** BEGIN value-production ***/ 822s # value-production 822s # VALUENAME: @VALUENAME@ 822s # valuenick: @valuenick@ 822s # valuenum: @valuenum@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END value-production ***/ 822s # 822s # /*** BEGIN value-tail ***/ 822s # value-tail 822s # EnumName: @EnumName@ 822s # enum_name: @enum_name@ 822s # ENUMNAME: @ENUMNAME@ 822s # ENUMSHORT: @ENUMSHORT@ 822s # ENUMPREFIX: @ENUMPREFIX@ 822s # enumsince: @enumsince@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END value-tail ***/ 822s # 822s # /*** BEGIN comment ***/ 822s # comment 822s # comment: @comment@ 822s # /*** END comment ***/ 822s # 822s # /*** BEGIN file-tail ***/ 822s # file-tail 822s # /*** END file-tail ***/ 822s # 822s # Response file contains: --template /tmp/tmpktzg53ui/tmp69gbma2g.template /tmp/tmpktzg53ui/tmphrrhajuw.h 822s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpktzg53ui/tmp9v_54zqt'] 822s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 822s # Output: comment 822s # 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. 822s # 822s # 822s # file-header 822s # file-production 822s # filename: /tmp/tmpktzg53ui/tmphrrhajuw.h 822s # basename: tmphrrhajuw.h 822s # enumeration-production 822s # EnumName: SomeEnumA 822s # enum_name: some_enum_a 822s # ENUMNAME: SOME_ENUM_A 822s # ENUMSHORT: ENUM_A 822s # ENUMPREFIX: SOME 822s # enumsince: 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # value-header 822s # EnumName: SomeEnumA 822s # enum_name: some_enum_a 822s # ENUMNAME: SOME_ENUM_A 822s # ENUMSHORT: ENUM_A 822s # ENUMPREFIX: SOME 822s # enumsince: 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # value-production 822s # VALUENAME: ENUM_VALUE_PUBLIC1 822s # valuenick: public1 822s # valuenum: 0 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # value-tail 822s # EnumName: SomeEnumA 822s # enum_name: some_enum_a 822s # ENUMNAME: SOME_ENUM_A 822s # ENUMSHORT: ENUM_A 822s # ENUMPREFIX: SOME 822s # enumsince: 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # file-tail 822s # 822s # comment 822s # comment: Generated data ends here 822s # /tmp/tmpktzg53ui/tmpu9irujlv.h: 822s # typedef enum { 822s # /*< private >*/ 822s # ENUM_VALUE_PRIVATE, 822s # /*< public >*/ 822s # ENUM_VALUE_PUBLIC2, 822s # } SomeEnumB; 822s # 822s # /tmp/tmpktzg53ui/tmpr4molwgx.template: 822s # /*** BEGIN file-header ***/ 822s # file-header 822s # /*** END file-header ***/ 822s # 822s # /*** BEGIN file-production ***/ 822s # file-production 822s # filename: @filename@ 822s # basename: @basename@ 822s # /*** END file-production ***/ 822s # 822s # /*** BEGIN enumeration-production ***/ 822s # enumeration-production 822s # EnumName: @EnumName@ 822s # enum_name: @enum_name@ 822s # ENUMNAME: @ENUMNAME@ 822s # ENUMSHORT: @ENUMSHORT@ 822s # ENUMPREFIX: @ENUMPREFIX@ 822s # enumsince: @enumsince@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END enumeration-production ***/ 822s # 822s # /*** BEGIN value-header ***/ 822s # value-header 822s # EnumName: @EnumName@ 822s # enum_name: @enum_name@ 822s # ENUMNAME: @ENUMNAME@ 822s # ENUMSHORT: @ENUMSHORT@ 822s # ENUMPREFIX: @ENUMPREFIX@ 822s # enumsince: @enumsince@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END value-header ***/ 822s # 822s # /*** BEGIN value-production ***/ 822s # value-production 822s # VALUENAME: @VALUENAME@ 822s # valuenick: @valuenick@ 822s # valuenum: @valuenum@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END value-production ***/ 822s # 822s # /*** BEGIN value-tail ***/ 822s # value-tail 822s # EnumName: @EnumName@ 822s # enum_name: @enum_name@ 822s # ENUMNAME: @ENUMNAME@ 822s # ENUMSHORT: @ENUMSHORT@ 822s # ENUMPREFIX: @ENUMPREFIX@ 822s # enumsince: @enumsince@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END value-tail ***/ 822s # 822s # /*** BEGIN comment ***/ 822s # comment 822s # comment: @comment@ 822s # /*** END comment ***/ 822s # 822s # /*** BEGIN file-tail ***/ 822s # file-tail 822s # /*** END file-tail ***/ 822s # 822s # Response file contains: --template /tmp/tmpktzg53ui/tmpr4molwgx.template /tmp/tmpktzg53ui/tmpu9irujlv.h 822s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpktzg53ui/tmp1xkmgizr'] 822s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 822s # Output: comment 822s # 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. 822s # 822s # 822s # file-header 822s # file-production 822s # filename: /tmp/tmpktzg53ui/tmpu9irujlv.h 822s # basename: tmpu9irujlv.h 822s # enumeration-production 822s # EnumName: SomeEnumB 822s # enum_name: some_enum_b 822s # ENUMNAME: SOME_ENUM_B 822s # ENUMSHORT: ENUM_B 822s # ENUMPREFIX: SOME 822s # enumsince: 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # value-header 822s # EnumName: SomeEnumB 822s # enum_name: some_enum_b 822s # ENUMNAME: SOME_ENUM_B 822s # ENUMSHORT: ENUM_B 822s # ENUMPREFIX: SOME 822s # enumsince: 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # value-production 822s # VALUENAME: ENUM_VALUE_PUBLIC2 822s # valuenick: public2 822s # valuenum: 1 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # value-tail 822s # EnumName: SomeEnumB 822s # enum_name: some_enum_b 822s # ENUMNAME: SOME_ENUM_B 822s # ENUMSHORT: ENUM_B 822s # ENUMPREFIX: SOME 822s # enumsince: 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # file-tail 822s # 822s # comment 822s # comment: Generated data ends here 822s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 822s # tmpdir: /tmp/tmpand2n96z 822s # rspfile: True, mkenums: /usr/bin/glib-mkenums 822s # /tmp/tmpand2n96z/tmp7h4v7xd3.h: 822s # typedef enum { 822s # /*< private >*/ 822s # ENUM_VALUE_PRIVATE = 5, 822s # /*< public >*/ 822s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 822s # } TestSymbolicEnum; 822s # 822s # /tmp/tmpand2n96z/tmpdxx8gvw1.template: 822s # /*** BEGIN file-header ***/ 822s # file-header 822s # /*** END file-header ***/ 822s # 822s # /*** BEGIN file-production ***/ 822s # file-production 822s # filename: @filename@ 822s # basename: @basename@ 822s # /*** END file-production ***/ 822s # 822s # /*** BEGIN enumeration-production ***/ 822s # enumeration-production 822s # EnumName: @EnumName@ 822s # enum_name: @enum_name@ 822s # ENUMNAME: @ENUMNAME@ 822s # ENUMSHORT: @ENUMSHORT@ 822s # ENUMPREFIX: @ENUMPREFIX@ 822s # enumsince: @enumsince@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END enumeration-production ***/ 822s # 822s # /*** BEGIN value-header ***/ 822s # value-header 822s # EnumName: @EnumName@ 822s # enum_name: @enum_name@ 822s # ENUMNAME: @ENUMNAME@ 822s # ENUMSHORT: @ENUMSHORT@ 822s # ENUMPREFIX: @ENUMPREFIX@ 822s # enumsince: @enumsince@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END value-header ***/ 822s # 822s # /*** BEGIN value-production ***/ 822s # value-production 822s # VALUENAME: @VALUENAME@ 822s # valuenick: @valuenick@ 822s # valuenum: @valuenum@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END value-production ***/ 822s # 822s # /*** BEGIN value-tail ***/ 822s # value-tail 822s # EnumName: @EnumName@ 822s # enum_name: @enum_name@ 822s # ENUMNAME: @ENUMNAME@ 822s # ENUMSHORT: @ENUMSHORT@ 822s # ENUMPREFIX: @ENUMPREFIX@ 822s # enumsince: @enumsince@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END value-tail ***/ 822s # 822s # /*** BEGIN comment ***/ 822s # comment 822s # comment: @comment@ 822s # /*** END comment ***/ 822s # 822s # /*** BEGIN file-tail ***/ 822s # file-tail 822s # /*** END file-tail ***/ 822s # 822s # Response file contains: --template /tmp/tmpand2n96z/tmpdxx8gvw1.template /tmp/tmpand2n96z/tmp7h4v7xd3.h 822s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpand2n96z/tmptnijmld8'] 822s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 822s # Output: comment 822s # 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. 822s # 822s # 822s # file-header 822s # file-production 822s # filename: /tmp/tmpand2n96z/tmp7h4v7xd3.h 822s # basename: tmp7h4v7xd3.h 822s # enumeration-production 822s # EnumName: TestSymbolicEnum 822s # enum_name: test_symbolic_enum 822s # ENUMNAME: TEST_SYMBOLIC_ENUM 822s # ENUMSHORT: SYMBOLIC_ENUM 822s # ENUMPREFIX: TEST 822s # enumsince: 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # value-header 822s # EnumName: TestSymbolicEnum 822s # enum_name: test_symbolic_enum 822s # ENUMNAME: TEST_SYMBOLIC_ENUM 822s # ENUMSHORT: SYMBOLIC_ENUM 822s # ENUMPREFIX: TEST 822s # enumsince: 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # value-production 822s # VALUENAME: ENUM_VALUE_PUBLIC 822s # valuenick: public 822s # valuenum: 7 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # value-tail 822s # EnumName: TestSymbolicEnum 822s # enum_name: test_symbolic_enum 822s # ENUMNAME: TEST_SYMBOLIC_ENUM 822s # ENUMSHORT: SYMBOLIC_ENUM 822s # ENUMPREFIX: TEST 822s # enumsince: 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # file-tail 822s # 822s # comment 822s # comment: Generated data ends here 822s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 822s # tmpdir: /tmp/tmp79t4lg72 822s # rspfile: True, mkenums: /usr/bin/glib-mkenums 822s # /tmp/tmp79t4lg72/tmp1c5isdlt.template: 822s # /*** BEGIN file-header ***/ 822s # file-header 822s # filename: @filename@ 822s # basename: @basename@ 822s # /*** END file-header ***/ 822s # 822s # /*** BEGIN comment ***/ 822s # comment 822s # comment: @comment@ 822s # /*** END comment ***/ 822s # 822s # /*** BEGIN file-tail ***/ 822s # file-tail 822s # filename: @filename@ 822s # basename: @basename@ 822s # /*** END file-tail ***/ 822s # Response file contains: --template /tmp/tmp79t4lg72/tmp1c5isdlt.template 822s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp79t4lg72/tmp1j319som'] 822s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 822s # Output: comment 822s # 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. 822s # 822s # 822s # file-header 822s # filename: @filename@ 822s # basename: @basename@ 822s # file-tail 822s # filename: @filename@ 822s # basename: @basename@ 822s # 822s # comment 822s # comment: Generated data ends here 822s ok 29 __main__.TestRspMkenums.test_help 822s # tmpdir: /tmp/tmpmk9oz7s6 822s # rspfile: True, mkenums: /usr/bin/glib-mkenums 822s # Response file contains: --help 822s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmk9oz7s6/tmp3_389ce7'] 822s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 822s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 822s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 822s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 822s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 822s # [--comments COMMENT_TMPL] [--template TEMPLATE] 822s # [--output OUTPUT] [--version] 822s # [args ...] 822s # 822s # positional arguments: 822s # args One or more input files, or a single argument 822s # @rspfile_path pointing to a file that contains the 822s # actual arguments 822s # 822s # options: 822s # -h, --help show this help message and exit 822s # --identifier-prefix IDPREFIX 822s # Identifier prefix 822s # --symbol-prefix SYMPREFIX 822s # Symbol prefix 822s # --fhead FHEAD Output file header 822s # --ftail FTAIL Output file footer 822s # --fprod FPROD Put out TEXT every time a new input file is being 822s # processed. 822s # --eprod EPROD Per enum text, produced prior to value iterations 822s # --vhead VHEAD Value header, produced before iterating over enum 822s # values 822s # --vprod VPROD Value text, produced for each enum value. 822s # --vtail VTAIL Value tail, produced after iterating over enum values 822s # --comments COMMENT_TMPL 822s # Comment structure 822s # --template TEMPLATE Template file 822s # --output OUTPUT 822s # --version, -v Print version information 822s # 822s # Production text substitutions: 822s # @EnumName@ PrefixTheXEnum 822s # @enum_name@ prefix_the_xenum 822s # @ENUMNAME@ PREFIX_THE_XENUM 822s # @ENUMSHORT@ THE_XENUM 822s # @ENUMPREFIX@ PREFIX 822s # @enumsince@ the user-provided since value given 822s # @VALUENAME@ PREFIX_THE_XVALUE 822s # @valuenick@ the-xvalue 822s # @valuenum@ the integer value (limited support, Since: 2.26) 822s # @type@ either enum or flags 822s # @Type@ either Enum or Flags 822s # @TYPE@ either ENUM or FLAGS 822s # @filename@ name of current input file 822s # @basename@ base name of the current input file (Since: 2.22) 822s ok 30 __main__.TestRspMkenums.test_no_args 822s # tmpdir: /tmp/tmp9zn6tp0y 822s # rspfile: True, mkenums: /usr/bin/glib-mkenums 822s # Response file contains: 822s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9zn6tp0y/tmp1tua_35b'] 822s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 822s # 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. */ 822s # 822s # 822s # /* Generated data ends here */ 822s ok 31 __main__.TestRspMkenums.test_no_headers 822s # tmpdir: /tmp/tmpnjbcu71s 822s # rspfile: True, mkenums: /usr/bin/glib-mkenums 822s # /tmp/tmpnjbcu71s/tmpa3wqlm1k.template: 822s # /*** BEGIN file-header ***/ 822s # file-header 822s # /*** END file-header ***/ 822s # 822s # /*** BEGIN file-production ***/ 822s # file-production 822s # filename: @filename@ 822s # basename: @basename@ 822s # /*** END file-production ***/ 822s # 822s # /*** BEGIN enumeration-production ***/ 822s # enumeration-production 822s # EnumName: @EnumName@ 822s # enum_name: @enum_name@ 822s # ENUMNAME: @ENUMNAME@ 822s # ENUMSHORT: @ENUMSHORT@ 822s # ENUMPREFIX: @ENUMPREFIX@ 822s # enumsince: @enumsince@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END enumeration-production ***/ 822s # 822s # /*** BEGIN value-header ***/ 822s # value-header 822s # EnumName: @EnumName@ 822s # enum_name: @enum_name@ 822s # ENUMNAME: @ENUMNAME@ 822s # ENUMSHORT: @ENUMSHORT@ 822s # ENUMPREFIX: @ENUMPREFIX@ 822s # enumsince: @enumsince@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END value-header ***/ 822s # 822s # /*** BEGIN value-production ***/ 822s # value-production 822s # VALUENAME: @VALUENAME@ 822s # valuenick: @valuenick@ 822s # valuenum: @valuenum@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END value-production ***/ 822s # 822s # /*** BEGIN value-tail ***/ 822s # value-tail 822s # EnumName: @EnumName@ 822s # enum_name: @enum_name@ 822s # ENUMNAME: @ENUMNAME@ 822s # ENUMSHORT: @ENUMSHORT@ 822s # ENUMPREFIX: @ENUMPREFIX@ 822s # enumsince: @enumsince@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END value-tail ***/ 822s # 822s # /*** BEGIN comment ***/ 822s # comment 822s # comment: @comment@ 822s # /*** END comment ***/ 822s # 822s # /*** BEGIN file-tail ***/ 822s # file-tail 822s # /*** END file-tail ***/ 822s # 822s # Response file contains: --template /tmp/tmpnjbcu71s/tmpa3wqlm1k.template 822s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpnjbcu71s/tmpl927c6to'] 822s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 822s # Output: comment 822s # 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. 822s # 822s # 822s # file-header 822s # file-tail 822s # 822s # comment 822s # comment: Generated data ends here 822s ok 32 __main__.TestRspMkenums.test_no_nick 822s # tmpdir: /tmp/tmp9fhkm3b2 822s # rspfile: True, mkenums: /usr/bin/glib-mkenums 822s # /tmp/tmp9fhkm3b2/tmpb45msd68.h: 822s # typedef enum { 822s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 822s # } GeglSamplerType; 822s # 822s # /tmp/tmp9fhkm3b2/tmp8du7jjb5.template: 822s # /*** BEGIN file-header ***/ 822s # file-header 822s # /*** END file-header ***/ 822s # 822s # /*** BEGIN file-production ***/ 822s # file-production 822s # filename: @filename@ 822s # basename: @basename@ 822s # /*** END file-production ***/ 822s # 822s # /*** BEGIN enumeration-production ***/ 822s # enumeration-production 822s # EnumName: @EnumName@ 822s # enum_name: @enum_name@ 822s # ENUMNAME: @ENUMNAME@ 822s # ENUMSHORT: @ENUMSHORT@ 822s # ENUMPREFIX: @ENUMPREFIX@ 822s # enumsince: @enumsince@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END enumeration-production ***/ 822s # 822s # /*** BEGIN value-header ***/ 822s # value-header 822s # EnumName: @EnumName@ 822s # enum_name: @enum_name@ 822s # ENUMNAME: @ENUMNAME@ 822s # ENUMSHORT: @ENUMSHORT@ 822s # ENUMPREFIX: @ENUMPREFIX@ 822s # enumsince: @enumsince@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END value-header ***/ 822s # 822s # /*** BEGIN value-production ***/ 822s # value-production 822s # VALUENAME: @VALUENAME@ 822s # valuenick: @valuenick@ 822s # valuenum: @valuenum@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END value-production ***/ 822s # 822s # /*** BEGIN value-tail ***/ 822s # value-tail 822s # EnumName: @EnumName@ 822s # enum_name: @enum_name@ 822s # ENUMNAME: @ENUMNAME@ 822s # ENUMSHORT: @ENUMSHORT@ 822s # ENUMPREFIX: @ENUMPREFIX@ 822s # enumsince: @enumsince@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END value-tail ***/ 822s # 822s # /*** BEGIN comment ***/ 822s # comment 822s # comment: @comment@ 822s # /*** END comment ***/ 822s # 822s # /*** BEGIN file-tail ***/ 822s # file-tail 822s # /*** END file-tail ***/ 822s # 822s # Response file contains: --template /tmp/tmp9fhkm3b2/tmp8du7jjb5.template /tmp/tmp9fhkm3b2/tmpb45msd68.h 822s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9fhkm3b2/tmpnycf_n7m'] 822s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 822s # Output: comment 822s # 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. 822s # 822s # 822s # file-header 822s # file-production 822s # filename: /tmp/tmp9fhkm3b2/tmpb45msd68.h 822s # basename: tmpb45msd68.h 822s # enumeration-production 822s # EnumName: GeglSamplerType 822s # enum_name: gegl_sampler_type 822s # ENUMNAME: GEGL_SAMPLER_TYPE 822s # ENUMSHORT: SAMPLER_TYPE 822s # ENUMPREFIX: GEGL 822s # enumsince: 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # value-header 822s # EnumName: GeglSamplerType 822s # enum_name: gegl_sampler_type 822s # ENUMNAME: GEGL_SAMPLER_TYPE 822s # ENUMSHORT: SAMPLER_TYPE 822s # ENUMPREFIX: GEGL 822s # enumsince: 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # value-production 822s # VALUENAME: GEGL_SAMPLER_NEAREST 822s # valuenick: nearest 822s # valuenum: 0 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # value-tail 822s # EnumName: GeglSamplerType 822s # enum_name: gegl_sampler_type 822s # ENUMNAME: GEGL_SAMPLER_TYPE 822s # ENUMSHORT: SAMPLER_TYPE 822s # ENUMPREFIX: GEGL 822s # enumsince: 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # file-tail 822s # 822s # comment 822s # comment: Generated data ends here 822s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 822s # tmpdir: /tmp/tmpbjlkc92j 822s # rspfile: True, mkenums: /usr/bin/glib-mkenums 822s # /tmp/tmpbjlkc92j/tmp97ntyhcy.h: 822s # /* Copyright © La Peña */ 822s # typedef enum { 822s # ENUM_VALUE 822s # } SomeEnumIdentifier; 822s # 822s # /tmp/tmpbjlkc92j/tmpleku56kb.template: 822s # /*** BEGIN file-header ***/ 822s # file-header 822s # /*** END file-header ***/ 822s # 822s # /*** BEGIN file-production ***/ 822s # file-production 822s # filename: @filename@ 822s # basename: @basename@ 822s # /*** END file-production ***/ 822s # 822s # /*** BEGIN enumeration-production ***/ 822s # enumeration-production 822s # EnumName: @EnumName@ 822s # enum_name: @enum_name@ 822s # ENUMNAME: @ENUMNAME@ 822s # ENUMSHORT: @ENUMSHORT@ 822s # ENUMPREFIX: @ENUMPREFIX@ 822s # enumsince: @enumsince@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END enumeration-production ***/ 822s # 822s # /*** BEGIN value-header ***/ 822s # value-header 822s # EnumName: @EnumName@ 822s # enum_name: @enum_name@ 822s # ENUMNAME: @ENUMNAME@ 822s # ENUMSHORT: @ENUMSHORT@ 822s # ENUMPREFIX: @ENUMPREFIX@ 822s # enumsince: @enumsince@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END value-header ***/ 822s # 822s # /*** BEGIN value-production ***/ 822s # value-production 822s # VALUENAME: @VALUENAME@ 822s # valuenick: @valuenick@ 822s # valuenum: @valuenum@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END value-production ***/ 822s # 822s # /*** BEGIN value-tail ***/ 822s # value-tail 822s # EnumName: @EnumName@ 822s # enum_name: @enum_name@ 822s # ENUMNAME: @ENUMNAME@ 822s # ENUMSHORT: @ENUMSHORT@ 822s # ENUMPREFIX: @ENUMPREFIX@ 822s # enumsince: @enumsince@ 822s # type: @type@ 822s # Type: @Type@ 822s # TYPE: @TYPE@ 822s # /*** END value-tail ***/ 822s # 822s # /*** BEGIN comment ***/ 822s # comment 822s # comment: @comment@ 822s # /*** END comment ***/ 822s # 822s # /*** BEGIN file-tail ***/ 822s # file-tail 822s # /*** END file-tail ***/ 822s # 822s # Response file contains: --template /tmp/tmpbjlkc92j/tmpleku56kb.template /tmp/tmpbjlkc92j/tmp97ntyhcy.h 822s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbjlkc92j/tmpd1rjkthm'] 822s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 822s # Output: comment 822s # 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. 822s # 822s # 822s # file-header 822s # file-production 822s # filename: /tmp/tmpbjlkc92j/tmp97ntyhcy.h 822s # basename: tmp97ntyhcy.h 822s # enumeration-production 822s # EnumName: SomeEnumIdentifier 822s # enum_name: some_enum_identifier 822s # ENUMNAME: SOME_ENUM_IDENTIFIER 822s # ENUMSHORT: ENUM_IDENTIFIER 822s # ENUMPREFIX: SOME 822s # enumsince: 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # value-header 822s # EnumName: SomeEnumIdentifier 822s # enum_name: some_enum_identifier 822s # ENUMNAME: SOME_ENUM_IDENTIFIER 822s # ENUMSHORT: ENUM_IDENTIFIER 822s # ENUMPREFIX: SOME 822s # enumsince: 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # value-production 822s # VALUENAME: ENUM_VALUE 822s # valuenick: value 822s # valuenum: 0 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # value-tail 822s # EnumName: SomeEnumIdentifier 822s # enum_name: some_enum_identifier 822s # ENUMNAME: SOME_ENUM_IDENTIFIER 822s # ENUMSHORT: ENUM_IDENTIFIER 822s # ENUMPREFIX: SOME 822s # enumsince: 822s # type: enum 822s # Type: Enum 822s # TYPE: ENUM 822s # file-tail 822s # 822s # comment 822s # comment: Generated data ends here 822s ok 34 __main__.TestRspMkenums.test_reproducible 822s # tmpdir: /tmp/tmp10oanqg5 822s # rspfile: True, mkenums: /usr/bin/glib-mkenums 822s # /tmp/tmp10oanqg5/tmp90p3t3hz.template: template 822s # Response file contains: --template /tmp/tmp10oanqg5/tmp90p3t3hz.template /tmp/tmp10oanqg5/tmpde394mjz1.h /tmp/tmp10oanqg5/tmp6k4hlswo2.h 822s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp10oanqg5/tmplco41kj9'] 822s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 822s # 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. */ 822s # 822s # 822s # /* Generated data ends here */ 822s # /tmp/tmp10oanqg5/tmpqanicbe4.template: template 822s # Response file contains: --template /tmp/tmp10oanqg5/tmpqanicbe4.template /tmp/tmp10oanqg5/tmp6k4hlswo2.h /tmp/tmp10oanqg5/tmpde394mjz1.h 822s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp10oanqg5/tmpfwnetoig'] 822s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 822s # 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. */ 822s # 822s # 822s # /* Generated data ends here */ 823s ok 35 __main__.TestRspMkenums.test_since 823s # tmpdir: /tmp/tmpc17ozc72 823s # rspfile: True, mkenums: /usr/bin/glib-mkenums 823s # /tmp/tmpc17ozc72/tmp5r90zfuv.h: 823s # typedef enum { /*< since=1.0 >*/ 823s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 823s # } QmiWmsMessageProtocol; 823s # 823s # /tmp/tmpc17ozc72/tmp25k7g4sa.template: 823s # /*** BEGIN file-header ***/ 823s # file-header 823s # /*** END file-header ***/ 823s # 823s # /*** BEGIN file-production ***/ 823s # file-production 823s # filename: @filename@ 823s # basename: @basename@ 823s # /*** END file-production ***/ 823s # 823s # /*** BEGIN enumeration-production ***/ 823s # enumeration-production 823s # EnumName: @EnumName@ 823s # enum_name: @enum_name@ 823s # ENUMNAME: @ENUMNAME@ 823s # ENUMSHORT: @ENUMSHORT@ 823s # ENUMPREFIX: @ENUMPREFIX@ 823s # enumsince: @enumsince@ 823s # type: @type@ 823s # Type: @Type@ 823s # TYPE: @TYPE@ 823s # /*** END enumeration-production ***/ 823s # 823s # /*** BEGIN value-header ***/ 823s # value-header 823s # EnumName: @EnumName@ 823s # enum_name: @enum_name@ 823s # ENUMNAME: @ENUMNAME@ 823s # ENUMSHORT: @ENUMSHORT@ 823s # ENUMPREFIX: @ENUMPREFIX@ 823s # enumsince: @enumsince@ 823s # type: @type@ 823s # Type: @Type@ 823s # TYPE: @TYPE@ 823s # /*** END value-header ***/ 823s # 823s # /*** BEGIN value-production ***/ 823s # value-production 823s # VALUENAME: @VALUENAME@ 823s # valuenick: @valuenick@ 823s # valuenum: @valuenum@ 823s # type: @type@ 823s # Type: @Type@ 823s # TYPE: @TYPE@ 823s # /*** END value-production ***/ 823s # 823s # /*** BEGIN value-tail ***/ 823s # value-tail 823s # EnumName: @EnumName@ 823s # enum_name: @enum_name@ 823s # ENUMNAME: @ENUMNAME@ 823s # ENUMSHORT: @ENUMSHORT@ 823s # ENUMPREFIX: @ENUMPREFIX@ 823s # enumsince: @enumsince@ 823s # type: @type@ 823s # Type: @Type@ 823s # TYPE: @TYPE@ 823s # /*** END value-tail ***/ 823s # 823s # /*** BEGIN comment ***/ 823s # comment 823s # comment: @comment@ 823s # /*** END comment ***/ 823s # 823s # /*** BEGIN file-tail ***/ 823s # file-tail 823s # /*** END file-tail ***/ 823s # 823s # Response file contains: --template /tmp/tmpc17ozc72/tmp25k7g4sa.template /tmp/tmpc17ozc72/tmp5r90zfuv.h 823s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpc17ozc72/tmpll0nolsk'] 823s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 823s # Output: comment 823s # 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. 823s # 823s # 823s # file-header 823s # file-production 823s # filename: /tmp/tmpc17ozc72/tmp5r90zfuv.h 823s # basename: tmp5r90zfuv.h 823s # enumeration-production 823s # EnumName: QmiWmsMessageProtocol 823s # enum_name: qmi_wms_message_protocol 823s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 823s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 823s # ENUMPREFIX: QMI 823s # enumsince: 1.0 823s # type: enum 823s # Type: Enum 823s # TYPE: ENUM 823s # value-header 823s # EnumName: QmiWmsMessageProtocol 823s # enum_name: qmi_wms_message_protocol 823s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 823s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 823s # ENUMPREFIX: QMI 823s # enumsince: 1.0 823s # type: enum 823s # Type: Enum 823s # TYPE: ENUM 823s # value-production 823s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 823s # valuenick: cdma 823s # valuenum: 0 823s # type: enum 823s # Type: Enum 823s # TYPE: ENUM 823s # value-tail 823s # EnumName: QmiWmsMessageProtocol 823s # enum_name: qmi_wms_message_protocol 823s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 823s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 823s # ENUMPREFIX: QMI 823s # enumsince: 1.0 823s # type: enum 823s # Type: Enum 823s # TYPE: ENUM 823s # file-tail 823s # 823s # comment 823s # comment: Generated data ends here 823s ok 36 __main__.TestRspMkenums.test_with_double_quotes 823s # tmpdir: /tmp/tmpcmagn9w1 823s # rspfile: True, mkenums: /usr/bin/glib-mkenums 823s # /tmp/tmpcmagn9w1/tmpgvs7a_8i.h: 823s # typedef enum { 823s # FOO_VALUE /*< nick="eek, a comma" >*/ 823s # } Foo; 823s # 823s # /tmp/tmpcmagn9w1/tmp_ng9yi25.template: 823s # /*** BEGIN file-header ***/ 823s # file-header 823s # /*** END file-header ***/ 823s # 823s # /*** BEGIN file-production ***/ 823s # file-production 823s # filename: @filename@ 823s # basename: @basename@ 823s # /*** END file-production ***/ 823s # 823s # /*** BEGIN enumeration-production ***/ 823s # enumeration-production 823s # EnumName: @EnumName@ 823s # enum_name: @enum_name@ 823s # ENUMNAME: @ENUMNAME@ 823s # ENUMSHORT: @ENUMSHORT@ 823s # ENUMPREFIX: @ENUMPREFIX@ 823s # enumsince: @enumsince@ 823s # type: @type@ 823s # Type: @Type@ 823s # TYPE: @TYPE@ 823s # /*** END enumeration-production ***/ 823s # 823s # /*** BEGIN value-header ***/ 823s # value-header 823s # EnumName: @EnumName@ 823s # enum_name: @enum_name@ 823s # ENUMNAME: @ENUMNAME@ 823s # ENUMSHORT: @ENUMSHORT@ 823s # ENUMPREFIX: @ENUMPREFIX@ 823s # enumsince: @enumsince@ 823s # type: @type@ 823s # Type: @Type@ 823s # TYPE: @TYPE@ 823s # /*** END value-header ***/ 823s # 823s # /*** BEGIN value-production ***/ 823s # value-production 823s # VALUENAME: @VALUENAME@ 823s # valuenick: @valuenick@ 823s # valuenum: @valuenum@ 823s # type: @type@ 823s # Type: @Type@ 823s # TYPE: @TYPE@ 823s # /*** END value-production ***/ 823s # 823s # /*** BEGIN value-tail ***/ 823s # value-tail 823s # EnumName: @EnumName@ 823s # enum_name: @enum_name@ 823s # ENUMNAME: @ENUMNAME@ 823s # ENUMSHORT: @ENUMSHORT@ 823s # ENUMPREFIX: @ENUMPREFIX@ 823s # enumsince: @enumsince@ 823s # type: @type@ 823s # Type: @Type@ 823s # TYPE: @TYPE@ 823s # /*** END value-tail ***/ 823s # 823s # /*** BEGIN comment ***/ 823s # comment 823s # comment: @comment@ 823s # /*** END comment ***/ 823s # 823s # /*** BEGIN file-tail ***/ 823s # file-tail 823s # /*** END file-tail ***/ 823s # 823s # Response file contains: --template /tmp/tmpcmagn9w1/tmp_ng9yi25.template /tmp/tmpcmagn9w1/tmpgvs7a_8i.h 823s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpcmagn9w1/tmphvdpu1j2'] 823s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-XJUD7gqEsf,guid=94a6605de3607b4b5e10aea865fef754', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.eF7yjn/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Bo9ZHz7YBj', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.KyIKGR/Xauthority', 'SUDO_COMMAND': '/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.eF7yjn/wrapper.sh --artifacts=/tmp/autopkgtest.eF7yjn/installed-tests-artifacts --chdir=/tmp/autopkgtest.eF7yjn/build.AOh/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.eF7yjn/installed-tests-stderr --stdout=/tmp/autopkgtest.eF7yjn/installed-tests-stdout --tmp=/tmp/autopkgtest.eF7yjn/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 --make-executable=/tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests -- /tmp/autopkgtest.eF7yjn/build.AOh/src/debian/tests/installed-tests', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.eF7yjn/build.AOh/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.eF7yjn/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 823s # Output: comment 823s # 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. 823s # 823s # 823s # file-header 823s # file-production 823s # filename: /tmp/tmpcmagn9w1/tmpgvs7a_8i.h 823s # basename: tmpgvs7a_8i.h 823s # enumeration-production 823s # EnumName: Foo 823s # enum_name: foo_ 823s # ENUMNAME: FOO_ 823s # ENUMSHORT: 823s # ENUMPREFIX: FOO 823s # enumsince: 823s # type: enum 823s # Type: Enum 823s # TYPE: ENUM 823s # value-header 823s # EnumName: Foo 823s # enum_name: foo_ 823s # ENUMNAME: FOO_ 823s # ENUMSHORT: 823s # ENUMPREFIX: FOO 823s # enumsince: 823s # type: enum 823s # Type: Enum 823s # TYPE: ENUM 823s # value-production 823s # VALUENAME: FOO_VALUE 823s # valuenick: eek, a comma 823s # valuenum: 0 823s # type: enum 823s # Type: Enum 823s # TYPE: ENUM 823s # value-tail 823s # EnumName: Foo 823s # enum_name: foo_ 823s # ENUMNAME: FOO_ 823s # ENUMSHORT: 823s # ENUMPREFIX: FOO 823s # enumsince: 823s # type: enum 823s # Type: Enum 823s # TYPE: ENUM 823s # file-tail 823s # 823s # comment 823s # comment: Generated data ends here 823s 1..36 823s ok - glib/mkenums.py.test 823s # Running test: glib/gdbus-connection-loss.test 823s TAP version 13 823s # random seed: R02Se221c2e25359540d051acb41620e7e1b 823s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 823s 1..1 823s # Start of gdbus tests 823s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_VWG0K2/gdbus/connection-loss/.dirs/home 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_VWG0K2/gdbus/connection-loss/.dirs/cache 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_VWG0K2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_VWG0K2/gdbus/connection-loss/.dirs/system-config2 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_VWG0K2/gdbus/connection-loss/.dirs/config 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_VWG0K2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_VWG0K2/gdbus/connection-loss/.dirs/system-data2 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_VWG0K2/gdbus/connection-loss/.dirs/data 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_VWG0K2/gdbus/connection-loss/.dirs/state 823s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_VWG0K2/gdbus/connection-loss/.dirs/runtime 823s ok 1 /gdbus/connection-loss 823s # End of gdbus tests 823s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 823s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 823s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 823s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 823s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 823s ok - glib/gdbus-connection-loss.test 823s # Running test: glib/atomic-c-11.test 823s TAP version 13 823s # random seed: R02Scbf127418207b6dc35562429c7843106 823s 1..2 823s # Start of atomic tests 823s ok 1 /atomic/types 823s ok 2 /atomic/threaded 823s # End of atomic tests 823s ok - glib/atomic-c-11.test 823s # Running test: glib/spawn-test.test 823s TAP version 13 823s # random seed: R02Se632c6fa00c7793f7919b4cd20db55bd 823s 1..2 823s # Start of spawn tests 823s ok 1 /spawn/basics 823s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 823s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 823s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 823s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 823s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 823s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 823s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 823s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 823s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 823s # Fetching GSpawn result output with stdin open, stdout open, stderr open 823s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 823s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 823s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 823s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 823s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 823s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 823s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 823s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 823s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 823s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 823s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 823s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 823s # Executing: glib/spawn-test.test 823s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 823s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 823s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 823s # Fetching GSpawn result with stdin open, stdout open, stderr open 823s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 823s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 823s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 823s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 823s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 823s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 823s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 823s ok 2 /spawn/stdio-overwrite 823s # End of spawn tests 823s ok - glib/spawn-test.test 823s # Running test: glib/gmenumodel.test 823s TAP version 13 823s # random seed: R02Sf858eee9df687c7efc2dc13427d765ac 823s 1..14 823s # Start of gmenu tests 824s ok 1 /gmenu/equality 824s # slow test /gmenu/equality executed in 1.16 secs 826s ok 2 /gmenu/random 826s # slow test /gmenu/random executed in 1.49 secs 826s ok 3 /gmenu/attributes 826s ok 4 /gmenu/links 826s ok 5 /gmenu/mutable 826s ok 6 /gmenu/convenience 826s ok 7 /gmenu/menuitem 826s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 826s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 826s ok 8 /gmenu/input-validation 826s # Start of dbus tests 826s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 827s ok 9 /gmenu/dbus/roundtrip 827s # slow test /gmenu/dbus/roundtrip executed in 1.10 secs 827s ok 10 /gmenu/dbus/subscriptions 828s # Executing: glib/gmenumodel.test 829s ok 11 /gmenu/dbus/threaded 829s # slow test /gmenu/dbus/threaded executed in 2.13 secs 829s # Start of peer tests 831s ok 12 /gmenu/dbus/peer/roundtrip 831s # slow test /gmenu/dbus/peer/roundtrip executed in 1.12 secs 831s ok 13 /gmenu/dbus/peer/subscriptions # SKIP Not reliable? #932678 831s # End of peer tests 831s # End of dbus tests 831s # Start of attributes tests 831s ok 14 /gmenu/attributes/iterate 831s # End of attributes tests 831s # End of gmenu tests 831s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 831s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 831s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 831s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 831s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 831s cleaning up pid 14759 831s ok - glib/gmenumodel.test 831s # Running test: glib/option-context.test 831s TAP version 13 831s # random seed: R02Sfd99864e358f2d62e5012dcd47a25c9a 831s 1..57 831s # Start of option tests 831s ok 1 /option/basic 831s ok 2 /option/translate 831s ok 3 /option/strict-posix 831s # Start of help tests 831s ok 4 /option/help/options 831s ok 5 /option/help/no-options 831s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 831s ok 6 /option/help/no-help-options 831s # End of help tests 831s # Start of group tests 831s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 831s ok 7 /option/group/captions 831s ok 8 /option/group/main 831s ok 9 /option/group/error-hook 831s ok 10 /option/group/parse 831s # Start of captions tests 831s # Start of subprocess tests 831s # End of subprocess tests 831s # End of captions tests 831s # End of group tests 831s # Start of restoration tests 831s ok 11 /option/restoration/int 831s ok 12 /option/restoration/string 831s ok 13 /option/restoration/boolean 831s # End of restoration tests 831s # Start of arg tests 831s ok 14 /option/arg/reverse-string 831s ok 15 /option/arg/optional-int 831s # Start of repetition tests 831s ok 16 /option/arg/repetition/int 831s ok 17 /option/arg/repetition/string 831s ok 18 /option/arg/repetition/filename 831s ok 19 /option/arg/repetition/double 831s ok 20 /option/arg/repetition/locale 831s ok 21 /option/arg/repetition/int64 831s # End of repetition tests 831s # Start of array tests 831s ok 22 /option/arg/array/string 831s # End of array tests 831s # Start of callback tests 831s ok 23 /option/arg/callback/string 831s ok 24 /option/arg/callback/count 831s ok 25 /option/arg/callback/optional1 831s ok 26 /option/arg/callback/optional2 831s ok 27 /option/arg/callback/optional3 831s ok 28 /option/arg/callback/optional4 831s ok 29 /option/arg/callback/optional5 831s ok 30 /option/arg/callback/optional6 831s ok 31 /option/arg/callback/optional7 831s ok 32 /option/arg/callback/optional8 831s # End of callback tests 831s # Start of remaining tests 831s ok 33 /option/arg/remaining/callback 831s ok 34 /option/arg/remaining/callback-false 831s ok 35 /option/arg/remaining/non-option 831s ok 36 /option/arg/remaining/separator 831s ok 37 /option/arg/remaining/array 831s # End of remaining tests 831s # Start of ignore tests 831s ok 38 /option/arg/ignore/long 831s ok 39 /option/arg/ignore/short 831s ok 40 /option/arg/ignore/arg 831s # End of ignore tests 831s # Start of rest tests 831s ok 41 /option/arg/rest/non-option 831s ok 42 /option/arg/rest/separator1 831s ok 43 /option/arg/rest/separator2 831s ok 44 /option/arg/rest/separator3 831s ok 45 /option/arg/rest/separator4 831s ok 46 /option/arg/rest/separator5 831s # End of rest tests 831s # End of arg tests 831s # Start of context tests 831s ok 47 /option/context/add 831s ok 48 /option/context/empty2 831s ok 49 /option/context/empty3 831s # End of context tests 831s # Start of bug tests 831s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 831s ok 50 /option/bug/unknown-short 831s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 831s ok 51 /option/bug/lonely-dash 831s ok 52 /option/bug/triple-dash 831s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 831s ok 53 /option/bug/missing-arg 831s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 831s ok 54 /option/bug/dash-arg 831s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 831s ok 55 /option/bug/short-remaining 831s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 831s ok 56 /option/bug/double-free 831s ok 57 /option/bug/double-zero 831s # End of bug tests 831s # End of option tests 831s ok - glib/option-context.test 831s # Running test: glib/async-splice-output-stream.test 831s TAP version 13 831s # random seed: R02S90f74002c6d649dfbb4d2d785b70b640 831s 1..5 831s # Start of async-splice tests 831s ok 1 /async-splice/copy-chunks 831s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 831s ok 2 /async-splice/copy-chunks-threaded-input 831s ok 3 /async-splice/copy-chunks-threaded-output 831s ok 4 /async-splice/copy-chunks-threaded 831s ok 5 /async-splice/cancelled 831s # End of async-splice tests 831s ok - glib/async-splice-output-stream.test 831s # Running test: glib/closure-refcount.test 831s TAP version 13 831s # random seed: R02S35ccb7be31708543b549f6459f667271 831s 1..1 831s # Start of closure tests 831s # Init 0x2aa128dc1d0 831s # Yielding from main thread 831s # Yielding from thread2 831s # Yielding from main thread 831s # Yielding from main thread 831s # Yielding from thread1 831s # Yielding from thread2 831s # Yielding from main thread 831s # Yielding from main thread 831s # Yielding from main thread 831s # Yielding from thread1 831s # Yielding from thread2 831s # Yielding from main thread 831s # Yielding from main thread 831s # Yielding from thread2 831s # Yielding from thread1 831s # Yielding from main thread 831s # Yielding from thread1 831s # Yielding from main thread 831s # Yielding from thread2 831s # Yielding from main thread 831s # Yielding from main thread 831s # Yielding from thread2 831s # Yielding from thread1 831s # Yielding from main thread 831s # Yielding from thread2 831s # Yielding from main thread 831s # Yielding from thread1 831s # Yielding from main thread 831s # Yielding from thread2 831s # Yielding from main thread 831s # Yielding from thread1 831s # Yielding from main thread 831s # Yielding from main thread 831s # Yielding from main thread 831s # Yielding from thread2 831s # Yielding from main thread 831s # Yielding from thread1 831s # Yielding from main thread 831s # Yielding from main thread 831s # Yielding from thread2 831s # Yielding from thread1 831s # Yielding from main thread 831s # Yielding from thread2 831s # Yielding from main thread 831s # Yielding from main thread 831s # Yielding from thread1 831s # Yielding from thread2 831s # Yielding from main thread 831s # Yielding from main thread 831s # Yielding from main thread 831s # Yielding from main thread 831s # Yielding from thread1 831s # Yielding from thread2 831s # Yielding from main thread 831s # Yielding from main thread 831s # Yielding from main thread 831s # Yielding from thread1 831s # Yielding from main thread 831s # Yielding from thread2 831s # Yielding from main thread 831s # Yielding from thread1 832s # Yielding from main thread 832s # Yielding from thread2 832s # Yielding from thread1 832s # Yielding from main thread 832s # Yielding from thread2 832s # Yielding from main thread 832s # Yielding from main thread 832s # Yielding from thread2 832s # Yielding from thread1 832s # Yielding from main thread 832s # Yielding from main thread 832s # Yielding from thread1 832s # Yielding from thread2 832s # Yielding from main thread 832s # Yielding from main thread 832s # Yielding from thread1 832s # Yielding from thread2 832s # Yielding from main thread 832s # Yielding from thread1 832s # Yielding from thread2 832s # Yielding from main thread 832s # Yielding from main thread 832s # Yielding from main thread 832s # Yielding from thread1 832s # Yielding from thread2 832s # Yielding from main thread 832s # Yielding from thread1 832s # Yielding from main thread 832s # Yielding from main thread 832s # Yielding from thread2 832s # Yielding from thread1 832s # Yielding from main thread 832s # Yielding from main thread 832s # Yielding from thread2 832s # Yielding from thread1 832s # Yielding from main thread 832s # Yielding from main thread 832s # Yielding from thread2 832s # Yielding from thread1 832s # Yielding from main thread 832s # Yielding from main thread 832s # Yielding from thread1 832s # Yielding from thread2 832s # Yielding from main thread 832s # Yielding from main thread 832s # Yielding from thread2 832s # Yielding from thread1 832s # Yielding from main thread 832s # Yielding from thread1 832s # Yielding from main thread 832s # Yielding from thread2 832s # Yielding from main thread 832s # Yielding from main thread 832s # Yielding from thread2 832s # Yielding from thread1 832s # Yielding from main thread 832s # Yielding from thread1 833s # Yielding from main thread 833s # Yielding from thread2 833s # Yielding from main thread 833s # Yielding from thread2 833s # Yielding from main thread 833s # Yielding from main thread 833s # Yielding from thread1 833s # Yielding from main thread 833s # Yielding from thread2 833s # Yielding from main thread 833s # Yielding from thread1 833s # Yielding from thread2 833s # Yielding from main thread 833s # Yielding from thread1 833s # Yielding from main thread 833s # Yielding from thread2 833s # Yielding from main thread 833s # Yielding from main thread 833s # Yielding from main thread 833s # Yielding from main thread 833s # Yielding from thread2 833s # Yielding from main thread 833s # Yielding from thread1 833s # Yielding from thread2 833s # Yielding from main thread 833s # Yielding from main thread 833s # Yielding from thread1 833s # Yielding from main thread 833s # Yielding from thread2 833s # Yielding from main thread 833s # Yielding from thread1 833s # Yielding from main thread 833s # Yielding from thread2 833s # Yielding from main thread 833s # Yielding from main thread 833s # Executing: glib/closure-refcount.test 833s # Yielding from main thread 833s # Yielding from thread1 833s # Yielding from thread2 833s # Yielding from thread1 833s # Yielding from main thread 833s # Yielding from thread2 833s # Yielding from main thread 833s # Yielding from thread2 833s # Yielding from thread1 833s # Yielding from main thread 833s # Yielding from main thread 833s # Yielding from thread2 833s # Yielding from thread1 833s # Yielding from main thread 833s # Yielding from main thread 833s # Yielding from thread2 833s # Yielding from thread1 833s # Yielding from main thread 833s # Yielding from thread2 833s # Yielding from thread1 833s # Yielding from main thread 834s # Yielding from main thread 834s # Yielding from main thread 834s # Yielding from thread1 834s # Yielding from main thread 834s # Yielding from thread2 834s # Yielding from main thread 834s # Yielding from main thread 834s # Yielding from thread2 834s # Yielding from main thread 834s # Yielding from main thread 834s # Yielding from thread1 834s # Yielding from main thread 834s # Yielding from thread2 834s # Yielding from thread1 834s # Stopping 834s # Stopped 834s ok 1 /closure/refcount 834s # slow test /closure/refcount executed in 3.06 secs 834s # End of closure tests 834s ok - glib/closure-refcount.test 834s # Running test: glib/memory-monitor-dbus.test 834s TAP version 13 834s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 834s 1..1 834s ok - glib/memory-monitor-dbus.test 834s # Running test: glib/hostutils.test 834s TAP version 13 834s # random seed: R02S7bd3cfd3397644342a5f9b12a124842d 834s 1..3 834s # Start of hostutils tests 834s ok 1 /hostutils/to_ascii 834s ok 2 /hostutils/to_unicode 834s ok 3 /hostutils/is_ip_addr 834s # End of hostutils tests 834s ok - glib/hostutils.test 834s # Running test: glib/module-test-plugin.test 834s TAP version 13 834s # random seed: R02Sc6f63217ce75f21b25b943bd69e266f3 834s 1..2 834s # Start of module tests 834s ok 1 /module/basics 834s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 834s ok 2 /module/invalid-libtool-archive 834s # End of module tests 834s ok - glib/module-test-plugin.test 834s # Running test: glib/network-monitor-race.test 834s TAP version 13 834s # random seed: R02Saf232a0c8f18c382941cbd8e4e267919 834s 1..1 834s # Start of network-monitor tests 834s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 836s ok 1 /network-monitor/create-in-thread 836s # slow test /network-monitor/create-in-thread executed in 2.28 secs 836s # End of network-monitor tests 836s ok - glib/network-monitor-race.test 836s # Running test: glib/gdbus-exit-on-close.test 836s TAP version 13 836s # random seed: R02S5a9fe5e905f14fbf42d293ff211569ee 836s 1..4 836s # Start of gdbus tests 836s # Start of exit-on-close tests 836s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/default/.dirs/home 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/default/.dirs/cache 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/default/.dirs/system-config2 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/default/.dirs/config 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/default/.dirs/system-data2 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/default/.dirs/data 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/default/.dirs/state 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/default/.dirs/runtime 836s ok 1 /gdbus/exit-on-close/default 836s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/true/.dirs/home 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/true/.dirs/cache 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/true/.dirs/system-config2 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/true/.dirs/config 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/true/.dirs/system-data2 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/true/.dirs/data 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/true/.dirs/state 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/true/.dirs/runtime 836s ok 2 /gdbus/exit-on-close/true 836s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/false/.dirs/home 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/false/.dirs/cache 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/false/.dirs/system-config2 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/false/.dirs/config 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/false/.dirs/system-data2 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/false/.dirs/data 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/false/.dirs/state 836s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/false/.dirs/runtime 837s ok 3 /gdbus/exit-on-close/false 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/we-close/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/we-close/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/we-close/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/we-close/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/we-close/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/we-close/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/we-close/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_RJCMK2/gdbus/exit-on-close/we-close/.dirs/runtime 837s ok 4 /gdbus/exit-on-close/we-close 837s # Start of default tests 837s # End of default tests 837s # Start of true tests 837s # End of true tests 837s # Start of false tests 837s # End of false tests 837s # Start of we-close tests 837s # End of we-close tests 837s # End of exit-on-close tests 837s # End of gdbus tests 837s ok - glib/gdbus-exit-on-close.test 837s # Running test: glib/gdbus-error.test 837s TAP version 13 837s # random seed: R02S0f4d3f765307de39de98ba8cf2ca5517 837s 1..4 837s # Start of gdbus tests 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/registered-errors/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/registered-errors/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_LGJZK2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_LGJZK2/gdbus/registered-errors/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/registered-errors/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_LGJZK2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_LGJZK2/gdbus/registered-errors/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/registered-errors/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/registered-errors/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_LGJZK2/gdbus/registered-errors/.dirs/runtime 837s ok 1 /gdbus/registered-errors 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/unregistered-errors/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/unregistered-errors/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_LGJZK2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_LGJZK2/gdbus/unregistered-errors/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/unregistered-errors/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_LGJZK2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_LGJZK2/gdbus/unregistered-errors/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/unregistered-errors/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/unregistered-errors/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_LGJZK2/gdbus/unregistered-errors/.dirs/runtime 837s ok 2 /gdbus/unregistered-errors 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/transparent-gerror/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/transparent-gerror/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_LGJZK2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_LGJZK2/gdbus/transparent-gerror/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/transparent-gerror/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_LGJZK2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_LGJZK2/gdbus/transparent-gerror/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/transparent-gerror/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/transparent-gerror/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_LGJZK2/gdbus/transparent-gerror/.dirs/runtime 837s ok 3 /gdbus/transparent-gerror 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/register-error/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/register-error/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_LGJZK2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_LGJZK2/gdbus/register-error/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/register-error/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_LGJZK2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_LGJZK2/gdbus/register-error/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/register-error/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_LGJZK2/gdbus/register-error/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_LGJZK2/gdbus/register-error/.dirs/runtime 837s ok 4 /gdbus/register-error 837s # End of gdbus tests 837s ok - glib/gdbus-error.test 837s # Running test: glib/gdbus-serialization.test 837s TAP version 13 837s # random seed: R02S383de38b344aea8a41f02e1e221bc95c 837s 1..18 837s # Start of gdbus tests 837s # Start of message-serialize tests 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/basic/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/basic/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/basic/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/basic/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/basic/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/basic/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/basic/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/basic/.dirs/runtime 837s ok 1 /gdbus/message-serialize/basic 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/complex/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/complex/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/complex/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/complex/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/complex/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/complex/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/complex/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/complex/.dirs/runtime 837s ok 2 /gdbus/message-serialize/complex 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/invalid/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/invalid/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/invalid/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/invalid/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/invalid/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/invalid/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/invalid/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/invalid/.dirs/runtime 837s ok 3 /gdbus/message-serialize/invalid 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/.dirs/runtime 837s ok 4 /gdbus/message-serialize/header-checks 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/double-array/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/double-array/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/double-array/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/double-array/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/double-array/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/double-array/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/double-array/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/double-array/.dirs/runtime 837s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 837s ok 5 /gdbus/message-serialize/double-array 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/empty-structure/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/empty-structure/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/empty-structure/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/empty-structure/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/empty-structure/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/empty-structure/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/empty-structure/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/empty-structure/.dirs/runtime 837s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 837s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 837s ok 6 /gdbus/message-serialize/empty-structure 837s # Start of header-checks tests 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/valid/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/valid/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/valid/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/valid/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/valid/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 837s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 837s ok 7 /gdbus/message-serialize/header-checks/valid 837s # End of header-checks tests 837s # End of message-serialize tests 837s # Start of message-parse tests 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 837s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 837s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/non-signature-header/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/non-signature-header/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/non-signature-header/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/non-signature-header/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/non-signature-header/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/non-signature-header/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/non-signature-header/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/non-signature-header/.dirs/runtime 837s ok 9 /gdbus/message-parse/non-signature-header 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-signature-header/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-signature-header/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-signature-header/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-signature-header/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-signature-header/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-signature-header/.dirs/runtime 837s ok 10 /gdbus/message-parse/empty-signature-header 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/multiple-signature-header/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/multiple-signature-header/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/multiple-signature-header/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/multiple-signature-header/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/multiple-signature-header/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 837s ok 11 /gdbus/message-parse/multiple-signature-header 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/over-long-signature-header/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/over-long-signature-header/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/over-long-signature-header/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/over-long-signature-header/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/over-long-signature-header/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 837s ok 12 /gdbus/message-parse/over-long-signature-header 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-header-nesting/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-header-nesting/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-header-nesting/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-header-nesting/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-header-nesting/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 837s ok 13 /gdbus/message-parse/deep-header-nesting 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-body-nesting/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-body-nesting/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-body-nesting/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-body-nesting/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-body-nesting/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 837s ok 14 /gdbus/message-parse/deep-body-nesting 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/truncated/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/truncated/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/truncated/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/truncated/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/truncated/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/truncated/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/truncated/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/truncated/.dirs/runtime 837s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 837s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 837s ok 15 /gdbus/message-parse/truncated 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-structure/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-structure/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-structure/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-structure/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-structure/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-structure/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-structure/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/empty-structure/.dirs/runtime 837s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 837s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 837s ok 16 /gdbus/message-parse/empty-structure 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/missing-header/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/missing-header/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/missing-header/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/missing-header/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/missing-header/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/missing-header/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/missing-header/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/missing-header/.dirs/runtime 837s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 837s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 837s ok 17 /gdbus/message-parse/missing-header 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/invalid-header-type/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/invalid-header-type/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/invalid-header-type/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/invalid-header-type/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/invalid-header-type/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_DDAZK2/gdbus/message-parse/invalid-header-type/.dirs/runtime 837s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 837s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 837s ok 18 /gdbus/message-parse/invalid-header-type 837s # End of message-parse tests 837s # End of gdbus tests 837s ok - glib/gdbus-serialization.test 837s # Running test: glib/cxx-17.test 837s TAP version 13 837s # random seed: R02S8b1b5f5100e939ebd9e7cdd033f5f7ce 837s 1..2 837s # Start of gtask tests 837s # 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. 837s ok 1 /gtask/name 837s # Start of name tests 837s # 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. 837s ok 2 /gtask/name/macro-wrapper 837s # End of name tests 837s # End of gtask tests 837s ok - glib/cxx-17.test 837s # Running test: glib/gdbus-server-auth.test 837s TAP version 13 837s # random seed: R02Sd3f1bc6972ab1877143511fdb03ae4d3 837s 1..9 837s # Start of gdbus tests 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/.dirs/runtime 837s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1U10K2/gdbus-server-auth-K820K2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 837s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1U10K2/gdbus-server-auth-K820K2/dbus-4W4UmjAS 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14958 837s ok 1 /gdbus/server-auth 837s # Start of server-auth tests 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/abstract/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/abstract/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/abstract/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/abstract/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/abstract/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/abstract/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/abstract/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/abstract/.dirs/runtime 837s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_1U10K2/gdbus-server-auth-67P0K2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 837s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1U10K2/gdbus-server-auth-67P0K2/dbus-4PNW7MC9 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 837s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 837s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14958 837s ok 2 /gdbus/server-auth/abstract 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/tcp/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/tcp/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/tcp/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/tcp/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/tcp/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/tcp/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/tcp/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/tcp/.dirs/runtime 837s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 837s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/.dirs/runtime 837s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1U10K2/gdbus-server-auth-SEMXK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 837s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1U10K2/gdbus-server-auth-SEMXK2/dbus-csuXfo0Q 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14958 837s ok 4 /gdbus/server-auth/anonymous 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/.dirs/runtime 837s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1U10K2/gdbus-server-auth-8ENWK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 837s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1U10K2/gdbus-server-auth-8ENWK2/dbus-eJyJdx6V 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14958 837s ok 5 /gdbus/server-auth/external 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/.dirs/runtime 837s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1U10K2/gdbus-server-auth-M7GWK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 837s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 837s # Start of anonymous tests 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/tcp/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/tcp/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/tcp/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/tcp/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/tcp/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 837s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 837s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 837s # End of anonymous tests 837s # Start of external tests 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/require-same-user/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/require-same-user/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/require-same-user/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/require-same-user/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/require-same-user/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/external/require-same-user/.dirs/runtime 837s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1U10K2/gdbus-server-auth-RC8YK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 837s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1U10K2/gdbus-server-auth-RC8YK2/dbus-TfC3m0jO 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 14958 837s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 837s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 837s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 837s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=14958,uid=1000,gid=1000 837s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 14958 837s ok 8 /gdbus/server-auth/external/require-same-user 837s # End of external tests 837s # Start of sha1 tests 837s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/tcp/.dirs/home 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/tcp/.dirs/cache 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/tcp/.dirs/config 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/tcp/.dirs/data 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/tcp/.dirs/state 837s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1U10K2/gdbus/server-auth/sha1/tcp/.dirs/runtime 837s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 837s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 837s # End of sha1 tests 837s # End of server-auth tests 837s # End of gdbus tests 837s ok - glib/gdbus-server-auth.test 837s # Running test: glib/utf8-performance.test 837s TAP version 13 837s # random seed: R02S2239061ada9b8567e171c7e1f1ede772 837s 1..36 837s # Start of utf8 tests 837s # Start of perf tests 837s # Start of get_char tests 837s # max perf: 43.0 MB/s 837s ok 1 /utf8/perf/get_char/ascii 837s # max perf: 67.0 MB/s 837s ok 2 /utf8/perf/get_char/latin1 837s # max perf: 160.0 MB/s 837s ok 3 /utf8/perf/get_char/cyrillic 837s # max perf: inf MB/s 837s ok 4 /utf8/perf/get_char/han 837s # End of get_char tests 837s # Start of get_char-backwards tests 837s # max perf: 43.0 MB/s 837s ok 5 /utf8/perf/get_char-backwards/ascii 837s # max perf: 67.0 MB/s 837s ok 6 /utf8/perf/get_char-backwards/latin1 837s # max perf: 160.0 MB/s 837s ok 7 /utf8/perf/get_char-backwards/cyrillic 837s # max perf: 156.0 MB/s 837s ok 8 /utf8/perf/get_char-backwards/han 837s # End of get_char-backwards tests 837s # Start of get_char_validated tests 837s # max perf: 43.0 MB/s 837s ok 9 /utf8/perf/get_char_validated/ascii 837s # max perf: inf MB/s 837s ok 10 /utf8/perf/get_char_validated/latin1 837s # max perf: inf MB/s 837s ok 11 /utf8/perf/get_char_validated/cyrillic 837s # max perf: 156.0 MB/s 837s ok 12 /utf8/perf/get_char_validated/han 837s # End of get_char_validated tests 837s # Start of utf8_to_ucs4 tests 837s # max perf: 43.0 MB/s 837s ok 13 /utf8/perf/utf8_to_ucs4/ascii 837s # max perf: 67.0 MB/s 837s ok 14 /utf8/perf/utf8_to_ucs4/latin1 837s # max perf: 160.0 MB/s 837s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 837s # max perf: 156.0 MB/s 837s ok 16 /utf8/perf/utf8_to_ucs4/han 837s # End of utf8_to_ucs4 tests 837s # Start of utf8_to_ucs4-sized tests 837s # max perf: inf MB/s 837s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 837s # max perf: 67.0 MB/s 837s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 837s # max perf: 160.0 MB/s 837s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 837s # max perf: inf MB/s 837s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 837s # End of utf8_to_ucs4-sized tests 837s # Start of utf8_to_ucs4_fast tests 837s # max perf: 43.0 MB/s 837s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 837s # max perf: inf MB/s 837s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 837s # max perf: 160.0 MB/s 837s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 837s # max perf: inf MB/s 837s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 837s # End of utf8_to_ucs4_fast tests 837s # Start of utf8_to_ucs4_fast-sized tests 837s # max perf: 43.0 MB/s 837s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 837s # max perf: 67.0 MB/s 837s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 837s # max perf: 160.0 MB/s 837s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 837s # max perf: 156.0 MB/s 837s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 837s # End of utf8_to_ucs4_fast-sized tests 837s # Start of utf8_validate tests 837s # max perf: inf MB/s 837s ok 29 /utf8/perf/utf8_validate/ascii 837s # max perf: inf MB/s 837s ok 30 /utf8/perf/utf8_validate/latin1 837s # max perf: 160.0 MB/s 837s ok 31 /utf8/perf/utf8_validate/cyrillic 837s # max perf: inf MB/s 837s ok 32 /utf8/perf/utf8_validate/han 837s # End of utf8_validate tests 837s # Start of utf8_validate-sized tests 837s # max perf: inf MB/s 837s ok 33 /utf8/perf/utf8_validate-sized/ascii 837s # max perf: inf MB/s 837s ok 34 /utf8/perf/utf8_validate-sized/latin1 837s # max perf: inf MB/s 837s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 837s # max perf: 156.0 MB/s 837s ok 36 /utf8/perf/utf8_validate-sized/han 837s # End of utf8_validate-sized tests 837s # End of perf tests 837s # End of utf8 tests 837s ok - glib/utf8-performance.test 837s # Running test: glib/atomic-c-90.test 837s TAP version 13 837s # random seed: R02S9ed2ab643ae080a38f3a9ff51aaeb220 837s 1..2 837s # Start of atomic tests 837s ok 1 /atomic/types 837s ok 2 /atomic/threaded 837s # End of atomic tests 837s ok - glib/atomic-c-90.test 837s # Running test: glib/bindinggroup.test 837s TAP version 13 837s # random seed: R02Sced6ecfa4c03c4b7ee49d128cbad6e95 837s 1..11 837s # Start of GObject tests 837s # Start of BindingGroup tests 837s ok 1 /GObject/BindingGroup/invalid 837s ok 2 /GObject/BindingGroup/default 837s ok 3 /GObject/BindingGroup/bidirectional 837s ok 4 /GObject/BindingGroup/transform 837s ok 5 /GObject/BindingGroup/transform-closures 837s ok 6 /GObject/BindingGroup/same-object 837s ok 7 /GObject/BindingGroup/weak-ref-source 837s ok 8 /GObject/BindingGroup/weak-ref-target 837s ok 9 /GObject/BindingGroup/properties 837s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 837s ok 11 /GObject/BindingGroup/empty-closures 837s # End of BindingGroup tests 837s # End of GObject tests 837s ok - glib/bindinggroup.test 837s # Running test: glib/socket-address.test 837s TAP version 13 837s # random seed: R02S193e22d5c37c4c529e451429c783209b 837s 1..2 837s # Start of socket tests 837s # Start of address tests 837s # Start of unix tests 837s ok 1 /socket/address/unix/construct 837s ok 2 /socket/address/unix/to-string 837s # End of unix tests 837s # End of address tests 837s # End of socket tests 837s ok - glib/socket-address.test 837s # Running test: glib/rec-mutex.test 837s TAP version 13 837s # random seed: R02S1f6cc2beab1e49df1a0328607c927fa3 837s 1..29 837s # Start of thread tests 837s ok 1 /thread/rec-mutex1 837s ok 2 /thread/rec-mutex2 837s ok 3 /thread/rec-mutex3 837s ok 4 /thread/rec-mutex4 837s # Start of rec-mutex tests 837s # Start of perf tests 837s # Start of uncontended tests 837s # max perf: 1.000000 mips 837s ok 5 /thread/rec-mutex/perf/uncontended/depth1 837s # max perf: 1.000000 mips 837s ok 6 /thread/rec-mutex/perf/uncontended/depth2 837s # max perf: inf mips 837s ok 7 /thread/rec-mutex/perf/uncontended/depth3 837s # max perf: 1.000000 mips 837s ok 8 /thread/rec-mutex/perf/uncontended/depth4 837s # max perf: 1.000000 mips 837s ok 9 /thread/rec-mutex/perf/uncontended/depth5 837s # End of uncontended tests 837s # Start of contended1 tests 837s # max perf: inf mips 837s ok 10 /thread/rec-mutex/perf/contended1/depth1 837s # max perf: inf mips 837s ok 11 /thread/rec-mutex/perf/contended1/depth2 837s # max perf: 2.000000 mips 837s ok 12 /thread/rec-mutex/perf/contended1/depth3 837s # max perf: 2.000000 mips 837s ok 13 /thread/rec-mutex/perf/contended1/depth4 837s # max perf: 2.000000 mips 837s ok 14 /thread/rec-mutex/perf/contended1/depth5 837s # End of contended1 tests 837s # Start of contended2 tests 837s # max perf: 3.000000 mips 837s ok 15 /thread/rec-mutex/perf/contended2/depth1 837s # max perf: inf mips 837s ok 16 /thread/rec-mutex/perf/contended2/depth2 837s # max perf: 3.000000 mips 837s ok 17 /thread/rec-mutex/perf/contended2/depth3 837s # max perf: inf mips 837s ok 18 /thread/rec-mutex/perf/contended2/depth4 837s # max perf: 3.000000 mips 837s ok 19 /thread/rec-mutex/perf/contended2/depth5 837s # End of contended2 tests 837s # Start of contended3 tests 837s # max perf: 4.000000 mips 837s ok 20 /thread/rec-mutex/perf/contended3/depth1 837s # max perf: inf mips 837s ok 21 /thread/rec-mutex/perf/contended3/depth2 837s # max perf: inf mips 837s ok 22 /thread/rec-mutex/perf/contended3/depth3 837s # max perf: inf mips 837s ok 23 /thread/rec-mutex/perf/contended3/depth4 837s # max perf: 4.000000 mips 837s ok 24 /thread/rec-mutex/perf/contended3/depth5 837s # End of contended3 tests 837s # Start of contended4 tests 837s # max perf: inf mips 837s ok 25 /thread/rec-mutex/perf/contended4/depth1 837s # max perf: 2.500000 mips 837s ok 26 /thread/rec-mutex/perf/contended4/depth2 837s # max perf: 5.000000 mips 837s ok 27 /thread/rec-mutex/perf/contended4/depth3 837s # max perf: 5.000000 mips 837s ok 28 /thread/rec-mutex/perf/contended4/depth4 837s # max perf: inf mips 837s ok 29 /thread/rec-mutex/perf/contended4/depth5 837s # End of contended4 tests 837s # End of perf tests 837s # End of rec-mutex tests 837s # End of thread tests 837s ok - glib/rec-mutex.test 837s # Running test: glib/tls-bindings.test 837s TAP version 13 837s # random seed: R02S558d6000490a1ce8d8020ed222286f35 837s 1..2 837s # Start of tls-connection tests 837s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 837s ok 1 /tls-connection/get-tls-channel-binding 837s ok 2 /tls-connection/get-dtls-channel-binding 837s # End of tls-connection tests 837s ok - glib/tls-bindings.test 837s # Running test: glib/objects-refcount1.test 837s TAP version 13 837s # random seed: R02Sf5e16ebb05728372b4a0a5cdedab6c2a 837s 1..1 837s # Start of gobject tests 837s # Start of refcount tests 837s # init 0x2aa22cab740 837s # 837s # init 0x2aa22cab8c0 837s # 838s # Executing: glib/objects-refcount1.test 842s # dispose 0x2aa22cab740! 842s # 842s # dispose 0x2aa22cab8c0! 842s # 842s ok 1 /gobject/refcount/object-basics 842s # slow test /gobject/refcount/object-basics executed in 5.00 secs 842s # End of refcount tests 842s # End of gobject tests 842s ok - glib/objects-refcount1.test 842s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 842s TAP version 13 842s # random seed: R02Sa7fd62c8928bee9aa241f0a0bd60d889 842s 1..8 842s # Start of gdbus tests 842s # Start of codegen tests 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/annotations/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/annotations/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/annotations/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/annotations/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/annotations/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/annotations/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/annotations/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/annotations/.dirs/runtime 842s ok 1 /gdbus/codegen/annotations 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/interface_stability/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/interface_stability/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/interface_stability/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/interface_stability/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/interface_stability/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/interface_stability/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/interface_stability/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/interface_stability/.dirs/runtime 842s ok 2 /gdbus/codegen/interface_stability 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/object-manager/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/object-manager/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/object-manager/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/object-manager/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/object-manager/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/object-manager/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/object-manager/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/object-manager/.dirs/runtime 842s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 842s ok 3 /gdbus/codegen/object-manager 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/property-naming/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/property-naming/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/property-naming/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/property-naming/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/property-naming/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/property-naming/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/property-naming/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/property-naming/.dirs/runtime 842s ok 4 /gdbus/codegen/property-naming 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/autocleanups/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/autocleanups/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/autocleanups/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/autocleanups/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/autocleanups/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/autocleanups/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/autocleanups/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/autocleanups/.dirs/runtime 842s ok 5 /gdbus/codegen/autocleanups 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/deprecations/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/deprecations/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/deprecations/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/deprecations/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/deprecations/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/deprecations/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/deprecations/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/deprecations/.dirs/runtime 842s ok 6 /gdbus/codegen/deprecations 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/standalone-interface-info/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/standalone-interface-info/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/standalone-interface-info/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/standalone-interface-info/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/standalone-interface-info/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 842s ok 7 /gdbus/codegen/standalone-interface-info 842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/unix-fd-list/.dirs/home 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/unix-fd-list/.dirs/cache 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/unix-fd-list/.dirs/config 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/unix-fd-list/.dirs/data 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/unix-fd-list/.dirs/state 842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_LJMOK2/gdbus/codegen/unix-fd-list/.dirs/runtime 842s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 842s ok 8 /gdbus/codegen/unix-fd-list 842s # End of codegen tests 842s # End of gdbus tests 842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 842s ok - glib/gdbus-test-codegen-min-required-2-64.test 842s # Running test: glib/utils-c-99.test 842s TAP version 13 842s # random seed: R02Sa757549f673495c191777a569c32613f 842s 1..40 842s # Start of utils tests 842s ok 1 /utils/language-names 842s ok 2 /utils/locale-variants 842s ok 3 /utils/version 842s ok 4 /utils/appname 842s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 842s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 842s ok 5 /utils/prgname-thread-safety 842s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 842s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 842s ok 6 /utils/tmpdir 842s ok 7 /utils/basic_bits 842s ok 8 /utils/bits 842s ok 9 /utils/swap 842s ok 10 /utils/find-program 842s ok 11 /utils/find-program-for-path 842s ok 12 /utils/debug 842s ok 13 /utils/codeset 842s ok 14 /utils/codeset2 842s ok 15 /utils/console-charset 842s ok 16 /utils/gettext 842s ok 17 /utils/username 842s ok 18 /utils/realname 842s ok 19 /utils/hostname 842s ok 20 /utils/xdgdirs 842s ok 21 /utils/specialdir 842s # NAME: Ubuntu 842s ok 22 /utils/os-info 842s ok 23 /utils/clear-pointer 842s ok 24 /utils/clear-pointer-cast 842s ok 25 /utils/take-pointer 842s ok 26 /utils/clear-source 842s ok 27 /utils/misc-mem 842s # /utils/aligned-mem summary: Aligned memory allocator 842s # Alignment must not be zero 842s # Alignment must be a power of two 842s # Alignment must be a multiple of sizeof(void*) 842s ok 28 /utils/aligned-mem 842s # /utils/free-sized summary: Check that g_free_sized() works 842s ok 29 /utils/free-sized 842s ok 30 /utils/nullify 842s ok 31 /utils/atexit 842s ok 32 /utils/check-setuid 842s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 842s ok 33 /utils/int-limits 842s ok 34 /utils/clear-list 842s ok 35 /utils/clear-slist 842s # Start of specialdir tests 842s ok 36 /utils/specialdir/desktop 842s # End of specialdir tests 842s # Start of clear-pointer tests 842s ok 37 /utils/clear-pointer/side-effects 842s # End of clear-pointer tests 842s # Start of aligned-mem tests 842s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 842s ok 38 /utils/aligned-mem/alignment 842s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 842s ok 39 /utils/aligned-mem/zeroed 842s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 842s ok 40 /utils/aligned-mem/free-sized 842s # Start of subprocess tests 842s # End of subprocess tests 842s # End of aligned-mem tests 842s # End of utils tests 842s ok - glib/utils-c-99.test 842s # SUMMARY: total=315; passed=314; skipped=1; failed=0; user=164.6s; system=39.3s; maxrss=205568 843s autopkgtest [15:45:18]: test installed-tests: -----------------------] 844s autopkgtest [15:45:19]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 844s installed-tests PASS 845s autopkgtest [15:45:20]: test closure-refcount: preparing testbed 846s Reading package lists... 846s Building dependency tree... 846s Reading state information... 847s Starting pkgProblemResolver with broken count: 0 847s Starting 2 pkgProblemResolver with broken count: 0 847s Done 847s The following NEW packages will be installed: 847s autopkgtest-satdep 848s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 848s Need to get 0 B/772 B of archives. 848s After this operation, 0 B of additional disk space will be used. 848s Get:1 /tmp/autopkgtest.eF7yjn/4-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 848s Selecting previously unselected package autopkgtest-satdep. 848s (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 ... 53162 files and directories currently installed.) 848s Preparing to unpack .../4-autopkgtest-satdep.deb ... 848s Unpacking autopkgtest-satdep (0) ... 848s Setting up autopkgtest-satdep (0) ... 851s (Reading database ... 53162 files and directories currently installed.) 851s Removing autopkgtest-satdep (0) ... 852s autopkgtest [15:45:27]: test closure-refcount: [----------------------- 852s Running test: glib/closure-refcount.test 852s TAP version 13 852s # random seed: R02S9c641dee7cf532cb5a702317847695c8 852s 1..1 852s # Start of closure tests 852s # Init 0x2aa3cde60a0 852s # Yielding from main thread 852s # Yielding from main thread 852s # Yielding from thread1 852s # Yielding from thread2 852s # Yielding from main thread 852s # Yielding from main thread 852s # Yielding from thread2 852s # Yielding from thread1 852s # Yielding from main thread 852s # Yielding from main thread 852s # Yielding from main thread 852s # Yielding from thread2 852s # Yielding from thread1 852s # Yielding from main thread 852s # Yielding from thread2 852s # Yielding from main thread 852s # Yielding from main thread 852s # Yielding from thread1 852s # Yielding from main thread 852s # Yielding from thread1 852s # Yielding from thread2 852s # Yielding from main thread 852s # Yielding from main thread 852s # Yielding from thread2 852s # Yielding from thread1 852s # Yielding from main thread 852s # Yielding from main thread 852s # Yielding from thread2 853s # Yielding from thread1 853s # Yielding from main thread 853s # Yielding from main thread 853s # Yielding from thread2 853s # Yielding from main thread 853s # Yielding from main thread 853s # Yielding from main thread 853s # Yielding from main thread 853s # Yielding from thread1 853s # Yielding from thread2 853s # Yielding from main thread 853s # Yielding from thread2 853s # Yielding from main thread 853s # Yielding from main thread 853s # Yielding from main thread 853s # Yielding from thread1 853s # Yielding from main thread 853s # Yielding from main thread 853s # Yielding from thread2 853s # Yielding from thread1 853s # Yielding from main thread 853s # Yielding from thread1 853s # Yielding from main thread 853s # Yielding from thread2 853s # Yielding from thread2 853s # Yielding from main thread 853s # Yielding from main thread 853s # Yielding from main thread 853s # Yielding from thread1 853s # Yielding from main thread 853s # Yielding from main thread 853s # Yielding from thread2 853s # Yielding from thread1 853s # Yielding from main thread 853s # Yielding from thread1 853s # Yielding from main thread 853s # Yielding from thread2 853s # Yielding from main thread 853s # Yielding from main thread 853s # Yielding from thread2 853s # Yielding from thread1 853s # Yielding from main thread 853s # Yielding from main thread 853s # Yielding from thread2 853s # Yielding from main thread 853s # Yielding from thread1 853s # Yielding from thread2 853s # Yielding from main thread 853s # Yielding from main thread 853s # Yielding from thread1 853s # Yielding from thread2 853s # Yielding from main thread 853s # Yielding from thread1 853s # Yielding from thread2 853s # Yielding from main thread 853s # Yielding from main thread 853s # Yielding from thread1 853s # Yielding from main thread 853s # Yielding from main thread 853s # Yielding from thread2 853s # Yielding from main thread 853s # Yielding from thread1 853s # Yielding from thread2 853s # Yielding from main thread 853s # Yielding from main thread 853s # Yielding from thread2 853s # Yielding from main thread 853s # Yielding from thread1 853s # Yielding from main thread 853s # Yielding from main thread 853s # Yielding from thread2 853s # Yielding from thread1 853s # Yielding from thread2 853s # Yielding from main thread 853s # Yielding from thread1 853s # Yielding from main thread 853s # Yielding from thread2 854s # Yielding from main thread 854s # Yielding from thread1 854s # Yielding from main thread 854s # Yielding from main thread 854s # Yielding from thread2 854s # Yielding from main thread 854s # Yielding from thread1 854s # Yielding from main thread 854s # Yielding from thread2 854s # Yielding from main thread 854s # Yielding from main thread 854s # Yielding from thread1 854s # Yielding from main thread 854s # Yielding from thread2 854s # Yielding from thread2 854s # Yielding from main thread 854s # Yielding from thread1 854s # Yielding from main thread 854s # Yielding from thread1 854s # Yielding from main thread 854s # Yielding from main thread 854s # Yielding from main thread 854s # Yielding from thread1 854s # Yielding from thread2 854s # Yielding from main thread 854s # Yielding from main thread 854s # Yielding from thread1 854s # Yielding from thread2 854s # Yielding from main thread 854s # Yielding from thread1 854s # Yielding from thread2 854s # Yielding from main thread 854s # Yielding from main thread 854s # Yielding from main thread 854s # Yielding from thread1 854s # Yielding from thread2 854s # Yielding from main thread 854s # Yielding from thread1 854s # Yielding from main thread 854s # Yielding from thread2 854s # Yielding from thread1 854s # Yielding from main thread 854s # Yielding from main thread 854s # Yielding from main thread 854s # Yielding from main thread 854s # Yielding from thread1 854s # Yielding from thread2 854s # Yielding from main thread 854s # Yielding from main thread 854s # Yielding from thread1 854s # Yielding from thread2 854s # Yielding from thread2 854s # Yielding from main thread 854s # Yielding from thread1 854s # Yielding from main thread 854s # Yielding from thread1 854s # Yielding from main thread 854s # Yielding from main thread 854s # Yielding from thread2 854s # Yielding from main thread 854s # Yielding from thread1 854s # Yielding from thread2 855s # Yielding from main thread 855s # Yielding from thread1 855s # Yielding from thread2 855s # Yielding from main thread 855s # Yielding from main thread 855s # Yielding from main thread 855s # Yielding from thread2 855s # Yielding from thread1 855s # Yielding from main thread 855s # Yielding from main thread 855s # Yielding from main thread 855s # Yielding from thread2 855s # Yielding from thread1 855s # Yielding from main thread 855s # Yielding from main thread 855s # Yielding from thread2 855s # Yielding from thread1 855s # Yielding from main thread 855s # Yielding from main thread 855s # Yielding from thread1 855s # Yielding from thread2 855s # Stopping 855s # Stopped 855s ok 1 /closure/refcount 855s # slow test /closure/refcount executed in 2.72 secs 855s # End of closure tests 855s PASS: glib/closure-refcount.test 855s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.2s; system=0.0s; maxrss=3456 855s autopkgtest [15:45:30]: test closure-refcount: -----------------------] 856s autopkgtest [15:45:31]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 856s closure-refcount PASS 856s autopkgtest [15:45:31]: test debugcontroller: preparing testbed 858s Reading package lists... 858s Building dependency tree... 858s Reading state information... 858s Starting pkgProblemResolver with broken count: 0 858s Starting 2 pkgProblemResolver with broken count: 0 858s Done 859s The following NEW packages will be installed: 859s autopkgtest-satdep 859s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 859s Need to get 0 B/776 B of archives. 859s After this operation, 0 B of additional disk space will be used. 859s Get:1 /tmp/autopkgtest.eF7yjn/5-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 859s Selecting previously unselected package autopkgtest-satdep. 859s (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 ... 53162 files and directories currently installed.) 859s Preparing to unpack .../5-autopkgtest-satdep.deb ... 859s Unpacking autopkgtest-satdep (0) ... 859s Setting up autopkgtest-satdep (0) ... 862s (Reading database ... 53162 files and directories currently installed.) 862s Removing autopkgtest-satdep (0) ... 863s autopkgtest [15:45:38]: test debugcontroller: [----------------------- 863s Running test: glib/debugcontroller.test 863s TAP version 13 863s # random seed: R02S44e0a09a2f71d66d54016dd59329b1da 863s 1..3 863s # Start of debug-controller tests 863s # Start of dbus tests 863s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Debug output enabled 863s # GLib-GIO-DEBUG: Debug output disabled 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s ok 1 /debug-controller/dbus/basic 863s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s ok 2 /debug-controller/dbus/duplicate 863s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 863s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 863s # GLib-GIO-DEBUG: Debug output enabled 863s # GLib-GIO-DEBUG: Debug output disabled 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 863s ok 3 /debug-controller/dbus/properties 863s # End of dbus tests 863s # End of debug-controller tests 863s PASS: glib/debugcontroller.test 863s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6144 863s autopkgtest [15:45:38]: test debugcontroller: -----------------------] 864s autopkgtest [15:45:39]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 864s debugcontroller PASS 864s autopkgtest [15:45:39]: test gdbus-server-auth: preparing testbed 866s Reading package lists... 867s Building dependency tree... 867s Reading state information... 867s Starting pkgProblemResolver with broken count: 0 867s Starting 2 pkgProblemResolver with broken count: 0 867s Done 868s The following NEW packages will be installed: 868s autopkgtest-satdep 868s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 868s Need to get 0 B/772 B of archives. 868s After this operation, 0 B of additional disk space will be used. 868s Get:1 /tmp/autopkgtest.eF7yjn/6-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 868s Selecting previously unselected package autopkgtest-satdep. 868s (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 ... 53162 files and directories currently installed.) 868s Preparing to unpack .../6-autopkgtest-satdep.deb ... 868s Unpacking autopkgtest-satdep (0) ... 868s Setting up autopkgtest-satdep (0) ... 871s (Reading database ... 53162 files and directories currently installed.) 871s Removing autopkgtest-satdep (0) ... 872s autopkgtest [15:45:47]: test gdbus-server-auth: [----------------------- 872s Running test: glib/gdbus-server-auth.test 872s TAP version 13 872s # random seed: R02S0e7e82dc64f91d1f43bb32eb3ad3334b 872s 1..9 872s # Start of gdbus tests 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/.dirs/runtime 872s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_A6OOK2/gdbus-server-auth-ONMOK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 872s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_A6OOK2/gdbus-server-auth-ONMOK2/dbus-sE1Av15U 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15822 872s ok 1 /gdbus/server-auth 872s # Start of server-auth tests 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/abstract/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/abstract/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/abstract/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/abstract/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/abstract/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/abstract/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/abstract/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/abstract/.dirs/runtime 872s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_A6OOK2/gdbus-server-auth-UIHOK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 872s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_A6OOK2/gdbus-server-auth-UIHOK2/dbus-ooYI1Hsv 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15822 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 872s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15822 872s ok 2 /gdbus/server-auth/abstract 872s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/tcp/.dirs/home 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/tcp/.dirs/cache 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/tcp/.dirs/system-config2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/tcp/.dirs/config 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/tcp/.dirs/system-data2 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/tcp/.dirs/data 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/tcp/.dirs/state 872s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/tcp/.dirs/runtime 872s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 872s # Connectable address: tcp:host=127.0.0.1,port=43703 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 872s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 872s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 872s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 872s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 872s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 872s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 872s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 872s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 872s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 872s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 872s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 873s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 873s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 873s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 873s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 873s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 873s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 873s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 873s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 873s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 873s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 873s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 873s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 873s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 873s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 873s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 873s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 873s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 873s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 873s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 873s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 873s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 873s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 873s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 873s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 873s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 873s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 873s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 873s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 873s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 873s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 873s ok 3 /gdbus/server-auth/tcp 873s # slow test /gdbus/server-auth/tcp executed in 1.04 secs 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/.dirs/runtime 873s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_A6OOK2/gdbus-server-auth-4T3PK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 873s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_A6OOK2/gdbus-server-auth-4T3PK2/dbus-Vma1jhN1 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15822 873s ok 4 /gdbus/server-auth/anonymous 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/.dirs/runtime 873s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_A6OOK2/gdbus-server-auth-OVOPK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 873s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_A6OOK2/gdbus-server-auth-OVOPK2/dbus-H7SwLrPH 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 873s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15822 873s ok 5 /gdbus/server-auth/external 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/.dirs/runtime 873s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_A6OOK2/gdbus-server-auth-JBFPK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 873s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_A6OOK2/gdbus-server-auth-JBFPK2/dbus-RK33GhpP 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15822 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 873s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15822 873s ok 6 /gdbus/server-auth/sha1 873s # Start of anonymous tests 873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/tcp/.dirs/home 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/tcp/.dirs/config 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/tcp/.dirs/data 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/tcp/.dirs/state 873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 873s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 873s # Connectable address: tcp:host=127.0.0.1,port=42063 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 873s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 873s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 873s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 873s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 873s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 874s ok 7 /gdbus/server-auth/anonymous/tcp 874s # slow test /gdbus/server-auth/anonymous/tcp executed in 1.00 secs 874s # End of anonymous tests 874s # Start of external tests 874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/require-same-user/.dirs/home 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/require-same-user/.dirs/cache 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/require-same-user/.dirs/config 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/require-same-user/.dirs/data 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/require-same-user/.dirs/state 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 874s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_A6OOK2/gdbus-server-auth-AASLK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 874s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_A6OOK2/gdbus-server-auth-AASLK2/dbus-sBou5BYR 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15822 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 874s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15822,uid=1000,gid=1000 874s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15822 874s ok 8 /gdbus/server-auth/external/require-same-user 874s # End of external tests 874s # Start of sha1 tests 874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/tcp/.dirs/home 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/tcp/.dirs/cache 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/tcp/.dirs/config 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/tcp/.dirs/data 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/tcp/.dirs/state 874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_A6OOK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 874s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 874s # Connectable address: tcp:host=127.0.0.1,port=46345 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 874s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 874s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 874s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 874s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 874s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 874s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 874s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 874s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 874s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 875s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 875s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 875s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 875s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 875s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 875s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 875s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 875s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 875s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 875s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 875s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 875s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 875s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 875s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 875s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 875s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 875s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 875s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 875s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 875s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 875s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 875s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 875s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 875s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 875s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 875s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 875s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 875s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 875s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 875s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 875s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 875s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 875s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 875s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 875s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 875s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 875s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 875s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 875s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 875s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 875s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 875s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 875s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 875s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 875s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 875s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 875s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 875s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 875s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 875s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 875s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 875s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 875s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 875s ok 9 /gdbus/server-auth/sha1/tcp 875s # slow test /gdbus/server-auth/sha1/tcp executed in 1.00 secs 875s # End of sha1 tests 875s # End of server-auth tests 875s # End of gdbus tests 875s PASS: glib/gdbus-server-auth.test 875s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8960 876s autopkgtest [15:45:51]: test gdbus-server-auth: -----------------------] 876s autopkgtest [15:45:51]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 876s gdbus-server-auth PASS 877s autopkgtest [15:45:52]: test gdbus-threading: preparing testbed 879s Reading package lists... 879s Building dependency tree... 879s Reading state information... 879s Starting pkgProblemResolver with broken count: 0 879s Starting 2 pkgProblemResolver with broken count: 0 879s Done 880s The following NEW packages will be installed: 880s autopkgtest-satdep 880s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 880s Need to get 0 B/772 B of archives. 880s After this operation, 0 B of additional disk space will be used. 880s Get:1 /tmp/autopkgtest.eF7yjn/7-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 880s Selecting previously unselected package autopkgtest-satdep. 880s (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 ... 53162 files and directories currently installed.) 880s Preparing to unpack .../7-autopkgtest-satdep.deb ... 880s Unpacking autopkgtest-satdep (0) ... 880s Setting up autopkgtest-satdep (0) ... 883s (Reading database ... 53162 files and directories currently installed.) 883s Removing autopkgtest-satdep (0) ... 884s autopkgtest [15:45:59]: test gdbus-threading: [----------------------- 884s Running test: glib/gdbus-threading.test 884s TAP version 13 884s # random seed: R02S9842be98bf184ae9c97f8a535e5f7192 884s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 884s 1..3 884s # Start of gdbus tests 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_JW11K2/gdbus/delivery-in-thread/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_JW11K2/gdbus/delivery-in-thread/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_JW11K2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_JW11K2/gdbus/delivery-in-thread/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_JW11K2/gdbus/delivery-in-thread/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_JW11K2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_JW11K2/gdbus/delivery-in-thread/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_JW11K2/gdbus/delivery-in-thread/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_JW11K2/gdbus/delivery-in-thread/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_JW11K2/gdbus/delivery-in-thread/.dirs/runtime 884s # GLib-GIO-DEBUG: refcount of 0x2aa1c4330c0 is not right (2 rather than 1) in test_delivery_in_thread(), sleeping 884s # GLib-GIO-DEBUG: refcount of 0x2aa1c4330c0 is not right (2 rather than 1) in test_delivery_in_thread(), sleeping 884s ok 1 /gdbus/delivery-in-thread 884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_JW11K2/gdbus/method-calls-in-thread/.dirs/home 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_JW11K2/gdbus/method-calls-in-thread/.dirs/cache 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_JW11K2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_JW11K2/gdbus/method-calls-in-thread/.dirs/system-config2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_JW11K2/gdbus/method-calls-in-thread/.dirs/config 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_JW11K2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_JW11K2/gdbus/method-calls-in-thread/.dirs/system-data2 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_JW11K2/gdbus/method-calls-in-thread/.dirs/data 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_JW11K2/gdbus/method-calls-in-thread/.dirs/state 884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_JW11K2/gdbus/method-calls-in-thread/.dirs/runtime 885s ok 2 /gdbus/method-calls-in-thread 885s # slow test /gdbus/method-calls-in-thread executed in 0.85 secs 885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_JW11K2/gdbus/threaded-singleton/.dirs/home 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_JW11K2/gdbus/threaded-singleton/.dirs/cache 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_JW11K2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_JW11K2/gdbus/threaded-singleton/.dirs/system-config2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_JW11K2/gdbus/threaded-singleton/.dirs/config 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_JW11K2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_JW11K2/gdbus/threaded-singleton/.dirs/system-data2 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_JW11K2/gdbus/threaded-singleton/.dirs/data 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_JW11K2/gdbus/threaded-singleton/.dirs/state 885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_JW11K2/gdbus/threaded-singleton/.dirs/runtime 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: refcount of 0x3ff740039a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 885s # GLib-GIO-DEBUG: refcount of 0x3ff740039a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: refcount of 0x3ff740058e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: refcount of 0x3ff74000f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: refcount of 0x3ff74001e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: refcount of 0x3ff74001e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: refcount of 0x3ff74001e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 885s # GLib-GIO-DEBUG: refcount of 0x3ff74001e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 885s # GLib-GIO-DEBUG: refcount of 0x3ff74001e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: refcount of 0x3ff74006710 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: refcount of 0x3ff74006710 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: refcount of 0x3ff740066c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 885s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 885s # GLib-GIO-DEBUG: refcount of 0x3ff74005a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: refcount of 0x3ff74005a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: refcount of 0x3ff74005a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: refcount of 0x3ff74005a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: refcount of 0x3ff74005a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: refcount of 0x3ff74005a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: refcount of 0x3ff74001130 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: refcount of 0x3ff74001130 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: refcount of 0x3ff74001130 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: refcount of 0x3ff740048b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: refcount of 0x3ff740048b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: refcount of 0x3ff74007420 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: refcount of 0x3ff74004900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: refcount of 0x3ff74003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: refcount of 0x3ff74003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: refcount of 0x3ff74003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: refcount of 0x3ff740073e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: refcount of 0x3ff740073e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 886s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 886s # GLib-GIO-DEBUG: refcount of 0x3ff74001980 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: refcount of 0x3ff74001980 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: refcount of 0x3ff74006030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: refcount of 0x3ff74006030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: refcount of 0x3ff74006300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: refcount of 0x3ff74006300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: refcount of 0x3ff74006300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: refcount of 0x3ff74007990 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: refcount of 0x3ff74006430 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: refcount of 0x3ff74005080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: refcount of 0x3ff740062e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: refcount of 0x3ff740036f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 887s # GLib-GIO-DEBUG: refcount of 0x3ff740036f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: refcount of 0x3ff740036f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: refcount of 0x3ff74000d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: refcount of 0x3ff74000d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 887s # GLib-GIO-DEBUG: refcount of 0x3ff74000d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: refcount of 0x3ff74000dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 887s # GLib-GIO-DEBUG: refcount of 0x3ff74000dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: refcount of 0x3ff74006000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 888s # GLib-GIO-DEBUG: refcount of 0x3ff74006000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: refcount of 0x3ff74006000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 888s # GLib-GIO-DEBUG: refcount of 0x3ff74006000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: refcount of 0x3ff74006000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: refcount of 0x3ff74006330 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: refcount of 0x3ff74007320 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: refcount of 0x3ff74007320 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: refcount of 0x3ff740011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: refcount of 0x3ff740011e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: refcount of 0x3ff74007990 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: refcount of 0x3ff74005a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: refcount of 0x3ff74008020 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: refcount of 0x3ff74008020 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 888s # GLib-GIO-DEBUG: refcount of 0x3ff74008020 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 888s # GLib-GIO-DEBUG: refcount of 0x3ff740019b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 888s # GLib-GIO-DEBUG: refcount of 0x3ff740019b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: refcount of 0x3ff740019b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: refcount of 0x3ff740019b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: refcount of 0x3ff74007f30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 889s # GLib-GIO-DEBUG: refcount of 0x3ff74007f30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: refcount of 0x3ff74007410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: refcount of 0x3ff74007410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: refcount of 0x3ff74007410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: refcount of 0x3ff740085b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: refcount of 0x3ff740080a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: refcount of 0x3ff740032c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 889s # GLib-GIO-DEBUG: refcount of 0x3ff740032c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: refcount of 0x3ff740032c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: refcount of 0x3ff740032c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 889s # GLib-GIO-DEBUG: refcount of 0x3ff740032c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 889s Executing: glib/gdbus-threading.test 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: refcount of 0x3ff740032c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: refcount of 0x3ff740032c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: refcount of 0x3ff740032c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 889s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 889s # GLib-GIO-DEBUG: refcount of 0x3ff740032c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: refcount of 0x3ff740032c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: refcount of 0x3ff74006390 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: refcount of 0x3ff740008e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: refcount of 0x3ff740008e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 890s # GLib-GIO-DEBUG: refcount of 0x3ff740008e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 890s # GLib-GIO-DEBUG: refcount of 0x3ff740008e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: refcount of 0x3ff74000de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: refcount of 0x3ff74000de0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: refcount of 0x3ff74007980 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 890s # GLib-GIO-DEBUG: refcount of 0x3ff74007980 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: refcount of 0x3ff74005a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 890s # GLib-GIO-DEBUG: refcount of 0x3ff74005a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 890s # GLib-GIO-DEBUG: refcount of 0x3ff74005a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: refcount of 0x3ff74006840 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 890s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: refcount of 0x3ff74000960 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: refcount of 0x3ff74008d90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: refcount of 0x3ff74008d90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: refcount of 0x3ff74008d90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: refcount of 0x3ff74005030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: refcount of 0x3ff740076b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: refcount of 0x3ff74001e40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: refcount of 0x3ff74005030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 891s # GLib-GIO-DEBUG: refcount of 0x3ff74005030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: refcount of 0x3ff740008e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: refcount of 0x3ff740008e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 891s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 891s # GLib-GIO-DEBUG: refcount of 0x3ff74006810 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: refcount of 0x3ff74006810 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: refcount of 0x3ff74005a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: refcount of 0x3ff74006810 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: refcount of 0x3ff74008c80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: refcount of 0x3ff740081f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: refcount of 0x3ff74006810 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: refcount of 0x3ff74006810 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: refcount of 0x3ff74006810 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: refcount of 0x3ff74006810 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: refcount of 0x3ff74006810 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: refcount of 0x3ff74008c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: refcount of 0x3ff74008c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: refcount of 0x3ff74008c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: refcount of 0x3ff74008c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: refcount of 0x3ff74008c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: refcount of 0x3ff74008c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: refcount of 0x3ff74008c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 892s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 892s # GLib-GIO-DEBUG: refcount of 0x3ff74008700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: refcount of 0x3ff74008700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: refcount of 0x3ff74003670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: refcount of 0x3ff74003670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: refcount of 0x3ff74003670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: refcount of 0x3ff74003670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: refcount of 0x3ff74003670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: refcount of 0x3ff74003670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: refcount of 0x3ff740036f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: refcount of 0x3ff740036f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: refcount of 0x3ff740036f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: refcount of 0x3ff740036f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: refcount of 0x3ff740036f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: refcount of 0x3ff740036f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: refcount of 0x3ff74008230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: refcount of 0x3ff74008230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: refcount of 0x3ff74008230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: refcount of 0x3ff74005a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 893s # GLib-GIO-DEBUG: refcount of 0x3ff74007dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: refcount of 0x3ff74001f80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: refcount of 0x3ff74001f80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: refcount of 0x3ff74008cb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: refcount of 0x3ff74007970 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: refcount of 0x3ff74007970 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: refcount of 0x3ff74007970 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: refcount of 0x3ff74007970 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: refcount of 0x3ff74007970 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 894s Executing: glib/gdbus-threading.test 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 894s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: refcount of 0x3ff74007e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 894s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 894s # GLib-GIO-DEBUG: refcount of 0x3ff74007700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: refcount of 0x3ff74007fb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: refcount of 0x3ff74008bb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: refcount of 0x3ff74009040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: refcount of 0x3ff74009040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: refcount of 0x3ff74001e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: refcount of 0x3ff740063d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: refcount of 0x3ff74008a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: refcount of 0x3ff74008a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: refcount of 0x3ff74008a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 895s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 895s # GLib-GIO-DEBUG: refcount of 0x3ff74008a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: refcount of 0x3ff74008a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: refcount of 0x3ff74008260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: refcount of 0x3ff74008260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: refcount of 0x3ff74001e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: refcount of 0x3ff74008260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: refcount of 0x3ff74008260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: refcount of 0x3ff740094b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: refcount of 0x3ff740032c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: refcount of 0x3ff740032c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: refcount of 0x3ff74008e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: refcount of 0x3ff74009080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: refcount of 0x3ff74009080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: refcount of 0x3ff74009080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: refcount of 0x3ff74009230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: refcount of 0x3ff74000db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: refcount of 0x3ff740077b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 896s # GLib-GIO-DEBUG: refcount of 0x3ff74009140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 897s # GLib-GIO-DEBUG: refcount of 0x3ff74009140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 897s # GLib-GIO-DEBUG: refcount of 0x3ff74009140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: refcount of 0x3ff74001e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: refcount of 0x3ff74001e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: refcount of 0x3ff74009650 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: refcount of 0x3ff740077b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: refcount of 0x3ff740077b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 897s # GLib-GIO-DEBUG: refcount of 0x3ff740077b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: refcount of 0x3ff740077b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: refcount of 0x3ff740077b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: refcount of 0x3ff740077b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: refcount of 0x3ff740077b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: refcount of 0x3ff74004b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: refcount of 0x3ff74009810 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: refcount of 0x3ff74008ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 897s # GLib-GIO-DEBUG: refcount of 0x3ff74008ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: refcount of 0x3ff74007900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: refcount of 0x3ff74008750 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: refcount of 0x3ff74009430 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: refcount of 0x3ff74009410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: refcount of 0x3ff74009410 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: refcount of 0x3ff74009300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: refcount of 0x3ff74000e90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: refcount of 0x3ff74008c20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: refcount of 0x3ff74008bf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: refcount of 0x3ff74008bf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: refcount of 0x3ff74008bf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: refcount of 0x3ff74007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: refcount of 0x3ff74008230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: refcount of 0x3ff74008230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: refcount of 0x3ff74008230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: refcount of 0x3ff74008230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 898s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 898s # GLib-GIO-DEBUG: refcount of 0x3ff74008230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: refcount of 0x3ff74008230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: refcount of 0x3ff74009420 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: refcount of 0x3ff74009690 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: refcount of 0x3ff74008230 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: refcount of 0x3ff74008c20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: refcount of 0x3ff740095c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: refcount of 0x3ff740095c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: refcount of 0x3ff74009420 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: refcount of 0x3ff740009d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: refcount of 0x3ff740077b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 899s # GLib-GIO-DEBUG: refcount of 0x3ff740077b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: refcount of 0x3ff740077b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: refcount of 0x3ff740077b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: refcount of 0x3ff740077b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 899s Executing: glib/gdbus-threading.test 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: refcount of 0x3ff740077b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: refcount of 0x3ff74008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: refcount of 0x3ff74008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 899s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 899s # GLib-GIO-DEBUG: refcount of 0x3ff74008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: refcount of 0x3ff74008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: refcount of 0x3ff74009950 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 900s # GLib-GIO-DEBUG: refcount of 0x3ff74009950 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: refcount of 0x3ff74008280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: refcount of 0x3ff74008280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: refcount of 0x3ff740092d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: refcount of 0x3ff740092d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 900s # GLib-GIO-DEBUG: refcount of 0x3ff740092d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: refcount of 0x3ff740092d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: refcount of 0x3ff740092d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: refcount of 0x3ff74003670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: refcount of 0x3ff74003670 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: refcount of 0x3ff74009c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: refcount of 0x3ff740097c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: refcount of 0x3ff74008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: refcount of 0x3ff74008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: refcount of 0x3ff74008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 900s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 900s # GLib-GIO-DEBUG: refcount of 0x3ff74008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: refcount of 0x3ff74008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: refcount of 0x3ff74008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: refcount of 0x3ff740093a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: refcount of 0x3ff740086b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: refcount of 0x3ff74009a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: refcount of 0x3ff74009440 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: refcount of 0x3ff74009440 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: refcount of 0x3ff74009440 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 901s # GLib-GIO-DEBUG: refcount of 0x3ff740088a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 901s # GLib-GIO-DEBUG: refcount of 0x3ff740088a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: refcount of 0x3ff740088a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: refcount of 0x3ff740088a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 902s # GLib-GIO-DEBUG: refcount of 0x3ff740088a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: refcount of 0x3ff740088a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: refcount of 0x3ff74008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: refcount of 0x3ff74009310 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: refcount of 0x3ff740032c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: refcount of 0x3ff74009990 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: refcount of 0x3ff740093e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: refcount of 0x3ff740093e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: refcount of 0x3ff74009990 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: refcount of 0x3ff740086b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: refcount of 0x3ff740093e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: refcount of 0x3ff740093e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: refcount of 0x3ff740093e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: refcount of 0x3ff740093e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: refcount of 0x3ff740093e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 902s # GLib-GIO-DEBUG: refcount of 0x3ff740093e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: refcount of 0x3ff740093e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: refcount of 0x3ff74009ac0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: refcount of 0x3ff74008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: refcount of 0x3ff74008b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: refcount of 0x3ff74009bf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: refcount of 0x3ff74009b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: refcount of 0x3ff740093e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: refcount of 0x3ff740093e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 903s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: refcount of 0x3ff74004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: refcount of 0x3ff74008c80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: refcount of 0x3ff74008c80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: refcount of 0x3ff74008c80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: refcount of 0x3ff74008c80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 904s ok 3 /gdbus/threaded-singleton 904s # slow test /gdbus/threaded-singleton executed in 19.54 secs 904s # End of gdbus tests 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 904s PASS: glib/gdbus-threading.test 904s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.3s; maxrss=6144 905s autopkgtest [15:46:20]: test gdbus-threading: -----------------------] 905s autopkgtest [15:46:20]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 905s gdbus-threading PASS 906s autopkgtest [15:46:21]: test gmenumodel: preparing testbed 907s Reading package lists... 907s Building dependency tree... 907s Reading state information... 907s Starting pkgProblemResolver with broken count: 0 907s Starting 2 pkgProblemResolver with broken count: 0 908s Done 908s The following NEW packages will be installed: 908s autopkgtest-satdep 908s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 908s Need to get 0 B/772 B of archives. 908s After this operation, 0 B of additional disk space will be used. 908s Get:1 /tmp/autopkgtest.eF7yjn/8-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 908s Selecting previously unselected package autopkgtest-satdep. 908s (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 ... 53162 files and directories currently installed.) 908s Preparing to unpack .../8-autopkgtest-satdep.deb ... 908s Unpacking autopkgtest-satdep (0) ... 908s Setting up autopkgtest-satdep (0) ... 911s (Reading database ... 53162 files and directories currently installed.) 911s Removing autopkgtest-satdep (0) ... 911s autopkgtest [15:46:26]: test gmenumodel: [----------------------- 911s Running test: glib/gmenumodel.test 911s TAP version 13 911s # random seed: R02S086030a19b3c0b339a140b63e991d747 912s 1..14 912s # Start of gmenu tests 912s ok 1 /gmenu/equality 912s # slow test /gmenu/equality executed in 0.86 secs 914s ok 2 /gmenu/random 914s # slow test /gmenu/random executed in 1.17 secs 914s ok 3 /gmenu/attributes 914s ok 4 /gmenu/links 914s ok 5 /gmenu/mutable 914s ok 6 /gmenu/convenience 914s ok 7 /gmenu/menuitem 914s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 914s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 914s ok 8 /gmenu/input-validation 914s # Start of dbus tests 914s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 915s ok 9 /gmenu/dbus/roundtrip 915s # slow test /gmenu/dbus/roundtrip executed in 1.12 secs 915s ok 10 /gmenu/dbus/subscriptions 916s Executing: glib/gmenumodel.test 917s ok 11 /gmenu/dbus/threaded 917s # slow test /gmenu/dbus/threaded executed in 1.96 secs 917s # Start of peer tests 918s ok 12 /gmenu/dbus/peer/roundtrip 918s # slow test /gmenu/dbus/peer/roundtrip executed in 1.07 secs 919s ok 13 /gmenu/dbus/peer/subscriptions 919s # End of peer tests 919s # End of dbus tests 919s # Start of attributes tests 919s ok 14 /gmenu/attributes/iterate 919s # End of attributes tests 919s # End of gmenu tests 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s PASS: glib/gmenumodel.test 919s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=3.5s; system=0.1s; maxrss=39936 919s autopkgtest [15:46:34]: test gmenumodel: -----------------------] 920s gmenumodel PASS 920s autopkgtest [15:46:35]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 920s autopkgtest [15:46:35]: test mainloop: preparing testbed 921s Reading package lists... 922s Building dependency tree... 922s Reading state information... 922s Starting pkgProblemResolver with broken count: 0 922s Starting 2 pkgProblemResolver with broken count: 0 922s Done 923s The following NEW packages will be installed: 923s autopkgtest-satdep 923s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 923s Need to get 0 B/772 B of archives. 923s After this operation, 0 B of additional disk space will be used. 923s Get:1 /tmp/autopkgtest.eF7yjn/9-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 923s Selecting previously unselected package autopkgtest-satdep. 923s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 53162 files and directories currently installed.) 923s Preparing to unpack .../9-autopkgtest-satdep.deb ... 923s Unpacking autopkgtest-satdep (0) ... 923s Setting up autopkgtest-satdep (0) ... 926s (Reading database ... 53162 files and directories currently installed.) 926s Removing autopkgtest-satdep (0) ... 927s autopkgtest [15:46:42]: test mainloop: [----------------------- 927s Running test: glib/mainloop.test 927s TAP version 13 927s # random seed: R02Sc92d135954d45c0424feac98f33832ea 927s 1..45 927s # Start of maincontext tests 927s ok 1 /maincontext/basic 927s # Add same-priority sources: 29 927s # Find each source: 5 927s # Remove in random order: 33 927s ok 2 /maincontext/nsources_same_priority 927s # Add different-priority sources: 22 927s # Find each source: 4 927s # Remove in random order: 31 927s ok 3 /maincontext/nsources_different_priority 927s # Add sources from threads: 70 927s # Remove sources from threads: 90 927s ok 4 /maincontext/nsources_threadpool 927s ok 5 /maincontext/source_finalization 927s # /maincontext/idle-once summary: Test g_idle_add_once() works 927s ok 6 /maincontext/idle-once 927s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 927s ok 7 /maincontext/timeout-once 927s # Start of source_finalization_from_source tests 927s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 927s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 927s ok 8 /maincontext/source_finalization_from_source/0 927s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 927s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 927s ok 9 /maincontext/source_finalization_from_source/1 927s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 927s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 927s ok 10 /maincontext/source_finalization_from_source/2 927s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 927s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 927s ok 11 /maincontext/source_finalization_from_source/3 927s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 927s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 927s ok 12 /maincontext/source_finalization_from_source/4 927s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 927s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 927s ok 13 /maincontext/source_finalization_from_source/5 927s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 927s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 927s ok 14 /maincontext/source_finalization_from_source/6 927s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 927s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 927s ok 15 /maincontext/source_finalization_from_source/7 927s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 927s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 927s ok 16 /maincontext/source_finalization_from_source/8 927s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 927s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 927s ok 17 /maincontext/source_finalization_from_source/9 927s # End of source_finalization_from_source tests 927s # Start of source_finalization_from_dispatch tests 927s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 927s ok 18 /maincontext/source_finalization_from_dispatch/0 927s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 927s ok 19 /maincontext/source_finalization_from_dispatch/1 927s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 927s ok 20 /maincontext/source_finalization_from_dispatch/2 927s # End of source_finalization_from_dispatch tests 927s # End of maincontext tests 927s # Start of mainloop tests 927s ok 21 /mainloop/basic 927s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 927s ok 23 /mainloop/priorities 928s ok 24 /mainloop/invoke 928s # slow test /mainloop/invoke executed in 0.50 secs 929s ok 25 /mainloop/child_sources 929s # slow test /mainloop/child_sources executed in 1.32 secs 931s ok 26 /mainloop/recursive_child_sources 931s # slow test /mainloop/recursive_child_sources executed in 2.32 secs 931s ok 27 /mainloop/recursive_loop_child_sources 932s ok 28 /mainloop/swapping_child_sources 932s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 932s ok 29 /mainloop/blocked_child_sources 932s Executing: glib/mainloop.test 933s ok 30 /mainloop/source_time 933s # slow test /mainloop/source_time executed in 1.00 secs 933s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 933s ok 31 /mainloop/overflow 933s ok 32 /mainloop/ready-time 933s # slow test /mainloop/ready-time executed in 0.50 secs 933s ok 33 /mainloop/wakeup 933s ok 34 /mainloop/remove-invalid 933s ok 35 /mainloop/unref-while-pending 934s ok 36 /mainloop/unix-fd 934s # slow test /mainloop/unix-fd executed in 0.78 secs 934s ok 37 /mainloop/unix-fd-source 934s ok 38 /mainloop/source-unix-fd-api 934s ok 39 /mainloop/wait 934s ok 40 /mainloop/unix-file-poll 934s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 934s ok 41 /mainloop/unix-fd-priority 934s ok 42 /mainloop/nfds 934s ok 43 /mainloop/steal-fd 934s # Start of ownerless-polling tests 934s ok 44 /mainloop/ownerless-polling/attach-first 934s ok 45 /mainloop/ownerless-polling/pop-first 934s # End of ownerless-polling tests 934s # End of mainloop tests 934s PASS: glib/mainloop.test 934s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.6s; maxrss=16040 934s autopkgtest [15:46:49]: test mainloop: -----------------------] 935s autopkgtest [15:46:50]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 935s mainloop PASS 935s autopkgtest [15:46:50]: test memory-monitor-dbus: preparing testbed 937s Reading package lists... 938s Building dependency tree... 938s Reading state information... 938s Starting pkgProblemResolver with broken count: 0 938s Starting 2 pkgProblemResolver with broken count: 0 938s Done 939s The following NEW packages will be installed: 939s autopkgtest-satdep 939s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 939s Need to get 0 B/776 B of archives. 939s After this operation, 0 B of additional disk space will be used. 939s Get:1 /tmp/autopkgtest.eF7yjn/10-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 939s Selecting previously unselected package autopkgtest-satdep. 939s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 53162 files and directories currently installed.) 939s Preparing to unpack .../10-autopkgtest-satdep.deb ... 939s Unpacking autopkgtest-satdep (0) ... 939s Setting up autopkgtest-satdep (0) ... 942s (Reading database ... 53162 files and directories currently installed.) 942s Removing autopkgtest-satdep (0) ... 942s autopkgtest [15:46:57]: test memory-monitor-dbus: [----------------------- 943s Running test: glib/memory-monitor-dbus.test 943s TAP version 13 943s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 943s # Received memory warning signal, level 943s # Received memory warning signal, level 943s # Received memory warning signal, level 943s # Received memory warning signal, level 943s 1..1 943s PASS: glib/memory-monitor-dbus.test 943s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.1s; maxrss=25692 944s autopkgtest [15:46:59]: test memory-monitor-dbus: -----------------------] 944s autopkgtest [15:46:59]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 944s memory-monitor-dbus PASS 944s autopkgtest [15:46:59]: test socket: preparing testbed 946s Reading package lists... 947s Building dependency tree... 947s Reading state information... 947s Starting pkgProblemResolver with broken count: 0 947s Starting 2 pkgProblemResolver with broken count: 0 947s Done 948s The following NEW packages will be installed: 948s autopkgtest-satdep 948s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 948s Need to get 0 B/776 B of archives. 948s After this operation, 0 B of additional disk space will be used. 948s Get:1 /tmp/autopkgtest.eF7yjn/11-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 948s Selecting previously unselected package autopkgtest-satdep. 948s (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 ... 53162 files and directories currently installed.) 948s Preparing to unpack .../11-autopkgtest-satdep.deb ... 948s Unpacking autopkgtest-satdep (0) ... 948s Setting up autopkgtest-satdep (0) ... 951s (Reading database ... 53162 files and directories currently installed.) 951s Removing autopkgtest-satdep (0) ... 952s autopkgtest [15:47:07]: test socket: [----------------------- 952s Running test: glib/socket.test 952s TAP version 13 952s # random seed: R02S92a7dfe986722ccb926901f91b0d3327 952s 1..28 952s # Start of socket tests 953s ok 1 /socket/ipv4_sync 953s # slow test /socket/ipv4_sync executed in 1.00 secs 954s ok 2 /socket/ipv4_async 954s # slow test /socket/ipv4_async executed in 1.00 secs 954s ok 3 /socket/ipv6_sync 954s ok 4 /socket/ipv6_async 954s ok 5 /socket/ipv6_v4mapped 955s ok 6 /socket/close_graceful 955s # slow test /socket/close_graceful executed in 1.00 secs 955s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 955s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 955s ok 8 /socket/fd_reuse 955s ok 9 /socket/address 955s ok 10 /socket/unix-from-fd 955s ok 11 /socket/unix-connection 955s ok 12 /socket/unix-connection-ancillary-data 955s ok 13 /socket/source-postmortem 955s ok 14 /socket/read_write 955s ok 15 /socket/read_writev 955s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 955s ok 16 /socket/receive_bytes 955s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 955s ok 17 /socket/receive_bytes_from 955s # Start of ipv4_sync tests 955s ok 18 /socket/ipv4_sync/datagram 955s # Start of datagram tests 956s ok 19 /socket/ipv4_sync/datagram/timeouts 956s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 956s # End of datagram tests 956s # End of ipv4_sync tests 956s # Start of ipv6_sync tests 956s ok 20 /socket/ipv6_sync/datagram 956s # Start of datagram tests 958s Executing: glib/socket.test 958s ok 21 /socket/ipv6_sync/datagram/timeouts 958s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 958s # End of datagram tests 958s # End of ipv6_sync tests 958s # Start of reuse tests 958s ok 22 /socket/reuse/tcp 958s ok 23 /socket/reuse/udp 958s # End of reuse tests 958s # Start of get_available tests 958s ok 24 /socket/get_available/datagram 958s ok 25 /socket/get_available/stream 958s # End of get_available tests 958s # Start of credentials tests 958s # Supported on this OS: GCredentials:linux-ucred:pid=0 958s ok 26 /socket/credentials/tcp_client 958s # Supported on this OS: GCredentials:linux-ucred:pid=0 958s ok 27 /socket/credentials/tcp_server 958s # Supported on this OS: GCredentials:linux-ucred:pid=18164,uid=1000,gid=1000 958s ok 28 /socket/credentials/unix_socketpair 958s # End of credentials tests 958s # End of socket tests 958s PASS: glib/socket.test 958s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5504 958s autopkgtest [15:47:13]: test socket: -----------------------] 959s autopkgtest [15:47:14]: test socket: - - - - - - - - - - results - - - - - - - - - - 959s socket PASS 959s autopkgtest [15:47:14]: test testfilemonitor: preparing testbed 961s Reading package lists... 961s Building dependency tree... 961s Reading state information... 961s Starting pkgProblemResolver with broken count: 0 961s Starting 2 pkgProblemResolver with broken count: 0 961s Done 962s The following NEW packages will be installed: 962s autopkgtest-satdep 962s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 962s Need to get 0 B/776 B of archives. 962s After this operation, 0 B of additional disk space will be used. 962s Get:1 /tmp/autopkgtest.eF7yjn/12-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 963s Selecting previously unselected package autopkgtest-satdep. 963s (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 ... 53162 files and directories currently installed.) 963s Preparing to unpack .../12-autopkgtest-satdep.deb ... 963s Unpacking autopkgtest-satdep (0) ... 963s Setting up autopkgtest-satdep (0) ... 966s (Reading database ... 53162 files and directories currently installed.) 966s Removing autopkgtest-satdep (0) ... 967s autopkgtest [15:47:22]: test testfilemonitor: [----------------------- 967s Running test: glib/testfilemonitor.test 967s TAP version 13 967s # random seed: R02S0d45fc05eeb75398524269b073ffbe48 967s 1..8 967s # Start of monitor tests 967s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 967s # Using temporary directory: /tmp/gio-test-testfilemonitor_J670K2 967s # Using GFileMonitor GInotifyFileMonitor 969s ok 1 /monitor/atomic-replace 969s # slow test /monitor/atomic-replace executed in 2.01 secs 969s # Using temporary directory: /tmp/gio-test-testfilemonitor_EH30K2 969s # Using GFileMonitor GInotifyFileMonitor 971s ok 2 /monitor/file-changes 971s # slow test /monitor/file-changes executed in 2.51 secs 971s # Using temporary directory: /tmp/gio-test-testfilemonitor_279PK2 971s # Using GFileMonitor GInotifyFileMonitor 972s Executing: glib/testfilemonitor.test 975s ok 3 /monitor/dir-monitor 975s # slow test /monitor/dir-monitor executed in 3.51 secs 975s # Using temporary directory: /tmp/gio-test-testfilemonitor_TCV0K2 975s # Using GFileMonitor GInotifyFileMonitor 977s Executing: glib/testfilemonitor.test 982s Executing: glib/testfilemonitor.test 987s Executing: glib/testfilemonitor.test 992s Executing: glib/testfilemonitor.test 997s Executing: glib/testfilemonitor.test 1000s ok 4 /monitor/dir-not-existent 1000s # slow test /monitor/dir-not-existent executed in 25.03 secs 1000s # Using temporary directory: /tmp/gio-test-testfilemonitor_FOGXK2 1000s # Using GFileMonitor 0 GInotifyFileMonitor 1000s # Using GFileMonitor 1 GInotifyFileMonitor 1002s ok 5 /monitor/cross-dir-moves 1002s # slow test /monitor/cross-dir-moves executed in 2.01 secs 1002s # Using temporary directory: /tmp/gio-test-testfilemonitor_WKCXK2 1002s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1002s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1002s ok 6 /monitor/finalize-in-callback 1002s # Using temporary directory: /tmp/gio-test-testfilemonitor_TB1WK2 1002s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1002s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1002s ok 7 /monitor/root 1002s # Start of file tests 1002s # Using temporary directory: /tmp/gio-test-testfilemonitor_30YWK2 1002s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1002s # Running with hard link tests 1002s # Using GFileMonitor GInotifyFileMonitor 1002s Executing: glib/testfilemonitor.test 1005s # Event 0 at expected index 7 skipped because it is marked as optional 1005s # Event 2 at expected index 11 skipped because it is marked as optional 1005s ok 8 /monitor/file/hard-links 1005s # slow test /monitor/file/hard-links executed in 3.51 secs 1005s # End of file tests 1005s # End of monitor tests 1005s PASS: glib/testfilemonitor.test 1005s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5632 1006s autopkgtest [15:48:01]: test testfilemonitor: -----------------------] 1006s testfilemonitor PASS 1006s autopkgtest [15:48:01]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1007s autopkgtest [15:48:02]: test thread-pool-slow: preparing testbed 1008s Reading package lists... 1009s Building dependency tree... 1009s Reading state information... 1009s Starting pkgProblemResolver with broken count: 0 1009s Starting 2 pkgProblemResolver with broken count: 0 1009s Done 1010s The following NEW packages will be installed: 1010s autopkgtest-satdep 1010s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1010s Need to get 0 B/772 B of archives. 1010s After this operation, 0 B of additional disk space will be used. 1010s Get:1 /tmp/autopkgtest.eF7yjn/13-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1010s Selecting previously unselected package autopkgtest-satdep. 1010s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 53162 files and directories currently installed.) 1010s Preparing to unpack .../13-autopkgtest-satdep.deb ... 1010s Unpacking autopkgtest-satdep (0) ... 1010s Setting up autopkgtest-satdep (0) ... 1012s (Reading database ... 53162 files and directories currently installed.) 1012s Removing autopkgtest-satdep (0) ... 1013s autopkgtest [15:48:08]: test thread-pool-slow: [----------------------- 1013s Running test: glib/thread-pool-slow.test 1013s TAP version 13 1013s # random seed: R02S48538a7f142ea4535792562a38990549 1013s 1..7 1013s # Start of threadpool tests 1013s ok 1 /threadpool/functions 1014s ok 2 /threadpool/stop-unused 1014s # slow test /threadpool/stop-unused executed in 0.51 secs 1014s ok 3 /threadpool/pools 1014s # [unsorted] ===> pushed new thread with id:34, number of threads:1, unprocessed:1 1014s # [unsorted] ===> pushed new thread with id:81, number of threads:2, unprocessed:1 1014s # [unsorted] ===> pushed new thread with id:90, number of threads:3, unprocessed:1 1014s # [unsorted] ===> pushed new thread with id:35, number of threads:4, unprocessed:1 1014s # [unsorted] ===> pushed new thread with id:65, number of threads:5, unprocessed:2 1014s # [unsorted] ===> pushed new thread with id:72, number of threads:6, unprocessed:1 1014s # [unsorted] ===> pushed new thread with id:23, number of threads:7, unprocessed:2 1014s # [unsorted] ===> pushed new thread with id:3, number of threads:8, unprocessed:1 1014s # [unsorted] ===> pushed new thread with id:63, number of threads:9, unprocessed:1 1014s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:1 1014s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:2 1014s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:2 1014s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:3 1014s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:4 1014s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:5 1014s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:6 1014s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:7 1014s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:8 1014s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:9 1014s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:10 1014s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:11 1014s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:12 1014s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:13 1014s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:14 1014s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:15 1014s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:16 1014s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:17 1014s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:18 1014s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:19 1014s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:20 1014s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:21 1014s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:22 1014s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:23 1014s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:24 1014s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:25 1014s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:26 1014s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:27 1014s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:28 1014s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:29 1014s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:30 1014s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:31 1014s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:32 1014s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:33 1014s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:34 1014s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:35 1014s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:36 1014s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:37 1014s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:38 1014s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:39 1014s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:40 1014s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:41 1014s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:42 1014s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:43 1014s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:44 1014s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:45 1014s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:46 1014s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:47 1014s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:48 1014s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:49 1014s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:50 1014s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:51 1014s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:52 1014s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:53 1014s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:54 1014s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:55 1014s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:56 1014s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:57 1014s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:58 1014s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:59 1014s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:60 1014s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:61 1014s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:62 1014s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:63 1014s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:64 1014s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:65 1014s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:66 1014s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:67 1014s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:68 1014s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:69 1014s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:70 1014s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:71 1014s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:72 1014s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:73 1014s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:74 1014s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:75 1014s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:76 1014s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:77 1014s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:78 1014s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:79 1014s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:80 1014s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:81 1014s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:82 1014s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:83 1014s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:84 1014s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:85 1014s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:86 1014s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:87 1014s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:88 1014s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:89 1014s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:90 1014s ok 4 /threadpool/no-sort 1014s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:1 1014s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:2 1014s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:3 1014s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:4 1014s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:5 1014s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:6 1014s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:7 1014s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:8 1014s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:9 1014s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:10 1014s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:11 1014s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:12 1014s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:13 1014s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:14 1014s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:15 1014s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:16 1014s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:17 1014s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:18 1014s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:19 1014s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:20 1014s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:21 1014s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:22 1014s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:23 1014s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:24 1014s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:25 1014s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:26 1014s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:27 1014s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:28 1014s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:29 1014s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:30 1014s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:31 1014s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:32 1014s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:33 1014s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:34 1014s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:35 1014s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:36 1014s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:37 1014s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:38 1014s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:39 1014s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:40 1014s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:41 1014s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:42 1014s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:43 1014s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:44 1014s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:45 1014s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:46 1014s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:47 1014s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:48 1014s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:49 1014s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:50 1014s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:51 1014s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:52 1014s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:53 1014s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:54 1014s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:55 1014s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:56 1014s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:57 1014s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:58 1014s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:59 1014s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:60 1014s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:61 1014s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:62 1014s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:63 1014s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:64 1014s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:65 1014s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:66 1014s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:67 1014s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:68 1014s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:69 1014s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:70 1014s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:71 1014s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:72 1014s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:73 1014s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:74 1014s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:75 1014s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:76 1014s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:77 1014s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:78 1014s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:79 1014s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:80 1014s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:81 1014s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:82 1014s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:83 1014s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:84 1014s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:85 1014s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:86 1014s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:87 1014s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:88 1014s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:89 1014s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:90 1014s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:91 1014s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:92 1014s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:93 1014s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:94 1014s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:95 1014s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:96 1014s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:97 1014s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:98 1014s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:99 1014s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:100 1014s # Starting thread pool processing 1014s ok 5 /threadpool/sort 1014s ok 6 /threadpool/stop-unused-multiple 1014s # slow test /threadpool/stop-unused-multiple executed in 0.52 secs 1014s # Pool idle thread count: 0, unprocessed jobs: 50 1015s # Pool idle thread count: 0, unprocessed jobs: 0 1015s # Pool idle thread count: 0, unprocessed jobs: 0 1015s # Pool idle thread count: 10, unprocessed jobs: 0 1015s # Pool idle thread count: 10, unprocessed jobs: 0 1016s # Pool idle thread count: 10, unprocessed jobs: 0 1016s # Pool idle thread count: 10, unprocessed jobs: 0 1016s # Pool idle thread count: 10, unprocessed jobs: 0 1016s # Pool idle thread count: 10, unprocessed jobs: 0 1017s # Pool idle thread count: 10, unprocessed jobs: 0 1017s # Pool idle thread count: 10, unprocessed jobs: 0 1017s # Pool idle thread count: 10, unprocessed jobs: 0 1017s # Pool idle thread count: 10, unprocessed jobs: 0 1018s # Pool idle thread count: 10, unprocessed jobs: 0 1018s # Pool idle thread count: 10, unprocessed jobs: 0 1018s Executing: glib/thread-pool-slow.test 1018s # Pool idle thread count: 10, unprocessed jobs: 0 1018s # Pool idle thread count: 10, unprocessed jobs: 0 1019s # Pool idle thread count: 10, unprocessed jobs: 0 1019s # Pool idle thread count: 10, unprocessed jobs: 0 1019s # Pool idle thread count: 10, unprocessed jobs: 0 1019s # Pool idle thread count: 10, unprocessed jobs: 0 1020s # Pool idle thread count: 10, unprocessed jobs: 0 1020s # Pool idle thread count: 10, unprocessed jobs: 0 1020s # Pool idle thread count: 10, unprocessed jobs: 0 1020s # Pool idle thread count: 10, unprocessed jobs: 0 1021s # Pool idle thread count: 10, unprocessed jobs: 0 1021s # Pool idle thread count: 10, unprocessed jobs: 0 1021s # Pool idle thread count: 10, unprocessed jobs: 0 1021s # Pool idle thread count: 10, unprocessed jobs: 0 1022s # Pool idle thread count: 10, unprocessed jobs: 0 1022s # Pool idle thread count: 10, unprocessed jobs: 0 1022s # Pool idle thread count: 10, unprocessed jobs: 0 1022s # Pool idle thread count: 10, unprocessed jobs: 0 1023s # Pool idle thread count: 10, unprocessed jobs: 0 1023s # Pool idle thread count: 10, unprocessed jobs: 0 1023s Executing: glib/thread-pool-slow.test 1023s # Pool idle thread count: 10, unprocessed jobs: 2 1023s # Pool idle thread count: 10, unprocessed jobs: 2 1023s # Pool idle thread count: 8, unprocessed jobs: 0 1023s # Pool idle thread count: 8, unprocessed jobs: 0 1024s # Pool idle thread count: 10, unprocessed jobs: 0 1024s # Pool idle thread count: 10, unprocessed jobs: 0 1024s # Pool idle thread count: 10, unprocessed jobs: 0 1024s # Pool idle thread count: 10, unprocessed jobs: 0 1025s # Pool idle thread count: 10, unprocessed jobs: 0 1025s # Pool idle thread count: 10, unprocessed jobs: 0 1025s # Pool idle thread count: 2, unprocessed jobs: 0 1025s # Pool idle thread count: 2, unprocessed jobs: 0 1026s # Pool idle thread count: 2, unprocessed jobs: 0 1026s # Pool idle thread count: 2, unprocessed jobs: 0 1026s # Pool idle thread count: 2, unprocessed jobs: 0 1026s # Pool idle thread count: 2, unprocessed jobs: 0 1027s # Pool idle thread count: 2, unprocessed jobs: 0 1027s # Pool idle thread count: 2, unprocessed jobs: 0 1027s # Pool idle thread count: 2, unprocessed jobs: 0 1027s # Pool idle thread count: 2, unprocessed jobs: 0 1028s # Pool idle thread count: 2, unprocessed jobs: 0 1028s # Pool idle thread count: 2, unprocessed jobs: 0 1028s Executing: glib/thread-pool-slow.test 1028s # Pool idle thread count: 2, unprocessed jobs: 0 1028s # Pool idle thread count: 2, unprocessed jobs: 0 1029s # Pool idle thread count: 2, unprocessed jobs: 0 1029s # Pool idle thread count: 2, unprocessed jobs: 0 1029s # Pool idle thread count: 2, unprocessed jobs: 0 1029s # Pool idle thread count: 2, unprocessed jobs: 0 1030s # Pool idle thread count: 2, unprocessed jobs: 0 1030s # Pool idle thread count: 2, unprocessed jobs: 0 1030s # Pool idle thread count: 2, unprocessed jobs: 0 1030s # Pool idle thread count: 2, unprocessed jobs: 0 1031s # Pool idle thread count: 2, unprocessed jobs: 0 1031s # Pool idle thread count: 2, unprocessed jobs: 0 1031s # Pool idle thread count: 2, unprocessed jobs: 0 1031s # Pool idle thread count: 2, unprocessed jobs: 0 1032s # Pool idle thread count: 2, unprocessed jobs: 0 1032s # Pool idle thread count: 2, unprocessed jobs: 0 1032s # Pool idle thread count: 2, unprocessed jobs: 0 1032s # Pool idle thread count: 2, unprocessed jobs: 0 1033s # Pool idle thread count: 2, unprocessed jobs: 0 1033s # Pool idle thread count: 2, unprocessed jobs: 0 1033s Executing: glib/thread-pool-slow.test 1033s # Pool idle thread count: 2, unprocessed jobs: 0 1033s # Pool idle thread count: 2, unprocessed jobs: 0 1034s ok 7 /threadpool/idle-time 1034s # slow test /threadpool/idle-time executed in 19.54 secs 1034s # End of threadpool tests 1034s PASS: glib/thread-pool-slow.test 1034s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3712 1034s autopkgtest [15:48:29]: test thread-pool-slow: -----------------------] 1035s autopkgtest [15:48:30]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1035s thread-pool-slow PASS 1035s autopkgtest [15:48:30]: test threadtests: preparing testbed 1037s Reading package lists... 1037s Building dependency tree... 1037s Reading state information... 1037s Starting pkgProblemResolver with broken count: 0 1037s Starting 2 pkgProblemResolver with broken count: 0 1037s Done 1038s The following NEW packages will be installed: 1038s autopkgtest-satdep 1038s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1038s Need to get 0 B/772 B of archives. 1038s After this operation, 0 B of additional disk space will be used. 1038s Get:1 /tmp/autopkgtest.eF7yjn/14-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1038s Selecting previously unselected package autopkgtest-satdep. 1038s (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 ... 53162 files and directories currently installed.) 1038s Preparing to unpack .../14-autopkgtest-satdep.deb ... 1038s Unpacking autopkgtest-satdep (0) ... 1038s Setting up autopkgtest-satdep (0) ... 1041s (Reading database ... 53162 files and directories currently installed.) 1041s Removing autopkgtest-satdep (0) ... 1042s autopkgtest [15:48:37]: test threadtests: [----------------------- 1042s Running test: glib/threadtests.test 1042s TAP version 13 1042s # random seed: R02S2811850c3a1a05605e5aaf0437f19462 1042s 1..5 1042s # Start of GObject tests 1042s ok 1 /GObject/threaded-object-init 1043s ok 2 /GObject/threaded-weak-ref 1043s # slow test /GObject/threaded-weak-ref executed in 0.96 secs 1043s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1043s # /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 1045s ok 3 /GObject/threaded-toggle-notify 1045s # slow test /GObject/threaded-toggle-notify executed in 1.83 secs 1045s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1045s # Start of threaded-weak-ref tests 1045s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1045s # /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. 1045s ok 5 /GObject/threaded-weak-ref/on-finalization 1045s # End of threaded-weak-ref tests 1045s # End of GObject tests 1045s PASS: glib/threadtests.test 1045s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.5s; system=0.4s; maxrss=3584 1045s autopkgtest [15:48:40]: test threadtests: -----------------------] 1046s autopkgtest [15:48:41]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1046s threadtests PASS 1046s autopkgtest [15:48:41]: test timeout: preparing testbed 1048s Reading package lists... 1048s Building dependency tree... 1048s Reading state information... 1048s Starting pkgProblemResolver with broken count: 0 1048s Starting 2 pkgProblemResolver with broken count: 0 1048s Done 1049s The following NEW packages will be installed: 1049s autopkgtest-satdep 1049s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1049s Need to get 0 B/772 B of archives. 1049s After this operation, 0 B of additional disk space will be used. 1049s Get:1 /tmp/autopkgtest.eF7yjn/15-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1049s Selecting previously unselected package autopkgtest-satdep. 1049s (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 ... 53162 files and directories currently installed.) 1049s Preparing to unpack .../15-autopkgtest-satdep.deb ... 1049s Unpacking autopkgtest-satdep (0) ... 1049s Setting up autopkgtest-satdep (0) ... 1052s (Reading database ... 53162 files and directories currently installed.) 1052s Removing autopkgtest-satdep (0) ... 1053s autopkgtest [15:48:48]: test timeout: [----------------------- 1053s Running test: glib/timeout.test 1053s TAP version 13 1053s # random seed: R02S6114c8a0ebce53b764b6be4cfce1ce6f 1053s 1..5 1053s # Start of timeout tests 1053s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1055s ok 1 /timeout/seconds 1055s # slow test /timeout/seconds executed in 2.10 secs 1057s ok 2 /timeout/seconds-once 1057s # slow test /timeout/seconds-once executed in 2.10 secs 1057s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1058s Executing: glib/timeout.test 1059s ok 3 /timeout/weeks-overflow 1059s # slow test /timeout/weeks-overflow executed in 2.10 secs 1059s ok 4 /timeout/far-future-ready-time 1063s Executing: glib/timeout.test 1068s Executing: glib/timeout.test 1069s ok 5 /timeout/rounding 1069s # slow test /timeout/rounding executed in 10.24 secs 1069s # End of timeout tests 1069s PASS: glib/timeout.test 1069s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2816 1070s autopkgtest [15:49:05]: test timeout: -----------------------] 1070s autopkgtest [15:49:05]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1070s timeout PASS 1071s autopkgtest [15:49:06]: test timer: preparing testbed 1072s Reading package lists... 1072s Building dependency tree... 1072s Reading state information... 1073s Starting pkgProblemResolver with broken count: 0 1073s Starting 2 pkgProblemResolver with broken count: 0 1073s Done 1073s The following NEW packages will be installed: 1073s autopkgtest-satdep 1073s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1073s Need to get 0 B/776 B of archives. 1073s After this operation, 0 B of additional disk space will be used. 1073s Get:1 /tmp/autopkgtest.eF7yjn/16-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 1074s Selecting previously unselected package autopkgtest-satdep. 1074s (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 ... 53162 files and directories currently installed.) 1074s Preparing to unpack .../16-autopkgtest-satdep.deb ... 1074s Unpacking autopkgtest-satdep (0) ... 1074s Setting up autopkgtest-satdep (0) ... 1077s (Reading database ... 53162 files and directories currently installed.) 1077s Removing autopkgtest-satdep (0) ... 1078s autopkgtest [15:49:13]: test timer: [----------------------- 1078s Running test: glib/timer.test 1078s TAP version 13 1078s # random seed: R02Sa77b6b935e7a4811311ad8f9a612a93d 1078s 1..10 1078s # Start of timer tests 1078s ok 1 /timer/basic 1078s ok 2 /timer/stop 1078s ok 3 /timer/continue 1078s ok 4 /timer/reset 1078s ok 5 /timer/is_active 1078s # End of timer tests 1078s # Start of timeval tests 1078s ok 6 /timeval/add 1078s ok 7 /timeval/from-iso8601 1078s ok 8 /timeval/to-iso8601 1078s # Start of to-iso8601 tests 1078s ok 9 /timeval/to-iso8601/overflow 1078s # End of to-iso8601 tests 1078s # End of timeval tests 1078s # Start of usleep tests 1078s ok 10 /usleep/with-zero-wait 1078s # End of usleep tests 1078s PASS: glib/timer.test 1078s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2816 1079s autopkgtest [15:49:14]: test timer: -----------------------] 1079s timer PASS 1079s autopkgtest [15:49:14]: test timer: - - - - - - - - - - results - - - - - - - - - - 1079s autopkgtest [15:49:14]: @@@@@@@@@@@@@@@@@@@@ summary 1079s build PASS (superficial) 1079s build-static PASS (superficial) 1079s installed-tests PASS 1079s closure-refcount PASS 1079s debugcontroller PASS 1079s gdbus-server-auth PASS 1079s gdbus-threading PASS 1079s gmenumodel PASS 1079s mainloop PASS 1079s memory-monitor-dbus PASS 1079s socket PASS 1079s testfilemonitor PASS 1079s thread-pool-slow PASS 1079s threadtests PASS 1079s timeout PASS 1079s timer PASS 1091s Creating nova instance adt-noble-s390x-glib2.0-20240323-153115-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-s390x-server-20240323.img (UUID 15bd59e1-c29b-45d7-aba1-73ff15182fb5)... 1091s Creating nova instance adt-noble-s390x-glib2.0-20240323-153115-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-s390x-server-20240323.img (UUID 15bd59e1-c29b-45d7-aba1-73ff15182fb5)...